]>
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 | |
20 | BuildRequires: gtk+2-devel >= 2:2.16.0 | |
23d29d45 | 21 | BuildRequires: gtk+3-devel |
4e2e1b2f | 22 | BuildRequires: intltool >= 0.35.0 |
c343cb89 | 23 | BuildRequires: libnotify-devel >= 0.7 |
4e2e1b2f | 24 | BuildRequires: libtool |
888eda44 JR |
25 | BuildRequires: libxfce4ui-devel >= 4.11.0 |
26 | BuildRequires: libxfce4util-devel >= 4.11.0 | |
4e2e1b2f | 27 | BuildRequires: pkgconfig >= 1:0.9.0 |
888eda44 | 28 | BuildRequires: xfce4-dev-tools >= 4.11.0 |
4e2e1b2f JR |
29 | Requires(post,postun): gtk-update-icon-cache |
30 | Requires(post,postun): hicolor-icon-theme | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | Parole is a modern simple media player based on the GStreamer | |
35 | framework and written to fit well in the Xfce desktop. | |
36 | Parole is designed with simplicity, speed and resource usage in mind. | |
37 | ||
38 | #%description -l pl.UTF-8 | |
39 | ||
40 | %prep | |
41 | %setup -q | |
4e2e1b2f JR |
42 | |
43 | %build | |
44 | %{__libtoolize} | |
45 | %{__aclocal} | |
46 | %{__autoconf} | |
47 | %{__autoheader} | |
48 | %{__automake} | |
49 | %configure \ | |
888eda44 JR |
50 | --disable-browser-plugin \ |
51 | --enable-clutter | |
4e2e1b2f JR |
52 | |
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %{__rm} -r $RPM_BUILD_ROOT%{_includedir} | |
62 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/parole-0/*.la | |
63 | ||
64 | %find_lang %{name} | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %post | |
70 | %update_icon_cache hicolor | |
71 | ||
72 | %postun | |
73 | %update_icon_cache hicolor | |
74 | ||
75 | %files -f %{name}.lang | |
76 | %defattr(644,root,root,755) | |
77 | %doc AUTHORS ChangeLog NEWS README TODO | |
78 | %attr(755,root,root) %{_bindir}/parole | |
79 | %dir %{_libdir}/parole-0 | |
80 | %attr(755,root,root) %{_libdir}/parole-0/*.so | |
81 | %{_datadir}/parole | |
82 | %{_desktopdir}/parole.desktop | |
888eda44 JR |
83 | %{_iconsdir}/hicolor/*/apps/parole* |
84 | %{_datadir}/appdata/parole.appdata.xml |