]>
Commit | Line | Data |
---|---|---|
4e2e1b2f | 1 | Summary: Simple media player based on the GStreamer framework |
4e2e1b2f | 2 | Name: parole |
d6fa2d35 JR |
3 | Version: 1.0.1 |
4 | Release: 1 | |
4e2e1b2f JR |
5 | License: GPL v2 |
6 | Group: X11/Applications/Multimedia | |
d6fa2d35 JR |
7 | Source0: http://archive.xfce.org/src/apps/parole/1.0/%{name}-%{version}.tar.bz2 |
8 | # Source0-md5: 46fe86bbe0c4aa02c53244d66e62e90c | |
4e2e1b2f JR |
9 | URL: http://www.xfce.org/projects/parole/ |
10 | BuildRequires: autoconf >= 2.50 | |
11 | BuildRequires: automake | |
888eda44 JR |
12 | BuildRequires: clutter-devel >= 1.16.4 |
13 | BuildRequires: clutter-gtk-devel >= 1.4.4 | |
4e2e1b2f JR |
14 | BuildRequires: dbus-devel >= 0.60 |
15 | BuildRequires: dbus-glib-devel >= 0.70 | |
b22e704c | 16 | BuildRequires: gettext-tools |
d6fa2d35 | 17 | BuildRequires: gstreamer-devel |
17513fc0 | 18 | BuildRequires: glib2-devel >= 1:2.30.0 |
23d29d45 | 19 | BuildRequires: gtk+3-devel |
4e2e1b2f | 20 | BuildRequires: intltool >= 0.35.0 |
c343cb89 | 21 | BuildRequires: libnotify-devel >= 0.7 |
4e2e1b2f | 22 | BuildRequires: libtool |
17513fc0 JR |
23 | BuildRequires: libxfce4ui-devel >= 4.12.0 |
24 | BuildRequires: libxfce4util-devel >= 4.12.0 | |
4e2e1b2f | 25 | BuildRequires: pkgconfig >= 1:0.9.0 |
17513fc0 | 26 | BuildRequires: xfce4-dev-tools >= 4.12.0 |
4e2e1b2f JR |
27 | Requires(post,postun): gtk-update-icon-cache |
28 | Requires(post,postun): hicolor-icon-theme | |
fd0b57b0 | 29 | Obsoletes: xfmedia |
4e2e1b2f JR |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
33 | Parole is a modern simple media player based on the GStreamer | |
34 | framework and written to fit well in the Xfce desktop. | |
35 | Parole is designed with simplicity, speed and resource usage in mind. | |
36 | ||
4e2e1b2f JR |
37 | %prep |
38 | %setup -q | |
4e2e1b2f JR |
39 | |
40 | %build | |
41 | %{__libtoolize} | |
42 | %{__aclocal} | |
43 | %{__autoconf} | |
44 | %{__autoheader} | |
45 | %{__automake} | |
46 | %configure \ | |
888eda44 JR |
47 | --disable-browser-plugin \ |
48 | --enable-clutter | |
4e2e1b2f JR |
49 | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %{__rm} -r $RPM_BUILD_ROOT%{_includedir} | |
59 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/parole-0/*.la | |
60 | ||
61 | %find_lang %{name} | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post | |
67 | %update_icon_cache hicolor | |
68 | ||
69 | %postun | |
70 | %update_icon_cache hicolor | |
71 | ||
72 | %files -f %{name}.lang | |
73 | %defattr(644,root,root,755) | |
74 | %doc AUTHORS ChangeLog NEWS README TODO | |
75 | %attr(755,root,root) %{_bindir}/parole | |
76 | %dir %{_libdir}/parole-0 | |
77 | %attr(755,root,root) %{_libdir}/parole-0/*.so | |
78 | %{_datadir}/parole | |
d6fa2d35 | 79 | %{_desktopdir}/org.xfce.Parole.desktop |
888eda44 JR |
80 | %{_iconsdir}/hicolor/*/apps/parole* |
81 | %{_datadir}/appdata/parole.appdata.xml |