Blame SPECS/audiocd-kio.spec

f39524
Name:    audiocd-kio 
f39524
Summary: Audiocd kio slave
f39524
Version: 4.10.5
f39524
Release: 1%{?dist}
f39524
f39524
# code GPLv2+, handbook/docs GFDL
f39524
License: GPLv2+ and GFDL
f39524
URL:     https://projects.kde.org/projects/kde/kdemultimedia/%{name}
f39524
%global revision %(echo %{version} | cut -d. -f3)
f39524
%if %{revision} >= 50
f39524
%global stable unstable
f39524
%else
f39524
%global stable stable
f39524
%endif
f39524
Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
f39524
f39524
## upstream patches
f39524
f39524
BuildRequires: cdparanoia-devel cdparanoia
f39524
BuildRequires: kdelibs4-devel >= %{version}
f39524
BuildRequires: libkcddb-devel >= %{version}
f39524
BuildRequires: libkcompactdisc-devel >= %{version}
f39524
BuildRequires: pkgconfig(flac)
f39524
BuildRequires: pkgconfig(phonon)
f39524
BuildRequires: pkgconfig(theora)
f39524
BuildRequires: pkgconfig(vorbis)
f39524
f39524
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
f39524
Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}}
f39524
f39524
# when split occurred
f39524
Obsoletes: kdemultimedia-kio_audiocd < 6:4.8.80
f39524
Provides:  kdemultimedia-kio_audiocd = 6:%{version}-%{release}
f39524
Provides:  kio_audiocd = %{version}-%{release}
f39524
f39524
%description
f39524
%{summary}.
f39524
f39524
%package libs
f39524
Summary: Runtime libraries for %{name}
f39524
Requires: %{name} = %{version}-%{release}
f39524
Requires: kdelibs4%{?_isa}%{?_kde4_version: >= %{_kde4_version}}
f39524
Requires: libkcddb%{?_isa}%{?_kde4_version: >= %{_kde4_version}}
f39524
Requires: libkcompactdisc%{?_isa}%{?_kde4_version: >= %{_kde4_version}}
f39524
# when split occurred
f39524
Conflicts: kdemultimedia-libs < 6:4.8.80
f39524
%description libs
f39524
%{summary}.
f39524
f39524
%package devel
f39524
Summary:  Development files for %{name}
f39524
Requires: %{name}%{?_isa} = %{version}-%{release}
f39524
Requires: kdelibs4-devel
f39524
# when split occured
f39524
Conflicts: kdemultimedia-devel < 6:4.8.80
f39524
%description devel
f39524
%{summary}.
f39524
f39524
f39524
%prep
f39524
%setup -q
f39524
f39524
f39524
%build
f39524
mkdir -p %{_target_platform}
f39524
pushd %{_target_platform}
f39524
%{cmake_kde4} ..
f39524
popd
f39524
f39524
make %{?_smp_mflags} -C %{_target_platform}
f39524
f39524
f39524
%install
f39524
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
f39524
f39524
%find_lang %{name} --with-kde --all-name
f39524
f39524
# fix documentation multilib conflict in index.cache
f39524
bunzip2 %{buildroot}%{_kde4_docdir}/HTML/en/kioslave/audiocd/index.cache.bz2
f39524
sed -i -e 's!name="id[a-z]*[0-9]*"!!g' %{buildroot}%{_kde4_docdir}/HTML/en/kioslave/audiocd/index.cache
f39524
sed -i -e 's!#id[a-z]*[0-9]*"!!g' %{buildroot}%{_kde4_docdir}/HTML/en/kioslave/audiocd/index.cache
f39524
bzip2 -9 %{buildroot}%{_kde4_docdir}/HTML/en/kioslave/audiocd/index.cache
f39524
f39524
f39524
#check
f39524
f39524
f39524
%files -f %{name}.lang
f39524
%doc COPYING COPYING.DOC
f39524
# own these to avoid dep on kdebase
f39524
%dir %{_kde4_appsdir}/konqsidebartng/
f39524
%dir %{_kde4_appsdir}/konqsidebartng/virtual_folders/
f39524
%dir %{_kde4_appsdir}/konqsidebartng/virtual_folders/services/
f39524
%{_kde4_appsdir}/konqsidebartng/virtual_folders/services/audiocd.desktop
f39524
%{_kde4_appsdir}/solid/actions/solid_audiocd.desktop
f39524
%{_kde4_datadir}/kde4/services/audiocd.desktop
f39524
%{_kde4_datadir}/kde4/services/audiocd.protocol
f39524
%{_kde4_datadir}/config.kcfg/audiocd*.kcfg
f39524
%{_kde4_libdir}/kde4/kcm_audiocd.so
f39524
%{_kde4_libdir}/kde4/kio_audiocd.so
f39524
f39524
%post libs -p /sbin/ldconfig
f39524
%postun libs -p /sbin/ldconfig
f39524
f39524
%files libs
f39524
%{_kde4_libdir}/libaudiocdplugins.so.4*
f39524
%{_kde4_libdir}/kde4/libaudiocd_encoder_flac.so
f39524
%{_kde4_libdir}/kde4/libaudiocd_encoder_lame.so
f39524
%{_kde4_libdir}/kde4/libaudiocd_encoder_vorbis.so
f39524
%{_kde4_libdir}/kde4/libaudiocd_encoder_wav.so
f39524
f39524
%files devel
f39524
%{_kde4_includedir}/audiocdencoder.h
f39524
%{_kde4_libdir}/libaudiocdplugins.so
f39524
f39524
f39524
%changelog
f39524
* Sun Jun 30 2013 Than Ngo <than@redhat.com> - 4.10.5-1
f39524
- 4.10.5
f39524
f39524
* Sat Jun 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.4-1
f39524
- 4.10.4
f39524
f39524
* Mon May 06 2013 Than Ngo <than@redhat.com> - 4.10.3-1
f39524
- 4.10.3
f39524
f39524
* Wed Apr 24 2013 Than Ngo <than@redhat.com> - 4.10.2-2
f39524
- fix multilib issue
f39524
f39524
* Sun Mar 31 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.2-1
f39524
- 4.10.2
f39524
f39524
* Sat Mar 02 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.1-1
f39524
- 4.10.1
f39524
f39524
* Fri Feb 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.0-1
f39524
- 4.10.0
f39524
f39524
* Sun Jan 20 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.9.98-1
f39524
- 4.9.98
f39524
f39524
* Fri Jan 04 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.9.97-1
f39524
- 4.9.97
f39524
f39524
* Thu Dec 20 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.95-1
f39524
- 4.9.95
f39524
f39524
* Mon Dec 03 2012 Rex Dieter <rdieter@fedoraproject.org> 4.9.90-1
f39524
- 4.9.90 (4.10 beta2)
f39524
f39524
* Mon Dec 03 2012 Than Ngo <than@redhat.com> - 4.9.4-1
f39524
- 4.9.4
f39524
f39524
* Sat Nov 03 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.3-1
f39524
- 4.9.3
f39524
f39524
* Sat Sep 29 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.2-1
f39524
- 4.9.2
f39524
f39524
* Mon Sep 03 2012 Than Ngo <than@redhat.com> - 4.9.1-1
f39524
- 4.9.1
f39524
f39524
* Thu Jul 26 2012 Lukas Tinkl <ltinkl@redhat.com> - 4.9.0-1
f39524
- 4.9.0
f39524
f39524
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.97-2
f39524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f39524
f39524
* Wed Jul 11 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.8.97-1
f39524
- 4.8.97
f39524
f39524
* Wed Jun 27 2012 Jaroslav Reznik <jreznik@redhat.com> - 4.8.95-1
f39524
- 4.8.95
f39524
f39524
* Wed Jun 13 2012 Rex Dieter <rdieter@fedoraproject.org> 4.8.90-2
f39524
- License: GPLv2+ and GFDL
f39524
f39524
* Fri Jun 08 2012 Rex Dieter <rdieter@fedoraproject.org> 4.8.90-1
f39524
- audiocd-kio-4.8.90
f39524