]> git.pld-linux.org Git - packages/pragha.git/blob - pragha.spec
Release 3
[packages/pragha.git] / pragha.spec
1 Summary:        Lightweight GTK+ music manager
2 Name:           pragha
3 Version:        1.0.2
4 Release:        3
5 License:        GPL v3+
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)
36
37 %description
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
40 in C and GTK+.
41
42 Pragha is a fork of Consonance Music Manager, discontinued by the
43 original author.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48
49 %build
50 %configure
51 %{__make} V=1
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 %{__make} install \
56         INSTALL='install -p' \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 desktop-file-install \
60         --delete-original \
61         --add-category=Audio \
62         --dir=$RPM_BUILD_ROOT%{_desktopdir} \
63         $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
64
65 mv $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
73 rm -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.105984 seconds and 3 git commands to generate.