SPECS: NetworkManager.spec - separate -libs for building related apps

Elan Ruusamäe glen at delfi.ee
Tue Aug 29 18:37:28 CEST 2006


please include Conflicts: main-package to -libs package before package split 
(like pam.spec, etc have been done)

On Tuesday 29 August 2006 16:38, you wrote:
> Author: patrys                       Date: Tue Aug 29 13:38:08 2006 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - separate -libs for building related apps
>
> ---- Files affected:
> SPECS:
>    NetworkManager.spec (1.21 -> 1.22)
>
> ---- Diffs:
>
> ================================================================
> Index: SPECS/NetworkManager.spec
> diff -u SPECS/NetworkManager.spec:1.21 SPECS/NetworkManager.spec:1.22
> --- SPECS/NetworkManager.spec:1.21	Wed Aug 23 21:17:00 2006
> +++ SPECS/NetworkManager.spec	Tue Aug 29 15:38:03 2006
> @@ -31,6 +31,7 @@
>  BuildRequires:	rpmbuild(macros) >= 1.268
>  Requires(post):	/sbin/ldconfig
>  Requires(post,preun):	/sbin/chkconfig
> +Requires:	%{name}-libs = %{version}-%{release}
>  Requires:	dhcdbd
>  Requires:	rc-scripts
>  Requires:	wpa_supplicant
> @@ -46,7 +47,7 @@
>  Summary:	Network Manager includes and more
>  Summary(pl):	Pliki nagłówkowe Network Managera
>  Group:		X11/Development/Libraries
> -Requires:	%{name} = %{version}-%{release}
> +Requires:	%{name}-libs = %{version}-%{release}
>  Requires:	dbus-glib-devel >= 0.60
>  Requires:	libgcrypt-devel
>
> @@ -56,6 +57,17 @@
>  %description devel -l pl
>  Pliki nagłówkowe Network Manager.
>
> +%package libs
> +Summary:	Network Manager shared libraries
> +Summary(pl):	Biblioteki dzielone Network Managera
> +Group:		X11/Libraries
> +
> +%description libs
> +Network Manager shared libraries
> +
> +%description libs -l pl
> +Biblioteki dzielone Network Managera
> +
>  %package static
>  Summary:	Network Manager static libraries
>  Summary(pl):	Statyczne biblioteki Network Managera
> @@ -96,7 +108,6 @@
>  rm -rf $RPM_BUILD_ROOT
>
>  %post
> -/sbin/ldconfig
>  %gconf_schema_install
>  /sbin/chkconfig --add NetworkManager
>  %service NetworkManager restart "NetworkManager daemon"
> @@ -107,7 +118,8 @@
>  	/sbin/chkconfig --del NetworkManager
>  fi
>
> -%postun -p /sbin/ldconfig
> +%post	libs -p /sbin/ldconfig
> +%postun	libs -p /sbin/ldconfig
>
>  %files -f %{name}.lang
>  %defattr(644,root,root,755)
> @@ -116,7 +128,6 @@
>  %attr(755,root,root) %{_sbindir}/*
>  %attr(755,root,root) %{_datadir}/nm-applet
>  %attr(755,root,root) %{_datadir}/gnome-vpn-properties
> -%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
>  %attr(755,root,root) %{_libdir}/nm-crash-logger
>  %attr(754,root,root) /etc/rc.d/init.d/NetworkManager
>  %dir %{_datadir}/%{name}
> @@ -138,6 +149,10 @@
>  %{_pkgconfigdir}/libnm-util.pc
>  %{_pkgconfigdir}/libnm_glib.pc
>
> +%files libs
> +%defattr(644,root,root,755)
> +%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
> +
>  %files static
>  %defattr(644,root,root,755)
>  %{_libdir}/libnm-util.a
> @@ -149,6 +164,9 @@
>  All persons listed below can be reached at <cvs_login>@pld-linux.org
>
>  $Log$
> +Revision 1.22  2006/08/29 13:38:03  patrys
> +- separate -libs for building related apps
> +
>  Revision 1.21  2006/08/23 19:17:00  patrys
>  - up to 0.6.4
>
> ================================================================
>
> ---- CVS-web:
>     http://cvs.pld-linux.org/SPECS/NetworkManager.spec?r1=1.21&r2=1.22&f=u
>
> _______________________________________________
> pld-cvs-commit mailing list
> pld-cvs-commit at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

-- 
glen


More information about the pld-devel-en mailing list