SPECS: jasper.spec - -libs split

glen glen at pld-linux.org
Tue Nov 1 22:46:56 CET 2005


Author: glen                         Date: Tue Nov  1 21:46:56 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -libs split

---- Files affected:
SPECS:
   jasper.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/jasper.spec
diff -u SPECS/jasper.spec:1.26 SPECS/jasper.spec:1.27
--- SPECS/jasper.spec:1.26	Wed May  4 12:25:35 2005
+++ SPECS/jasper.spec	Tue Nov  1 22:46:50 2005
@@ -3,7 +3,8 @@
 Summary(pl):	JasPer - zestaw oprogramowania do obróbki obrazków
 Name:		jasper
 Version:	1.701.0
-Release:	2
+Release:	2.3
+Epoch:		0
 License:	BSD-like
 Group:		Libraries
 Source0:	http://www.ece.uvic.ca/~mdadams/jasper/software/%{name}-%{version}.zip
@@ -15,6 +16,7 @@
 BuildRequires:	libjpeg-devel
 BuildRequires:	libtool
 BuildRequires:	unzip
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -34,7 +36,7 @@
 Summary:	JasPer - header files
 Summary(pl):	JasPer - pliki nagłówkowe
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 Requires:	libjpeg-devel
 
 %description devel
@@ -43,11 +45,18 @@
 %description devel -l pl
 Pliki nagłówkowe potrzebne do konsolidacji z libjasper.
 
+%package libs
+Summary:	JasPer library
+Group:		Libraries
+
+%description libs
+JasPer library.
+
 %package static
 Summary:	JasPer - static library
 Summary(pl):	JasPer - biblioteka statyczna
 Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
 
 %description static
 Static version of libjasper.
@@ -59,7 +68,7 @@
 Summary:	JasPer Image Viewer
 Summary(pl):	Przeglądarka obrazków JasPer
 Group:		X11/Applications/Graphics
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name} = %{epoch}:%{version}-%{release}
 
 %description jiv
 Simple JasPer Image Viewer. Basic pan and zoom functionality is
@@ -104,15 +113,14 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc LICENSE NEWS README doc/jasper*
 %attr(755,root,root) %{_bindir}/img*
 %attr(755,root,root) %{_bindir}/jasper
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
@@ -120,6 +128,10 @@
 %{_libdir}/lib*.la
 %{_includedir}/jasper
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
@@ -134,6 +146,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2005/11/01 21:46:50  glen
+- -libs split
+
 Revision 1.26  2005/05/04 10:25:35  pluto
 - release 2 for Th.
 
@@ -176,7 +191,7 @@
 - release 2
 
 Revision 1.13  2003/03/22 18:20:58  djurban
-- fixed %%files
+- fixed %files
 
 Revision 1.12  2003/03/02 00:50:36  radek
 - version 1.700.2
@@ -192,12 +207,12 @@
 - changed URL
 
 Revision 1.8  2002/05/21 23:13:38  kloczek
-perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
+- perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
              s/^automake -a -c -f/\%\{__automake\}/; \
-	     s/^autoconf/\%\{__autoconf\}/"
+  	     s/^autoconf/\%\{__autoconf\}/"
 
 Revision 1.7  2002/04/25 16:38:40  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.6  2002/02/22 23:29:05  kloczek
 - removed all Group fields translations (our rpm now can handle translating
@@ -210,7 +225,7 @@
 - added Group(es/pt_BR/ru/uk)
 
 Revision 1.3  2002/01/18 02:13:23  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.2  2001/08/06 16:34:02  qboosh
 - BuildRequires: unzip
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/jasper.spec?r1=1.26&r2=1.27&f=u




More information about the pld-cvs-commit mailing list