taglib/taglib.spec

185 lines
4.9 KiB
RPMSpec
Raw Normal View History

2008-01-02 13:29:13 +00:00
# cvsadmin: http://bugzilla.redhat.com/418271
2008-02-04 15:16:57 +00:00
#define svn 20080116
#define beta %{svn}svn
%define beta b1
2007-09-24 13:36:35 +00:00
Name: taglib
2007-09-24 13:36:35 +00:00
Version: 1.5
2008-02-04 15:16:57 +00:00
Release: 0.8.%{?beta}%{?dist}
Summary: Audio Meta-Data Library
Group: System Environment/Libraries
License: LGPLv2
URL: http://ktown.kde.org/~wheeler/taglib/
2008-02-04 15:16:57 +00:00
Source0: http://developer.kde.org/~wheeler/files/src/taglib-1.5b1.tar.gz
#Source0: taglib-%{svn}.tar.gz
# The svn tarball is generated with the following script
2007-09-24 13:36:35 +00:00
Source1: taglib-svn.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2008-02-04 15:16:57 +00:00
# what is this for? why not upstreamed, yet? -- Rex
Patch0: http://foetida.jaist.ac.jp:37565/~yaz/diary/2006/07/taglib-1.4_wchar.diff
# http://bugzilla.redhat.com/343241
2008-02-04 15:16:57 +00:00
Patch1: taglib-1.5b1-multilib.patch
BuildRequires: cmake
2007-09-27 20:25:47 +00:00
BuildRequires: zlib-devel
2007-09-24 14:01:05 +00:00
%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
2007-11-12 02:52:34 +00:00
Summary: Development tools for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
2007-11-12 02:52:34 +00:00
%{summary}.
%prep
2008-02-04 15:16:57 +00:00
%setup -q -n taglib-%{version}%{?beta}
2006-12-18 22:19:13 +00:00
%patch0 -p1 -b .wchar
%patch1 -p1 -b .multilib
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
2007-09-24 13:36:35 +00:00
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
rm -fr examples/.deps
rm -fr examples/Makefile*
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
2005-08-01 18:54:16 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
2007-11-12 02:52:34 +00:00
%doc AUTHORS COPYING.LGPL
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
2007-09-24 13:36:35 +00:00
%doc examples
%{_bindir}/*-config
%{_includedir}/*
%{_libdir}/lib*.so
2005-08-01 18:54:16 +00:00
%{_libdir}/pkgconfig/*.pc
%changelog
2008-02-04 15:16:57 +00:00
* Mon Feb 04 2008 Rex Dieter <rdieter@fedoraproject.org> 1.5-0.8.b1
- taglib-1.5b1
* Wed Jan 16 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5-0.7.20080116svn
- svn20080116 snapshot
- multiarch conflicts (#343241)
2007-11-12 02:52:34 +00:00
* Sun Nov 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5-0.6.20071111svn
- svn20071111 snapshot (#376241)
2007-09-27 20:25:47 +00:00
* Thu Sep 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5-0.5.20070924svn
- -BR: automake
- +BR: zlib-devel
* Thu Sep 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5-0.4.20070924svn
- use cmake, fixes "taglib_export.h not included" (#272361#c7)
2007-09-24 14:22:03 +00:00
* Mon Sep 24 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.5-0.3.20070924svn
- rebuild
2007-09-24 14:01:05 +00:00
* Mon Sep 24 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.5-0.2.20070924svn
2007-09-24 14:10:15 +00:00
- BR: automake
2007-09-24 14:01:05 +00:00
2007-09-24 13:36:35 +00:00
* Mon Sep 24 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.5-0.1.20070924svn
- update to svn version
* Sun Aug 26 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.4-6
- fix license tag
- rebuild for BuildID
2006-12-18 22:19:13 +00:00
* Thu Dec 14 2006 Aurelien Bompard <abompard@fedoraproject.org> 1.4-5
- add patch for multi-language support
* Thu Sep 14 2006 Aurelien Bompard <abompard@fedoraproject.org> 1.4-4
- have the devel package require pkgconfig (#206443)
2006-08-31 14:58:22 +00:00
* Thu Aug 31 2006 Aurelien Bompard <abompard@fedoraproject.org> 1.4-3
- rebuild
2006-02-21 19:03:31 +00:00
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 1.4-2
- rebuild for FC5
2005-08-01 18:54:16 +00:00
* Mon Aug 01 2005 Aurelien Bompard <gauret[AT]free.fr> 1.4-1
- version 1.4
2005-03-25 16:20:43 +00:00
* Fri Mar 25 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.3.1-2
- rebuild with g++4
* Mon Jan 10 2005 Aurelien Bompard <gauret[AT]free.fr> 0:1.3.1-1
- version 1.3.1
- drop patch0
- don't nuke every .la files, only the useless ones
- spec improvements thanks to Rex Dieter
* Thu Nov 04 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.3-0.fdr.2
- add apeitem.h to the include files in -devel
* Mon Oct 04 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.3-0.fdr.1
- version 1.3
* 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