]>
Commit | Line | Data |
---|---|---|
4e2e1b2f JR |
1 | Summary: Simple media player based on the GStreamer framework |
2 | #Summary(pl.UTF-8): - | |
3 | Name: parole | |
888eda44 JR |
4 | Version: 0.7.0 |
5 | Release: 1 | |
4e2e1b2f JR |
6 | License: GPL v2 |
7 | Group: X11/Applications/Multimedia | |
888eda44 JR |
8 | Source0: http://archive.xfce.org/src/apps/parole/0.7/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 90a63d1b3ef26cd0279801b62cff25ad | |
4e2e1b2f JR |
10 | URL: http://www.xfce.org/projects/parole/ |
11 | BuildRequires: autoconf >= 2.50 | |
12 | BuildRequires: automake | |
888eda44 JR |
13 | BuildRequires: clutter-devel >= 1.16.4 |
14 | BuildRequires: clutter-gtk-devel >= 1.4.4 | |
4e2e1b2f JR |
15 | BuildRequires: dbus-devel >= 0.60 |
16 | BuildRequires: dbus-glib-devel >= 0.70 | |
17 | BuildRequires: gettext-devel | |
18 | BuildRequires: gstreamer-devel >= 0.10.11 | |
19 | BuildRequires: glib2-devel >= 1:2.16.0 | |
23d29d45 | 20 | BuildRequires: gtk+3-devel |
4e2e1b2f | 21 | BuildRequires: intltool >= 0.35.0 |
c343cb89 | 22 | BuildRequires: libnotify-devel >= 0.7 |
4e2e1b2f | 23 | BuildRequires: libtool |
888eda44 JR |
24 | BuildRequires: libxfce4ui-devel >= 4.11.0 |
25 | BuildRequires: libxfce4util-devel >= 4.11.0 | |
4e2e1b2f | 26 | BuildRequires: pkgconfig >= 1:0.9.0 |
888eda44 | 27 | BuildRequires: xfce4-dev-tools >= 4.11.0 |
4e2e1b2f JR |
28 | Requires(post,postun): gtk-update-icon-cache |
29 | Requires(post,postun): hicolor-icon-theme | |
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 | ||
37 | #%description -l pl.UTF-8 | |
38 | ||
39 | %prep | |
40 | %setup -q | |
4e2e1b2f JR |
41 | |
42 | %build | |
43 | %{__libtoolize} | |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %{__autoheader} | |
47 | %{__automake} | |
48 | %configure \ | |
888eda44 JR |
49 | --disable-browser-plugin \ |
50 | --enable-clutter | |
4e2e1b2f JR |
51 | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | %{__rm} -r $RPM_BUILD_ROOT%{_includedir} | |
61 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/parole-0/*.la | |
62 | ||
63 | %find_lang %{name} | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post | |
69 | %update_icon_cache hicolor | |
70 | ||
71 | %postun | |
72 | %update_icon_cache hicolor | |
73 | ||
74 | %files -f %{name}.lang | |
75 | %defattr(644,root,root,755) | |
76 | %doc AUTHORS ChangeLog NEWS README TODO | |
77 | %attr(755,root,root) %{_bindir}/parole | |
78 | %dir %{_libdir}/parole-0 | |
79 | %attr(755,root,root) %{_libdir}/parole-0/*.so | |
80 | %{_datadir}/parole | |
81 | %{_desktopdir}/parole.desktop | |
888eda44 JR |
82 | %{_iconsdir}/hicolor/*/apps/parole* |
83 | %{_datadir}/appdata/parole.appdata.xml |