]>
Commit | Line | Data |
---|---|---|
4e2e1b2f | 1 | Summary: Simple media player based on the GStreamer framework |
4e2e1b2f | 2 | Name: parole |
a0f67675 | 3 | Version: 4.16.0 |
22933c02 | 4 | Release: 1 |
4e2e1b2f JR |
5 | License: GPL v2 |
6 | Group: X11/Applications/Multimedia | |
a0f67675 KM |
7 | Source0: http://archive.xfce.org/src/apps/parole/4.16/%{name}-%{version}.tar.bz2 |
8 | # Source0-md5: b9adffdef4bab6ca454569d562051843 | |
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 |
17513fc0 | 17 | BuildRequires: glib2-devel >= 1:2.30.0 |
920af399 | 18 | BuildRequires: gstreamer-devel |
23d29d45 | 19 | BuildRequires: gtk+3-devel |
4e2e1b2f | 20 | BuildRequires: intltool >= 0.35.0 |
c343cb89 | 21 | BuildRequires: libnotify-devel >= 0.7 |
4e2e1b2f | 22 | BuildRequires: libtool |
22933c02 JR |
23 | BuildRequires: libxfce4ui-devel >= 4.14.0 |
24 | BuildRequires: libxfce4util-devel >= 4.14.0 | |
4e2e1b2f | 25 | BuildRequires: pkgconfig >= 1:0.9.0 |
920af399 | 26 | BuildRequires: taglib-devel >= 1.4 |
22933c02 | 27 | BuildRequires: xfce4-dev-tools >= 4.14.0 |
4e2e1b2f JR |
28 | Requires(post,postun): gtk-update-icon-cache |
29 | Requires(post,postun): hicolor-icon-theme | |
af6b8a67 | 30 | Suggests: gstreamer-imagesink-x |
920af399 | 31 | Obsoletes: xfmedia |
4e2e1b2f JR |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
35 | Parole is a modern simple media player based on the GStreamer | |
920af399 KM |
36 | framework and written to fit well in the Xfce desktop. Parole is |
37 | designed with simplicity, speed and resource usage in mind. | |
4e2e1b2f | 38 | |
4e2e1b2f JR |
39 | %prep |
40 | %setup -q | |
4e2e1b2f JR |
41 | |
42 | %build | |
43 | %{__libtoolize} | |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %{__autoheader} | |
47 | %{__automake} | |
48 | %configure \ | |
920af399 KM |
49 | --enable-clutter \ |
50 | --enable-taglib | |
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 | ||
920af399 | 63 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie} |
22933c02 JR |
64 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy} |
65 | ||
4e2e1b2f JR |
66 | %find_lang %{name} |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post | |
72 | %update_icon_cache hicolor | |
73 | ||
74 | %postun | |
75 | %update_icon_cache hicolor | |
76 | ||
77 | %files -f %{name}.lang | |
78 | %defattr(644,root,root,755) | |
920af399 | 79 | %doc AUTHORS ChangeLog NEWS TODO |
4e2e1b2f JR |
80 | %attr(755,root,root) %{_bindir}/parole |
81 | %dir %{_libdir}/parole-0 | |
82 | %attr(755,root,root) %{_libdir}/parole-0/*.so | |
83 | %{_datadir}/parole | |
d6fa2d35 | 84 | %{_desktopdir}/org.xfce.Parole.desktop |
920af399 KM |
85 | %{_iconsdir}/hicolor/*/apps/org.xfce.parole.* |
86 | %{_iconsdir}/hicolor/*/apps/parole-extension* | |
22933c02 | 87 | %{_datadir}/metainfo/parole.appdata.xml |