1 Summary: Lightweight GTK+ music manager
6 Group: Applications/Multimedia
7 URL: http://pragha.wikispaces.com/
8 # VCS: git:https://github.com/matiasdelellis/pragha.git
9 Source0: https://github.com/downloads/matiasdelellis/pragha/%{name}-%{version}.tar.bz2
10 # Source0-md5: f6ac43773a88d16c51201cedce812b4a
11 Patch0: libcdio-paranoia.patch
12 BuildRequires: curl-devel >= 7.18
13 BuildRequires: dbus-devel >= 1.1
14 BuildRequires: dbus-glib-devel >= 0.84
15 BuildRequires: desktop-file-utils
16 BuildRequires: flac-devel >= 1.2.1
17 BuildRequires: gettext
18 BuildRequires: glyr-devel >= 0.9.4
19 BuildRequires: gstreamer-devel >= 0.10
20 BuildRequires: gstreamer-plugins-base-devel >= 0.10
21 BuildRequires: gtk+2-devel >= 2.20.0
22 BuildRequires: keybinder-devel >= 0.2.0
23 BuildRequires: libcddb-devel >= 1.3.0
24 BuildRequires: libcdio-devel >= 0.80
25 BuildRequires: libcdio-paranoia-devel
26 BuildRequires: libclastfm-devel >= 0.5
27 BuildRequires: libnotify-devel >= 0.4.4
28 BuildRequires: libxfce4ui-devel >= 4.8.0
29 BuildRequires: sqlite3-devel >= 3.4
30 BuildRequires: taglib-devel >= 1.7
31 BuildRequires: totem-pl-parser-devel >= 2.26
32 Requires: gstreamer-plugins-base
33 Requires: gtk-update-icon-cache
34 Requires: hicolor-icon-theme
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 Pragha is is a lightweight GTK+ music manager that aims to be fast,
39 bloat-free, and light on memory consumption. It is written completely
42 Pragha is a fork of Consonance Music Manager, discontinued by the
54 rm -rf $RPM_BUILD_ROOT
56 INSTALL='install -p' \
57 DESTDIR=$RPM_BUILD_ROOT
59 desktop-file-install \
61 --add-category=Audio \
62 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
63 $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
65 mv $RPM_BUILD_ROOT%{_localedir}/{no,nb}
69 # remove duplicate docs
70 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
73 rm -rf $RPM_BUILD_ROOT
76 %update_icon_cache hicolor
77 %update_desktop_database
80 %update_icon_cache hicolor
81 %update_desktop_database
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 # FIXME add AUTHORS if not empty
86 %doc ChangeLog COPYING FAQ NEWS README
87 %attr(755,root,root) %{_bindir}/pragha
88 %{_desktopdir}/%{name}.desktop
89 %{_iconsdir}/hicolor/*x*/apps/%{name}.png
90 %{_pixmapsdir}/%{name}/
91 %{_mandir}/man1/pragha.1.*