Clementine-audio-player-Mac.../dist/clementine.spec

68 lines
1.8 KiB
Plaintext
Raw Normal View History

2010-01-17 23:12:17 +01:00
Name: clementine
2010-03-22 14:20:30 +01:00
Version: 0.2
Release: 1%{?dist}
2010-01-17 23:12:17 +01:00
Summary: A music player and library organiser
Group: Applications/Multimedia
License: GPLv3
URL: http://code.google.com/p/clementine-player
Source0: %{name}-%{version}.tar.gz
2010-01-17 23:12:17 +01:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils liblastfm-devel taglib-devel xine-lib-devel
2010-02-21 23:43:46 +01:00
BuildRequires: libnotify-devel qt4-devel boost-devel notification-daemon gcc-c++
BuildRequires: cmake
2010-01-17 23:12:17 +01:00
Requires: xine-lib-extras-freeworld
%description
Clementine is a modern music player and library organiser.
It is largely a port of Amarok 1.4, with some features rewritten to take
advantage of Qt4.
%prep
%setup -q
%build
cd bin
cmake ..
2010-01-17 23:12:17 +01:00
make %{?_smp_mflags}
%install
install -d %{buildroot}/%{_bindir}
install -d %{buildroot}%{_datadir}/applications
install -d %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
install -m 0755 bin/%{name} %{buildroot}/%{_bindir}/clementine
2010-01-17 23:12:17 +01:00
install -m 0644 dist/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
install -m 0644 dist/%{name}_64.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/apps/application-x-clementine.png
desktop-file-install \
--dir %{buildroot}%{_datadir}/applications \
--delete-original \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%clean
cd bin
2010-01-17 23:12:17 +01:00
make clean
%files
%defattr(-,root,root,-)
%doc
%{_bindir}/clementine
%{_datadir}/applications/clementine.desktop
%{_datadir}/icons/hicolor/64x64/apps/application-x-clementine.png
%changelog
2010-03-22 14:20:30 +01:00
* Mon Mar 22 2010 David Sansome <me@davidsansome.com> - 0.2
- Version 0.2
2010-02-22 20:46:32 +01:00
* Sun Feb 21 2010 David Sansome <me@davidsansome.com> - 0.1-5
- Various last-minute bugfixes
2010-01-17 23:12:17 +01:00
* Sun Jan 17 2010 David Sansome <me@davidsansome.com> - 0.1-1
- Initial package