SPECS: NetworkManager.spec - separated -devel and -static subpacka...

piti piti at pld-linux.org
Sun Jul 16 22:28:39 CEST 2006


Author: piti                         Date: Sun Jul 16 20:28:39 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separated -devel and -static subpackages. Thanks to OJO.

---- Files affected:
SPECS:
   NetworkManager.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/NetworkManager.spec
diff -u SPECS/NetworkManager.spec:1.17 SPECS/NetworkManager.spec:1.18
--- SPECS/NetworkManager.spec:1.17	Tue May 30 01:08:02 2006
+++ SPECS/NetworkManager.spec	Sun Jul 16 22:28:33 2006
@@ -2,6 +2,7 @@
 # TODO:
 # - add a working(!) pld backend...
 # - many files are not packaged (including init.d)
+# - add requires for devel (if any)
 #
 Summary:	Network Manager for GNOME
 Summary(pl):	Zarządca sieci dla GNOME
@@ -16,9 +17,9 @@
 Patch0:		%{name}-pld.patch
 BuildRequires:	GConf2-devel >= 2.0
 BuildRequires:	dbus-glib-devel >= 0.60
-BuildRequires:	gtk+2-devel >= 2.0
 BuildRequires:	gnome-keyring-devel
 BuildRequires:	gnome-panel-devel >= 2.0
+BuildRequires:	gtk+2-devel >= 2.0
 BuildRequires:	hal-devel >= 0.5.2
 BuildRequires:	libgcrypt-devel
 BuildRequires:	libglade2-devel >= 2.0
@@ -40,6 +41,28 @@
 %description -l pl
 Zarządca sieci dla GNOME.
 
+%package devel
+Summary:	Network Manager includes and more
+Summary(pl):	Pliki nagłówkowe Network Managera
+Group:		X11/Development/Libraries
+
+%description devel
+Network Manager includes and more
+
+%description devel -l pl
+Pliki nagłówkowe Network Manager
+
+%package static
+Summary:	Network Manager static libraries
+Summary(pl):	Statyczne biblioteki Network Managera
+Group:		X11/Development/Libraries
+
+%description static
+Network Manager static libraries
+
+%description static -l pl
+Statyczne biblioteki Network Managera
+
 %prep
 %setup -q
 %patch0 -p1
@@ -48,8 +71,8 @@
 autoreconf
 %configure \
 	--with-distro=pld \
-	--with-dhcdbd=/usr/sbin/dhcdbd \
-	--with-wpa_supplicant=/usr/sbin/wpa_supplicant
+--with-dhcdbd=%{_sbindir}/dhcdbd \
+--with-wpa_supplicant=%{_sbindir}/wpa_supplicant
 %{__make}
 
 %install
@@ -98,8 +121,8 @@
 %{_sysconfdir}/dbus-1/system.d/*
 %{_iconsdir}/*/*/apps/*.png
 
-%if 0
-# -devel?
+%files devel
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libnm-util.so
 %attr(755,root,root) %{_libdir}/libnm_glib.so
 %{_libdir}/libnm-util.la
@@ -109,10 +132,10 @@
 %{_pkgconfigdir}/libnm-util.pc
 %{_pkgconfigdir}/libnm_glib.pc
 
-# -static?
+%files static
+%defattr(644,root,root,755)
 %{_libdir}/libnm-util.a
 %{_libdir}/libnm_glib.a
-%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -120,6 +143,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2006/07/16 20:28:33  piti
+- separated -devel and -static subpackages. Thanks to OJO.
+
 Revision 1.17  2006/05/29 23:08:02  patrys
 - actually make it work
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/NetworkManager.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list