]> git.pld-linux.org Git - packages/audiofile.git/blobdiff - audiofile.spec
- removed bogus lines.
[packages/audiofile.git] / audiofile.spec
index 2b266efe1c36e0e3d1454dcb2f3d646c44ffc09a..bf4bbc65a65170079c0a3f8014b52c1cde86caa6 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       Audio File Library - SGI Audio File Library
 Summary(pl):   Biblioteka Audio File - implementacja SGI Audio File Library
 Name:          audiofile
-Version:       0.1.6
+Version:       0.1.7
 Release:       1
 Copyright:     GPL
 Group:         Applications/Sound
@@ -10,7 +10,6 @@ Source:               ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.gz
 URL:           http://www.68k.org./~michael/audiofile/
 BuildRoot:     /tmp/%{name}-%{version}-root
 Obsoletes:     libaudiofile
-Conflicts:     glibc <= 2.0.7
 
 %description
 This Audio File Library is an implementation of the SGI Audio File library. 
@@ -28,7 +27,7 @@ Biblioteka Audio File jest implementacj
 Przy jej pomocy mo¿na przetwarzaæ d¼wiêki w ró¿nych formatach (AIFF, AIFC,
 WAVE i NeXT/Sun).
 
-%package       devel
+%package devel
 Summary:       Header files and others to develop Audio File applications
 Summary(pl):   Pliki nag³ówkowe i inne potrzebe do Audio File
 Group:         Development/Libraries
@@ -43,7 +42,7 @@ Header files and others to develop Audio File applications.
 Pliki nag³ówków do Audio File'a, czyli to czego potrzebujesz do tworzenia
 aplikacji pod Audio File'm.
 
-%package       static
+%package static
 Summary:       Static libaudiofile libraries
 Summary(pl):   Biblioteka statyczne libaudiofile
 Group:         Development/Libraries
@@ -55,16 +54,16 @@ Obsoletes:  libaudiofile-static
 Static libaudiofile libraries
 
 %description -l pl devel
-Biblioteka statyczne libaudiofile.
+Biblioteki statyczne libaudiofile.
 
 %prep
 %setup -q
 
 %build
+autoconf
 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr
-
+./configure %{_target_platform} \
+       --prefix=%{_prefix}
 make
 
 %install
@@ -72,9 +71,9 @@ rm -rf $RPM_BUILD_ROOT
 
 make install DESTDIR=$RPM_BUILD_ROOT
 
-strip $RPM_BUILD_ROOT/usr/lib/lib*.so.*.*
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
 
-bzip2 -9 NOTES README TODO
+gzip -9nf NOTES README TODO
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -84,57 +83,28 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc NOTES.bz2 README.bz2 TODO.bz2
+%doc {NOTES,README,TODO}.gz
 
-%attr(755,root,root) /usr/bin/sfconvert
-%attr(755,root,root) /usr/bin/sfinfo
-%attr(755,root,root) /usr/lib/lib*.so.*
+%attr(755,root,root) %{_bindir}/sfconvert
+%attr(755,root,root) %{_bindir}/sfinfo
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
 
-%attr(755,root,root) /usr/bin/audiofile-config
-%attr(755,root,root) /usr/lib/lib*.so
+%attr(755,root,root) %{_bindir}/audiofile-config
+%attr(755,root,root) %{_libdir}/lib*.so
 
-/usr/include/*
-/usr/share/aclocal/audiofile.m4
+%{_includedir}/*
+%{_datadir}/aclocal/audiofile.m4
 
 %files static
-%attr(644,root,root) /usr/lib/lib*.a
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
 
 %changelog
-* Wed Mar 10 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.1.6-1]
-- back to old name .. audiofile.
-
-* Fri Feb 26 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.1.5-3]
-- added "Conflicts: glibc <= 2.0.7" for prevent install
-  with proper version glibc,
-- changed Group in devel and static.
-
-* Mon Jan 04 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.1.5-1d]
-- changed package name to libaudiofile (audiofile added to Obsoletes),
-- added striping shared libraries,
-- audiofile-config to devel,
-- enhanced main %description,
-- added static subpackage,
-- new %insatall and %build (libaudiofile have new autoconf scheme).
-
-* Sun Sep 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.1.3-2]
-- added -q %setup parameter,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- changed install prefix from /usr/local to /usr.
-- changeded dependences to "Requires: %%{name} = %%{version}" in devel
-  subpackage,
-- added using $RPM_OPT_FLAGS during compile,
-- added full %attr description in %files,
-- simplifications in %install.
-
-* Tue Aug 11 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [0.1.3-1]
-- first try at an RPM,
-- build against GNU libc-2.1.
+* Mon May 31 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [0.1.7-1]
+- based on RH spec,
+- spec rewrited by PLD team,
+- pl translation Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.
This page took 0.097806 seconds and 4 git commands to generate.