106 lines
2.4 KiB
RPMSpec
106 lines
2.4 KiB
RPMSpec
Name: taglib
|
|
Version: 1.1
|
|
Release: 0.fdr.5.2
|
|
Epoch: 0
|
|
Summary: Audio Meta-Data Library
|
|
|
|
Group: System Environment/Libraries
|
|
License: LGPL
|
|
URL: http://ktown.kde.org/~wheeler/taglib/
|
|
Source: http://developer.kde.org/~wheeler/files/src/taglib-1.1.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires(post): /sbin/ldconfig
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
BuildRequires: doxygen, graphviz
|
|
|
|
%description
|
|
TagLib is a library for reading and editing the meta-data of several
|
|
popular audio formats. Currently it supports both ID3v1 and ID3v2 for
|
|
MP3 files, Ogg Vorbis comments and ID3 tags and Vorbis comments in
|
|
FLAC files.
|
|
|
|
%package devel
|
|
Summary: Development tools for taglib
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
%description devel
|
|
Development tools for taglib
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
make doc
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
rm -fr examples/.deps
|
|
rm -fr examples/Makefile*
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/*-config
|
|
%{_includedir}/*
|
|
%{_libdir}/lib*.so
|
|
#%{_libdir}/lib*.la
|
|
%doc taglib-api/html
|
|
%doc examples
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%changelog
|
|
* Sun Jun 06 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.1-0.fdr.5
|
|
- Changed license to LGPL
|
|
- include examples only in -devel
|
|
- remove Makefile* from examples
|
|
- remove *.la files
|
|
|
|
* Fri Jun 04 2004 Mihai Maties <mihai[AT]xcyb.org> 0:1.1-0.fdr.4
|
|
- included .la files as well
|
|
- compiled doc and included in -devel
|
|
- included examples in -devel
|
|
|
|
* Thu Jun 03 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.1-0.fdr.3
|
|
- provide the libtool files in the -devel subpackage
|
|
- include exemples in doc
|
|
|
|
* Thu Jun 03 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.1-0.fdr.2
|
|
- remove empty README
|
|
- add Requires(post,postun): /sbin/ldconfig
|
|
- remove --disable-static, it was useless anyway
|
|
|
|
* Tue Jun 01 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.1-0.fdr.1
|
|
- Fedora submission (shamelessly borrowed from Rex -- kde-redhat.sf.net)
|
|
|
|
* Sun Apr 04 2004 Rex Dieter <rexdieter at sf.net> 0:1.1-0.fdr.1
|
|
- 1.1
|
|
|
|
* Thu Feb 12 2004 Rex Dieter <rexdieter at sf.net> 0:1.0-0.fdr.1
|
|
- fix for rh73
|
|
|
|
* Fri Feb 06 2004 Rex Dieter <rexdieter at sf.net> 0:1.0-0.fdr.0
|
|
- first try
|