Accepting request 71132 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/71132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/taglib?expand=0&rev=21
This commit is contained in:
Sascha Peilicke 2011-05-25 09:23:02 +00:00 committed by Git OBS Bridge
commit 6e8d675035
2 changed files with 23 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun May 22 22:29:07 UTC 2011 - pascal.bleser@opensuse.org
- make taglib become a package again, that has only one duty, to require
libtag1 and libtag_c0 for packages that still require taglib instead of
the new package names libtag1 and libtag_c0
-------------------------------------------------------------------
Tue May 17 20:55:51 UTC 2011 - asterios.dramis@gmail.com

View File

@ -41,6 +41,8 @@ BuildRequires: pkg-config
BuildRequires: update-desktop-files
%endif
BuildRequires: zlib-devel
Requires: libtag1 = %{version}-%{release}
Requires: libtag_c0 = %{version}-%{release}
%description
TagLib is a library for reading and editing the meta-data of several popular
@ -135,6 +137,11 @@ cp -a AUTHORS COPYING.LGPL COPYING.MPL NEWS doc/html/ examples/ %{buildroot}%{_d
%fdupes -s %{buildroot}
echo <<EOF >README.taglib
This package only acts as a placeholder until all packages that use taglib
have upgraded to the new package names libtag1 and libtag_c0.
EOF
%check
# check the library
#pushd tests
@ -142,7 +149,7 @@ cp -a AUTHORS COPYING.LGPL COPYING.MPL NEWS doc/html/ examples/ %{buildroot}%{_d
#popd
%clean
rm -rf %{buildroot}
%{?buildroot:%__rm -rf "%{buildroot}"}
%post -n libtag1 -p /sbin/ldconfig
@ -154,11 +161,13 @@ rm -rf %{buildroot}
%files -n libtag1
%defattr(-,root,root,-)
%{_libdir}/libtag.so.1*
%{_libdir}/libtag.so.1
%{_libdir}/libtag.so.1.*
%files -n libtag_c0
%defattr(-,root,root,-)
%{_libdir}/libtag_c.so.0*
%{_libdir}/libtag_c.so.0
%{_libdir}/libtag_c.so.0.*
%files -n libtag-devel
%defattr(-,root,root,-)
@ -169,4 +178,8 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/*.pc
%{_datadir}/susehelp/
%files
%defattr(-,root,root,-)
%doc README.taglib
%changelog