Blame SPECS/libkcddb.spec

4ca73b
Name:    libkcddb
4ca73b
Version: 4.10.5
4ca73b
Release: 3%{?dist}
4ca73b
Summary: CDDB retrieval library
4ca73b
4ca73b
License: LGPLv2+ and GPLv2+
4ca73b
URL:     http://www.kde.org/
4ca73b
%global revision %(echo %{version} | cut -d. -f3)
4ca73b
%if %{revision} >= 50
4ca73b
%global stable unstable
4ca73b
%else
4ca73b
%global stable stable
4ca73b
%endif
4ca73b
Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
4ca73b
4ca73b
## upstreamable patches
4ca73b
# query/use pkg-config libmusicbrainz5 info
4ca73b
Patch50: libkcddb-4.9.98-libmusicbrainz5_cflags.patch
4ca73b
4ca73b
BuildRequires: kdelibs4-devel >= %{version}
4ca73b
BuildRequires: pkgconfig(libmusicbrainz5)
4ca73b
4ca73b
Requires: kdelibs4%{?_isa} >= %{_kde4_version}
4ca73b
# kcmshell4
4ca73b
Requires: kde-runtime%{?_isa} >= %{_kde4_version}
4ca73b
4ca73b
# when split occured
4ca73b
Conflicts: kdemultimedia-libs < 6:4.8.80
4ca73b
4ca73b
%description
4ca73b
%{summary}.
4ca73b
4ca73b
%package devel
4ca73b
Summary:  Development files for %{name}
4ca73b
Requires: %{name}%{?_isa} = %{version}-%{release}
4ca73b
Requires: kdelibs4-devel
4ca73b
# when split occured
4ca73b
Conflicts: kdemultimedia-devel < 6:4.8.80
4ca73b
%description devel
4ca73b
%{summary}.
4ca73b
4ca73b
4ca73b
%prep
4ca73b
%setup -q
4ca73b
4ca73b
%patch50 -p1 -b .libmusicbrainz5_cflags
4ca73b
4ca73b
4ca73b
%build
4ca73b
mkdir -p %{_target_platform}
4ca73b
pushd %{_target_platform}
4ca73b
%{cmake_kde4} ..
4ca73b
popd
4ca73b
4ca73b
make %{?_smp_mflags} -C %{_target_platform}
4ca73b
4ca73b
4ca73b
%install
4ca73b
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
4ca73b
4ca73b
# fix documentation multilib conflict in index.cache
4ca73b
bunzip2 %{buildroot}%{_kde4_docdir}/HTML/en/kcontrol/cddbretrieval/index.cache.bz2
4ca73b
sed -i -e 's!name="id[a-z]*[0-9]*"!!g' %{buildroot}%{_kde4_docdir}/HTML/en/kcontrol/cddbretrieval/index.cache
4ca73b
sed -i -e 's!#id[a-z]*[0-9]*"!!g' %{buildroot}%{_kde4_docdir}/HTML/en/kcontrol/cddbretrieval/index.cache
4ca73b
bzip2 -9 %{buildroot}%{_kde4_docdir}/HTML/en/kcontrol/cddbretrieval/index.cache
4ca73b
4ca73b
%find_lang %{name} --with-kde --all-name
4ca73b
4ca73b
4ca73b
%post -p /sbin/ldconfig
4ca73b
%postun -p /sbin/ldconfig
4ca73b
4ca73b
%files -f %{name}.lang
4ca73b
%doc TODO
4ca73b
%{_kde4_datadir}/config.kcfg/libkcddb.kcfg
4ca73b
%{_kde4_datadir}/kde4/services/libkcddb.desktop
4ca73b
%{_kde4_libdir}/libkcddb.so.4*
4ca73b
%{_kde4_libdir}/kde4/kcm_cddb.so
4ca73b
4ca73b
%files devel
4ca73b
%{_kde4_includedir}/libkcddb/
4ca73b
%{_kde4_libdir}/libkcddb.so
4ca73b
%{_kde4_libdir}/cmake/libkcddb/
4ca73b
4ca73b
4ca73b
%changelog
4ca73b
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.10.5-3
4ca73b
- Mass rebuild 2014-01-24
4ca73b
4ca73b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.10.5-2
4ca73b
- Mass rebuild 2013-12-27
4ca73b
4ca73b
* Sun Jun 30 2013 Than Ngo <than@redhat.com> - 4.10.5-1
4ca73b
- 4.10.5
4ca73b
4ca73b
* Sat Jun 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.4-1
4ca73b
- 4.10.4
4ca73b
4ca73b
* Mon May 06 2013 Than Ngo <than@redhat.com> - 4.10.3-1
4ca73b
- 4.10.3
4ca73b
4ca73b
* Thu Apr 25 2013 Than Ngo <than@redhat.com> - 4.10.2-2
4ca73b
- fix multilib issue
4ca73b
4ca73b
* Sun Mar 31 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.2-1
4ca73b
- 4.10.2
4ca73b
4ca73b
* Sat Mar 02 2013 Rex Dieter <rdieter@fedoraproject.org> 4.10.1-1
4ca73b
- 4.10.1
4ca73b
4ca73b
* Thu Jan 31 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.0-1
4ca73b
- 4.10.0
4ca73b
4ca73b
* Sat Jan 19 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.9.98-1
4ca73b
- 4.9.98
4ca73b
4ca73b
* Fri Jan 04 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.9.97-1
4ca73b
- 4.9.97
4ca73b
4ca73b
* Wed Dec 19 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.95-1
4ca73b
- 4.9.95
4ca73b
- BR: pkgconfig(libmusicbrainz5)
4ca73b
4ca73b
* Mon Dec 03 2012 Rex Dieter <rdieter@fedoraproject.org> 4.9.90-1
4ca73b
- 4.9.90 (4.10 beta2)
4ca73b
4ca73b
* Mon Dec 03 2012 Than Ngo <than@redhat.com> - 4.9.4-1
4ca73b
- 4.9.4
4ca73b
4ca73b
* Fri Nov 02 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.3-1
4ca73b
- 4.9.3
4ca73b
4ca73b
* Fri Sep 28 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.2-1
4ca73b
- 4.9.2
4ca73b
4ca73b
* Mon Sep 03 2012 Than Ngo <than@redhat.com> - 4.9.1-1
4ca73b
- 4.9.1
4ca73b
4ca73b
* Thu Jul 26 2012 Lukas Tinkl <ltinkl@redhat.com> - 4.9.0-1
4ca73b
- 4.9.0
4ca73b
4ca73b
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.97-2
4ca73b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4ca73b
4ca73b
* Wed Jul 11 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.8.97-1
4ca73b
- 4.8.97
4ca73b
4ca73b
* Wed Jun 27 2012 Jaroslav Reznik <jreznik@redhat.com> - 4.8.95-1
4ca73b
- 4.8.95
4ca73b
4ca73b
* Fri Jun 08 2012 Rex Dieter <rdieter@fedoraproject.org> 4.8.90-1
4ca73b
- 4.8.90
4ca73b
4ca73b
* Thu May 31 2012 Jaroslav Reznik <jreznik@redhat.com> 4.8.80-1
4ca73b
- initial try