]> git.pld-linux.org Git - packages/pragha.git/blame - pragha.spec
- libcdio related rebuild
[packages/pragha.git] / pragha.spec
CommitLineData
b6f8f542
ER
1Summary: Lightweight GTK+ music manager
2Name: pragha
3Version: 1.0.2
e9cded9d 4Release: 5
b6f8f542
ER
5License: GPL v3+
6Group: Applications/Multimedia
7URL: http://pragha.wikispaces.com/
8# VCS: git:https://github.com/matiasdelellis/pragha.git
9Source0: https://github.com/downloads/matiasdelellis/pragha/%{name}-%{version}.tar.bz2
10# Source0-md5: f6ac43773a88d16c51201cedce812b4a
47bc8861 11Patch0: libcdio-paranoia.patch
b6f8f542
ER
12BuildRequires: curl-devel >= 7.18
13BuildRequires: dbus-devel >= 1.1
14BuildRequires: dbus-glib-devel >= 0.84
15BuildRequires: desktop-file-utils
16BuildRequires: flac-devel >= 1.2.1
17BuildRequires: gettext
18BuildRequires: glyr-devel >= 0.9.4
19BuildRequires: gstreamer-devel >= 0.10
20BuildRequires: gstreamer-plugins-base-devel >= 0.10
21BuildRequires: gtk+2-devel >= 2.20.0
22BuildRequires: keybinder-devel >= 0.2.0
23BuildRequires: libcddb-devel >= 1.3.0
24BuildRequires: libcdio-devel >= 0.80
47bc8861 25BuildRequires: libcdio-paranoia-devel
b6f8f542
ER
26BuildRequires: libclastfm-devel >= 0.5
27BuildRequires: libnotify-devel >= 0.4.4
28BuildRequires: libxfce4ui-devel >= 4.8.0
29BuildRequires: sqlite3-devel >= 3.4
30BuildRequires: taglib-devel >= 1.7
31BuildRequires: totem-pl-parser-devel >= 2.26
32Requires: gstreamer-plugins-base
33Requires: gtk-update-icon-cache
34Requires: hicolor-icon-theme
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
38Pragha is is a lightweight GTK+ music manager that aims to be fast,
39bloat-free, and light on memory consumption. It is written completely
40in C and GTK+.
41
42Pragha is a fork of Consonance Music Manager, discontinued by the
43original author.
44
45%prep
46%setup -q
47bc8861 47%patch0 -p1
b6f8f542
ER
48
49%build
50%configure
51%{__make} V=1
52
53%install
54rm -rf $RPM_BUILD_ROOT
55%{__make} install \
56 INSTALL='install -p' \
57 DESTDIR=$RPM_BUILD_ROOT
58
59desktop-file-install \
60 --delete-original \
61 --add-category=Audio \
62 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
63 $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
64
65mv $RPM_BUILD_ROOT%{_localedir}/{no,nb}
66
67%find_lang %{name}
68
69# remove duplicate docs
70%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%post
76%update_icon_cache hicolor
77%update_desktop_database
78
79%postun
80%update_icon_cache hicolor
81%update_desktop_database
82
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.*
This page took 0.10648 seconds and 4 git commands to generate.