1 # $Id: id3lib.spec,v 1.2 2000-06-09 07:22:59 kloczek Exp $
6 Summary: A software library for manipulating ID3v1 and ID3v2 tags.
7 Source0: http://download.sourceforge.net/id3lib/%{name}-%{version}.tar.gz
8 URL: http://id3lib.sourceforge.net
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 This package provides a software library for manipulating ID3v1 and
18 ID3v2 tags. It provides a convenient interface for software developers
19 to include standards-compliant ID3v1/2 tagging capabilities in their
20 applications. Features include identification of valid tags, automatic
21 size conversions, (re)synchronisation of tag frames, seamless tag
22 (de)compression, and optional padding facilities.
25 Summary: Headers for developing programs that will use id3lib
26 Group: Development/Libraries
27 Group(fr): Development/Librairies
28 Group(pl): Programowanie/Biblioteki
32 This package contains the headers that programmers will need to
33 develop applications which will use id3lib, the software library for
34 ID3v1 and ID3v2 tag manipulation.
37 Summary: Documentation for developing programs that will use id3lib
39 Group(pl): Dokumentacja
42 This package contains the documentation of the id3lib API that
43 programmers will need to develop applications which will use id3lib,
44 the software library for ID3v1 and ID3v2 tag manipulation.
47 Summary: Example applications that make use of the id3lib library
48 Group: Applications/File
53 This package contains simple example applications that make use of
54 id3lib, a software library for ID3v1 and ID3v2 tag maniuplation.
76 %ifarch i386 i486 i586 i686 k6
78 RPM_OPT_FLAGS="-O3 -fomit-frame-pointer -pipe -s -mcpu=$ID3_ARCH -march=$ID3_ARCH -ffast-math -fexpensive-optimizations -malign-loops=2 -malign-jumps=2 -malign-functions=2 -mpreferred-stack-boundary=2"
82 CXXFLAGS="$RPM_OPT_FLAGS -fexceptions" %configure
86 uname -a|grep SMP && make -j 2 || make
91 rm -rf $RPM_BUILD_ROOT
95 %{__make} DESTDIR=$RPM_BUILD_ROOT install
101 # strip down the doc and examples directories so we can copy w/impunity
102 for i in doc/ examples/; do \
104 \( -name 'Makefile*' -or \
105 -name '*.ps.gz' -or \
107 \) -exec rm {} \; ; done
111 gzip -9nf AUTHORS ChangeLog HISTORY NEWS README THANKS TODO
115 rm -rf $RPM_BUILD_ROOT
117 %post -p /sbin/ldconfig
119 %postun -p /sbin/ldconfig
124 %defattr(644,root,root,755)
125 %doc {AUTHORS,ChangeLog,HISTORY,NEWS,README,THANKS,TODO}.gz
129 %defattr(644,root,root,755)
130 %{_includedir}/id3*.h
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_bindir}/id3*
143 %defattr(644,root,root,755)
144 %doc AUTHORS COPYING ChangeLog HISTORY NEWS README THANKS TODO
145 %doc doc/*.* doc/api examples