summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2010-09-30 11:07:48 -0700
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2010-09-30 11:07:48 -0700
commit4c5177583cb86e061421d9c7d7d33319d1e0dce0 (patch)
tree375aa9cab4b39a009eb650a4636fde44bc816084
parent89d95ff4208c146630c008f774797e7764fd6a37 (diff)
rpm: commit spec file
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
-rw-r--r--Makefile.in11
-rwxr-xr-xconfigure4
-rw-r--r--configure.in2
-rw-r--r--wimax-tools.spec.in129
-rw-r--r--wimax-tools.yaml.in36
5 files changed, 178 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 42e09ec..2dd9fc7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -40,6 +40,7 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/libwimaxll-0.pc.in \
$(srcdir)/libwimaxll-i2400m-0-uninstalled.pc.in \
$(srcdir)/libwimaxll-i2400m-0.pc.in \
+ $(srcdir)/wimax-tools.spec.in $(srcdir)/wimax-tools.yaml.in \
$(srcdir)/wimaxll-cmd-0.pc.in $(top_srcdir)/configure INSTALL \
config.guess config.sub depcomp install-sh ltmain.sh missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -50,9 +51,9 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/include/config.h
-CONFIG_CLEAN_FILES = libwimaxll-0.pc libwimaxll-0-uninstalled.pc \
- libwimaxll-i2400m-0.pc libwimaxll-i2400m-0-uninstalled.pc \
- wimaxll-cmd-0.pc
+CONFIG_CLEAN_FILES = wimax-tools.spec wimax-tools.yaml libwimaxll-0.pc \
+ libwimaxll-0-uninstalled.pc libwimaxll-i2400m-0.pc \
+ libwimaxll-i2400m-0-uninstalled.pc wimaxll-cmd-0.pc
CONFIG_CLEAN_VPATH_FILES =
SOURCES =
DIST_SOURCES =
@@ -294,6 +295,10 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):
+wimax-tools.spec: $(top_builddir)/config.status $(srcdir)/wimax-tools.spec.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+wimax-tools.yaml: $(top_builddir)/config.status $(srcdir)/wimax-tools.yaml.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
libwimaxll-0.pc: $(top_builddir)/config.status $(srcdir)/libwimaxll-0.pc.in
cd $(top_builddir) && $(SHELL) ./config.status $@
libwimaxll-0-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/libwimaxll-0-uninstalled.pc.in
diff --git a/configure b/configure
index 19cddc0..7f498ed 100755
--- a/configure
+++ b/configure
@@ -11870,7 +11870,7 @@ fi
-ac_config_files="$ac_config_files Makefile doc/Makefile doc/doxygen.conf libwimaxll-0.pc libwimaxll-0-uninstalled.pc libwimaxll-i2400m-0.pc libwimaxll-i2400m-0-uninstalled.pc wimaxll-cmd-0.pc bin/Makefile bin/wimax-tools-version include/Makefile include/wimaxll-version.h include/wimaxll/Makefile include/wimaxll/version.h lib/Makefile src/Makefile"
+ac_config_files="$ac_config_files Makefile wimax-tools.spec wimax-tools.yaml doc/Makefile doc/doxygen.conf libwimaxll-0.pc libwimaxll-0-uninstalled.pc libwimaxll-i2400m-0.pc libwimaxll-i2400m-0-uninstalled.pc wimaxll-cmd-0.pc bin/Makefile bin/wimax-tools-version include/Makefile include/wimaxll-version.h include/wimaxll/Makefile include/wimaxll/version.h lib/Makefile src/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -12772,6 +12772,8 @@ do
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "wimax-tools.spec") CONFIG_FILES="$CONFIG_FILES wimax-tools.spec" ;;
+ "wimax-tools.yaml") CONFIG_FILES="$CONFIG_FILES wimax-tools.yaml" ;;
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
"doc/doxygen.conf") CONFIG_FILES="$CONFIG_FILES doc/doxygen.conf" ;;
"libwimaxll-0.pc") CONFIG_FILES="$CONFIG_FILES libwimaxll-0.pc" ;;
diff --git a/configure.in b/configure.in
index 7494db6..1c93f01 100644
--- a/configure.in
+++ b/configure.in
@@ -138,6 +138,8 @@ AC_SUBST(GLIB_LIBS)
AC_OUTPUT(Makefile
+ wimax-tools.spec
+ wimax-tools.yaml
doc/Makefile
doc/doxygen.conf
libwimaxll-0.pc
diff --git a/wimax-tools.spec.in b/wimax-tools.spec.in
new file mode 100644
index 0000000..e07493c
--- /dev/null
+++ b/wimax-tools.spec.in
@@ -0,0 +1,129 @@
+#
+# Do not Edit! Generated by:
+# spectacle version 0.16
+#
+# >> macros
+# << macros
+%define keepstatic 1
+
+Name: wimax-tools
+Summary: WiMAX Low Level Tools
+Version: @PACKAGE_VERSION@
+Release: 1
+Group: Applications/System
+License: BSD
+URL: http://linuxwimax.org
+Source0: wimax-tools-%{version}.tar.gz
+Source100: wimax-tools.yaml
+BuildRequires: pkgconfig(libnl-1)
+BuildRequires: pkgconfig(glib-2.0)
+
+%description
+Tools for diagnosing and testing WiMAX connectivity.
+These tools work at a very low level using the Linux kernel's WiMAX
+stack.
+This package does not provide high level connectivity support, but
+packages that do so might depend on it.
+
+
+
+%package lib
+Summary: Runtime libraries for WiMAX Low Level Tools
+Group: System/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description lib
+Runtime libraries for the WiMAX Low Level Tools.
+Other applications use these libraries to gain access to the WiMAX
+kernel stack.
+
+
+%package devel
+Summary: Development files for WiMAX Low Level Tools
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development support for the WiMAX Low Level Tools.
+This package provides the header files and libraries needed to compile
+programs that will use the runtime libraries provided by the WiMAX Low
+Level Tools.
+
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
+
+%build
+# >> build pre
+# << build pre
+
+%configure
+make %{?jobs:-j%jobs}
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install
+rm -f %{buildroot}/%{_libdir}/wimax-tools/plugins/wimaxll-pl-*.a
+rm -f %{buildroot}/%{_libdir}/wimax-tools/plugins/wimaxll-pl-*.la
+rm -f %{buildroot}/%{_libdir}/*.la
+# >> install post
+# << install post
+
+
+
+
+
+
+
+%post lib -p /sbin/ldconfig
+
+%postun lib -p /sbin/ldconfig
+
+
+
+
+%files
+%defattr(-,root,root,-)
+# >> files
+%{_bindir}/wimaxll-wait-for-state-change
+%{_bindir}/wimaxll-rfkill
+%{_bindir}/wimaxll-reset
+%{_bindir}/wimaxll
+%{_bindir}/wimax-tools-version
+%{_libdir}/wimax-tools/plugins/wimaxll-pl-*.so
+# << files
+
+
+%files lib
+%defattr(-,root,root,-)
+# >> files lib
+%{_libdir}/libwimaxll.so.*
+%{_libdir}/libwimaxll-i2400m.so.*
+# << files lib
+
+%files devel
+%defattr(-,root,root,-)
+# >> files devel
+%{_includedir}/wimaxll/*
+%{_includedir}/wimaxll.h
+%{_includedir}/wimaxll-version.h
+%{_libdir}/libwimaxll.so
+%{_libdir}/libwimaxll.a
+%{_libdir}/libwimaxll-i2400m.so
+%{_libdir}/libwimaxll-i2400m.a
+%{_libdir}/pkgconfig/libwimaxll-0.pc
+%{_libdir}/pkgconfig/libwimaxll-i2400m-0.pc
+%{_libdir}/pkgconfig/wimaxll-cmd-0.pc
+%{_libdir}/wimax-tools/test
+# << files devel
+
diff --git a/wimax-tools.yaml.in b/wimax-tools.yaml.in
new file mode 100644
index 0000000..29ca65f
--- /dev/null
+++ b/wimax-tools.yaml.in
@@ -0,0 +1,36 @@
+Name: wimax-tools
+Summary: WiMAX Low Level Tools
+Version: @PACKAGE_VERSION@
+Release: 1
+Group: Applications/System
+License: BSD
+URL: http://linuxwimax.org
+Sources:
+ - wimax-tools-%{version}.tar.gz
+Description: |
+ Tools for diagnosing and testing WiMAX connectivity.
+ These tools work at a very low level using the Linux kernel's WiMAX
+ stack.
+ This package does not provide high level connectivity support, but
+ packages that do so might depend on it.
+
+PkgConfigBR:
+ - libnl-1
+ - glib-2.0
+SubPackages:
+ - Name: lib
+ Summary: Runtime libraries for WiMAX Low Level Tools
+ Group: System/Libraries
+ Description: |
+ Runtime libraries for the WiMAX Low Level Tools.
+ Other applications use these libraries to gain access to the WiMAX
+ kernel stack.
+
+ - Name: devel
+ Summary: Development files for WiMAX Low Level Tools
+ Group: Development/Libraries
+ Description: |
+ Development support for the WiMAX Low Level Tools.
+ This package provides the header files and libraries needed to compile
+ programs that will use the runtime libraries provided by the WiMAX Low
+ Level Tools.