diff --git a/README.md b/README.md index 91d972a..727e0d5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libtag +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. + diff --git a/libtag.spec b/libtag.spec new file mode 100644 index 0000000..8f0e405 --- /dev/null +++ b/libtag.spec @@ -0,0 +1,117 @@ +Name: libtag +Version: 1.9.20130815git +Release: 1mamba +Summary: Audio Meta-Data Editing Library +Group: System/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://taglib.github.com/ +Source: https://github.com/taglib/taglib.git/master/taglib-%{version}.tar.bz2 +#Source: http://taglib.github.com/releases/taglib-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +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. +This package contains static libraries and header files need for development. + +%prep +%setup -q -n taglib-%{version} + +%build +%cmake . \ + -DWITH_ASF=ON -DWITH_MP4=ON + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libtag.so.* +%{_libdir}/libtag_c.so.* +%doc AUTHORS + +%files devel +%defattr(-,root,root) +%{_bindir}/taglib-config +%dir %{_includedir}/taglib +%{_includedir}/taglib/*.h +%{_includedir}/taglib/*.tcc +#%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/taglib.pc +%{_libdir}/pkgconfig/taglib_c.pc + +%changelog +* Thu Aug 15 2013 Silvan Calarco 1.9.20130815git-1mamba +- update to 1.9.20130815git + +* Thu Aug 15 2013 Silvan Calarco 1.9-1mamba +- update to 1.9 + +* Sat Feb 16 2013 Davide Madrisan 1.8-1mamba +- update to 1.8 + +* Tue Jul 10 2012 Silvan Calarco 1.7.2-2mamba +- rebuilt with ASF and MP4 support enabled + +* Sat Jun 23 2012 Automatic Build System 1.7.2-1mamba +- automatic version update by autodist + +* Thu Jun 24 2010 Automatic Build System 1.6.3-1mamba +- automatic update by autodist + +* Sat Apr 10 2010 Davide Madrisan 1.6.2-1mamba +- update to 1.6.2 + +* Tue Jan 19 2010 Automatic Build System 1.6.1-1mamba +- automatic update by autodist + +* Tue Sep 29 2009 Davide Madrisan 1.6-2mamba +- enable MP4 and ASF support + +* Mon Sep 21 2009 Automatic Build System 1.6-1mamba +- automatic update by autodist + +* Tue Jun 17 2008 Aleph0 1.5-1mamba +- update to 1.5 +- own %{_includedir}/taglib + +* Thu Aug 18 2005 Silvan Calarco 1.4-1qilnx +- update to version 1.4 by autospec + +* Mon Feb 21 2005 Davide Madrisan 1.3.1-1qilnx +- update to version 1.3.1 by autospec + +* Thu Sep 30 2004 Davide Madrisan 1.3-1qilnx +- update to 1.3 + +* Tue Mar 09 2004 Davide Madrisan 1.0-1qilnx +- first build +