]> git.pld-linux.org Git - packages/audiofile.git/blobdiff - audiofile.spec
- fixed Source url.
[packages/audiofile.git] / audiofile.spec
index 0dec147e4b4f74ba0aae3a2c3e2c854c5be1ff4c..489953ecca099df88feda289048631044702aef4 100644 (file)
@@ -1,13 +1,13 @@
 Summary:       Audio File Library - SGI Audio File Library
 Summary(pl):   Biblioteka Audio File - implementacja SGI Audio File Library
 Name:          audiofile
-Version:       0.1.6
-Release:       2
+Version:       0.1.7
+Release:       1
 Copyright:     GPL
 Group:         Applications/Sound
 Group(pl):     Aplikacje/D¼wiêk
-Source:                ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.gz
-URL:           http://www.68k.org./~michael/audiofile/
+Source:                ftp://ftp.68k.org/pub/michael/%{name}-%{version}.tar.gz
+URL:           http://www.68k.org/~michael/audiofile/
 BuildRoot:     /tmp/%{name}-%{version}-root
 Obsoletes:     libaudiofile
 
@@ -27,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
@@ -42,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
@@ -60,10 +60,10 @@ Biblioteki statyczne libaudiofile.
 %setup -q
 
 %build
+autoconf
 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr
-
+./configure %{_target_platform} \
+       --prefix=%{_prefix}
 make
 
 %install
@@ -71,7 +71,7 @@ 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.*.*
 
 gzip -9nf NOTES README TODO
 
@@ -85,60 +85,19 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %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
-
-%changelog
-* Wed Apr 21 1999 Piotr Czerwiñski <pius@pld.org.pl>
-  [0.1.6-2]
-- removed "Conflicts: glibc <= 2.0.7" (not neccessary now),
-- recompiled on rpm 3.
-
-* 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.
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.048335 seconds and 4 git commands to generate.