%define _snap 040811 Summary: A tag library for reading and editing audio meta data Summary(pl): Biblioteka tag do odczytu i edycji metadanych dotyczących dźwięku Name: taglib Version: 1.3 Release: 0.%{_snap}.1 License: GPL Group: X11/Libraries Source0: %{name}-%{_snap}.tar.bz2 # Source0-md5: 52afc2b5a223980b6128b6908a86e01b Patch0: %{name}-libtool-sanitize.patch URL: http://ktown.kde.org/~wheeler/taglib/ BuildRequires: autoconf >= 2.52 BuildRequires: automake >= 1.6 BuildRequires: unsermake >= 040805-1 BuildRequires: libstdc++-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description A tag library needed for juk application which is part of kdemultimedia package. %description -l pl Biblioteka tag wykorzystywana przez program juk, bedący częścią pakietu kdemultimedia. %package devel Summary: libtag - header files Summary(pl): libtag - pliki nagłówkowe Group: X11/Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libstdc++-devel %description devel Header files for tag library. %description devel -l pl Pliki nagłówkowe biblioteki tag. %prep %setup -q -n %{name} %patch0 -p1 %build cp -f /usr/share/automake/config.* admin export UNSERMAKE=/usr/share/unsermake/unsermake %{__make} -f admin/Makefile.common cvs %configure \ --disable-rpath \ --enable-final \ --with-qt-libraries=%{_libdir} %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libtag.so.*.*.* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/taglib-config %{_libdir}/libtag.la %{_includedir}/taglib