]> git.pld-linux.org Git - packages/audiofile.git/blob - audiofile.spec
s/%{_target}/%{_target_platform}/
[packages/audiofile.git] / audiofile.spec
1 Summary:        Audio File Library - SGI Audio File Library
2 Summary(pl):    Biblioteka Audio File - implementacja SGI Audio File Library
3 Name:           audiofile
4 Version:        0.1.7
5 Release:        1
6 Copyright:      GPL
7 Group:          Applications/Sound
8 Group(pl):      Aplikacje/D¼wiêk
9 Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.gz
10 URL:            http://www.68k.org./~michael/audiofile/
11 BuildRoot:      /tmp/%{name}-%{version}-root
12 Obsoletes:      libaudiofile
13
14 %description
15 This Audio File Library is an implementation of the SGI Audio File library. 
16 Since the latter is specified ambiguously in places, I've taken some
17 liberties in interpreting certain such ambiguities. At the present, not all
18 features of the SGI Audio File library are implemented. I feel, though,
19 that this implementation of the Audio File Library offers enough
20 functionality to be useful for general tasks.
21
22 This library allows the processing of audio data to and from audio files of
23 many common formats (currently AIFF, AIFC, WAVE, and NeXT/Sun).
24
25 %description -l pl
26 Biblioteka Audio File jest implementacj± biblioteki SGI Audio File.
27 Przy jej pomocy mo¿na przetwarzaæ d¼wiêki w ró¿nych formatach (AIFF, AIFC,
28 WAVE i NeXT/Sun).
29
30 %package devel
31 Summary:        Header files and others to develop Audio File applications
32 Summary(pl):    Pliki nag³ówkowe i inne potrzebe do Audio File
33 Group:          Development/Libraries
34 Group(pl):      Programowanie/Biblioteki
35 Requires:       %{name} = %{version}
36 Obsoletes:      libaudiofile-devel
37
38 %description devel
39 Header files and others to develop Audio File applications.
40
41 %description -l pl devel
42 Pliki nag³ówków do Audio File'a, czyli to czego potrzebujesz do tworzenia
43 aplikacji pod Audio File'm.
44
45 %package static
46 Summary:        Static libaudiofile libraries
47 Summary(pl):    Biblioteka statyczne libaudiofile
48 Group:          Development/Libraries
49 Group(pl):      Programowanie/Biblioteki
50 Requires:       %{name}-devel = %{version}
51 Obsoletes:      libaudiofile-static
52
53 %description static
54 Static libaudiofile libraries
55
56 %description -l pl devel
57 Biblioteki statyczne libaudiofile.
58
59 %prep
60 %setup -q
61
62 %build
63 autoconf
64 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
65 <<<<<<< audiofile.spec
66 ./configure %{_target_platform} \
67         --prefix=/usr
68 =======
69 ./configure %{_target_platform} \
70         --prefix=%{_prefix}
71 >>>>>>> 1.13
72 make
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 make install DESTDIR=$RPM_BUILD_ROOT
78
79 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
80
81 gzip -9nf NOTES README TODO
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files
90 %defattr(644,root,root,755)
91 %doc {NOTES,README,TODO}.gz
92
93 %attr(755,root,root) %{_bindir}/sfconvert
94 %attr(755,root,root) %{_bindir}/sfinfo
95 %attr(755,root,root) %{_libdir}/lib*.so.*.*
96
97 %files devel
98 %defattr(644,root,root,755)
99
100 %attr(755,root,root) %{_bindir}/audiofile-config
101 %attr(755,root,root) %{_libdir}/lib*.so
102
103 %{_includedir}/*
104 %{_datadir}/aclocal/audiofile.m4
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/lib*.a
109
110 %changelog
111 * Mon May 31 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
112   [0.1.7-1]
113 - based on RH spec,
114 - spec rewrited by PLD team,
115 - pl translation Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.
This page took 0.045808 seconds and 3 git commands to generate.