2024-01-05 21:25:21 +01:00
|
|
|
Name: clementine
|
2024-01-05 21:25:22 +01:00
|
|
|
Version: 1.3.1
|
|
|
|
Release: 1mamba
|
2024-01-05 21:25:21 +01:00
|
|
|
Summary: A modern music player and library organiser
|
|
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://code.google.com/p/clementine-player/
|
|
|
|
Source: https://github.com/clementine-player/Clementine.git/%{version}/Clementine-%{version}.tar.bz2
|
|
|
|
#Source: http://clementine-player.googlecode.com/files/clementine-%{version}.tar.gz
|
|
|
|
Patch0: %{name}-0.6-optional-dbus-devicekit.patch
|
|
|
|
Patch1: %{name}-0.7.1-glibc-2.31.patch
|
|
|
|
Patch2: %{name}-1.0.1-libimobiledevice-1.1.2.patch
|
|
|
|
Patch3: clementine-1.2.2-glibc-2.19.patch
|
2024-01-05 21:25:21 +01:00
|
|
|
Patch4: clementine-1.2.3-udisks-1.0.5.patch
|
2024-01-05 21:25:22 +01:00
|
|
|
Patch5: clementine-1.3.1-libprojectm-gcc-6.1.0.patch
|
2024-01-05 21:25:21 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libcdio-devel
|
|
|
|
BuildRequires: libchromaprint-devel
|
|
|
|
BuildRequires: libfftw-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libglew-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
BuildRequires: libgpod-devel
|
|
|
|
BuildRequires: libgst-plugins-base010-devel
|
|
|
|
BuildRequires: libgstreamer010-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libimobiledevice-devel
|
|
|
|
BuildRequires: libmtp-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libplist-devel
|
|
|
|
BuildRequires: libqca-devel
|
|
|
|
BuildRequires: libqjson-devel
|
|
|
|
BuildRequires: libqt4-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtag-devel
|
|
|
|
BuildRequires: libusb-devel
|
|
|
|
BuildRequires: libusbmuxd-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: protobuf-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 21:25:21 +01:00
|
|
|
BuildRequires: libchromaprint-devel >= 1.3.1-1mamba
|
2024-01-05 21:25:21 +01:00
|
|
|
BuildRequires: libtag-devel >= 1.9.1
|
2024-01-05 21:25:21 +01:00
|
|
|
BuildRequires: libplist-devel >= 1.11-1mamba
|
2024-01-05 21:25:21 +01:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: liblastfm-devel >= 0.3.3
|
|
|
|
BuildRequires: libboost-devel
|
|
|
|
BuildRequires: protobuf-devel >= 2.4.1
|
|
|
|
BuildRequires: libavformat-devel
|
2024-01-05 21:25:22 +01:00
|
|
|
BuildRequires: libsparsehash-devel
|
|
|
|
BuildRequires: libechonest-devel
|
2024-01-05 21:25:21 +01:00
|
|
|
Requires: udisks
|
|
|
|
Requires: upower
|
|
|
|
Requires: gst-plugins-good010
|
|
|
|
Requires: gst-plugins-ugly010
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Clementine is a modern music player and library organiser. Clementine is a port of Amarok 1.4, with some features rewritten to take advantage of Qt4.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Clementine-%{version}
|
2024-01-05 21:25:21 +01:00
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-01-05 21:25:21 +01:00
|
|
|
#%patch0 -p1
|
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
|
|
|
#%patch3 -p1
|
2024-01-05 21:25:22 +01:00
|
|
|
#%patch4 -p1
|
|
|
|
cd 3rdparty/libprojectm
|
|
|
|
%patch5 -p1
|
2024-01-05 21:25:21 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 21:25:21 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DBUILD_WERROR=OFF
|
|
|
|
|
2024-01-05 21:25:21 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/clementine-tagreader
|
|
|
|
%{_bindir}/clementine
|
|
|
|
%{_datadir}/applications/clementine.desktop
|
2024-01-05 21:25:22 +01:00
|
|
|
%{_datadir}/appdata/clementine.appdata.xml
|
2024-01-05 21:25:21 +01:00
|
|
|
%{_datadir}/kde4/services/clementine-*.protocol
|
2024-01-05 21:25:22 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.svg
|
2024-01-05 21:25:21 +01:00
|
|
|
%dir %{_datadir}/clementine
|
|
|
|
%dir %{_datadir}/clementine/projectm-presets
|
|
|
|
%{_datadir}/clementine/projectm-presets/*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:25:22 +01:00
|
|
|
* Sun Jul 10 2016 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:25:21 +01:00
|
|
|
* Tue Mar 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.3-4mamba
|
|
|
|
- rebuilt by autoport with build requirements: libchromaprint-devel>=1.3.1-1mamba
|
|
|
|
|
2024-01-05 21:25:21 +01:00
|
|
|
* Tue Dec 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.3-3mamba
|
|
|
|
- mass rebuild with libtag 1.9.1
|
|
|
|
|
2024-01-05 21:25:21 +01:00
|
|
|
* Fri Sep 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.3-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libplist-devel>=1.11-1mamba
|
|
|
|
|
2024-01-05 21:25:21 +01:00
|
|
|
* Sun Apr 27 2014 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-1mamba
|
|
|
|
- update to 1.2.2
|
|
|
|
|
|
|
|
* Tue Nov 26 2013 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
|
|
|
|
- rebuilt with protobuf 2.5.0
|
|
|
|
|
|
|
|
* Sun Oct 20 2013 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Nov 18 2012 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Oct 28 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
|
|
|
|
- require gst-plugins-good010 and gst-pluguns-ugly010 (devel)
|
|
|
|
|
|
|
|
* Sat Oct 27 2012 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
|
|
|
|
- rebuilt with protobuf 2.4.1
|
|
|
|
|
|
|
|
* Tue May 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
|
|
|
|
- update to 1.0.1
|
|
|
|
|
|
|
|
* Thu Nov 10 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-1mamba
|
|
|
|
- update to 0.7.1
|
|
|
|
|
|
|
|
* Sat Feb 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6-1mamba
|
|
|
|
- update to 0.6
|
|
|
|
|
|
|
|
* Fri Dec 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.3-1mamba
|
|
|
|
- update to 0.5.3
|
|
|
|
|
|
|
|
* Tue Sep 21 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
|
|
|
- update to 0.5.1
|
|
|
|
|
|
|
|
* Mon Sep 20 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-1mamba
|
|
|
|
- package created by autospec
|