SPECS: adplug.spec - updated to 2.0 (note: new soname) - added dir...

qboosh qboosh at pld-linux.org
Sun May 28 11:56:24 CEST 2006


Author: qboosh                       Date: Sun May 28 09:56:24 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.0 (note: new soname)
- added dir for system-wide adplugdb database
- added info patch, moved info to -devel, register it

---- Files affected:
SPECS:
   adplug.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/adplug.spec
diff -u SPECS/adplug.spec:1.4 SPECS/adplug.spec:1.5
--- SPECS/adplug.spec:1.4	Thu Feb  9 22:14:43 2006
+++ SPECS/adplug.spec	Sun May 28 11:56:19 2006
@@ -2,15 +2,19 @@
 Summary:	AdLib sound player library
 Summary(pl):	Biblioteka odtwarzacza dźwięku AdLib
 Name:		adplug
-Version:	1.5.1
+Version:	2.0
 Release:	1
 License:	LGPL
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/adplug/%{name}-%{version}.tar.bz2
-# Source0-md5:	95d62805cff551bed84298e737a26df9
+# Source0-md5:	48c1bb7c8618c45596d79767dec2e962
+Patch0:		%{name}-info.patch
 URL:		http://adplug.sourceforge.net/
-BuildRequires:	libbinio-devel >= 1.1
-Requires:	libbinio >= 1.1
+BuildRequires:	libbinio-devel >= 1.4
+BuildRequires:	libstdc++-devel
+BuildRequires:	pkgconfig
+BuildRequires:	texinfo
+Requires:	libbinio >= 1.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,6 +36,7 @@
 Summary(pl):	Pliki nagłówkowe biblioteki AdPlug.
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	libbinio-devel >= 1.4
 
 %description devel
 This is the package containing the header files for AdPlug library.
@@ -53,6 +58,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure 
@@ -64,29 +70,40 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# for system-wide adplugdb database
+install -d $RPM_BUILD_ROOT/var/lib/adplug
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
+%post devel
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun devel
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%{_infodir}/*.info*
-%{_mandir}/man1/*
+%doc AUTHORS BUGS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/adplugdb
+%attr(755,root,root) %{_libdir}/libadplug-*.so.*.*.*
+%{_mandir}/man1/adplugdb.1*
+%dir /var/lib/adplug
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libadplug.so
+%{_libdir}/libadplug.la
 %{_includedir}/%{name}
+%{_pkgconfigdir}/adplug.pc
+%{_infodir}/libadplug.info*
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libadplug.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -94,6 +111,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2006/05/28 09:56:19  qboosh
+- updated to 2.0 (note: new soname)
+- added dir for system-wide adplugdb database
+- added info patch, moved info to -devel, register it
+
 Revision 1.4  2006/02/09 21:14:43  freetz
 - removed bogus TODO/BR
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adplug.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list