SPECS (DEVEL): gucharmap.spec - libs subpkg, rel.2

freetz freetz at pld-linux.org
Mon Mar 27 19:26:24 CEST 2006


Author: freetz                       Date: Mon Mar 27 17:26:24 2006 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- libs subpkg, rel.2

---- Files affected:
SPECS:
   gucharmap.spec (1.35.2.4 -> 1.35.2.5) 

---- Diffs:

================================================================
Index: SPECS/gucharmap.spec
diff -u SPECS/gucharmap.spec:1.35.2.4 SPECS/gucharmap.spec:1.35.2.5
--- SPECS/gucharmap.spec:1.35.2.4	Mon Mar 13 09:13:12 2006
+++ SPECS/gucharmap.spec	Mon Mar 27 19:26:19 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Mapa znaków unikodowych
 Name:		gucharmap
 Version:	1.6.0
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/gnome/sources/gucharmap/1.6/%{name}-%{version}.tar.bz2
@@ -24,6 +24,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.197
 BuildRequires:	scrollkeeper
 Requires(post,postun):	scrollkeeper
+Requires:	%{name}-libs = %{version}-%{release}
 Requires:	hicolor-icon-theme
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,11 +34,22 @@
 %description -l pl
 Gucharmap jest wartościową mapą znaków unikodowych.
 
+%package libs
+Summary:	gucharmap library
+Summary(pl):	Biblioteka gucharmap
+Group:		Development/Libraries
+
+%description libs
+This package contains gucharmap library.
+
+%description libs -l pl
+Pakiet ten zawiera bibliotek^Y gucharmap.
+
 %package devel
 Summary:	Headers for gucharmap
 Summary(pl):	Pliki nagłówkowe gucharmap
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-devel = %{version}-%{release}
 Requires:	gtk+2-devel >= 2:2.6.3
 Requires:	libgnomeui-devel >= 2.10.0-2
 Requires:	pango-devel >= 1:1.8.0
@@ -92,21 +104,25 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
 %scrollkeeper_update_post
 
 %postun
-/sbin/ldconfig
 %scrollkeeper_update_postun
 
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*charmap
-%attr(755,root,root) %{_libdir}/*.so.*.*.*
 %{_desktopdir}/*
 %{_iconsdir}/hicolor/*/apps/*
 %{_omf_dest_dir}/*
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so.*.*.*
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/*.so
@@ -124,6 +140,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35.2.5  2006/03/27 17:26:19  freetz
+- libs subpkg, rel.2
+
 Revision 1.35.2.4  2006/03/13 08:13:12  freetz
 - 1.6.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gucharmap.spec?r1=1.35.2.4&r2=1.35.2.5&f=u



More information about the pld-cvs-commit mailing list