1 | %global xfceversion 4.12 |
---|
2 | %global versnum 0.2 |
---|
3 | |
---|
4 | Name: xfce4-pulseaudio-plugin |
---|
5 | Version: 0.2.4 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | Summary: Pulseaudio plugin for Xfce4 |
---|
8 | Summary(ja): Xfce 用の Pulseaudio プラグイン |
---|
9 | |
---|
10 | Group: User Interface/Desktops |
---|
11 | License: GPLv2+ |
---|
12 | URL: https://github.com/andrzej-r/xfce4-pulseaudio-plugin |
---|
13 | Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{versnum}/%{name}-%{version}.tar.bz2 |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: intltool |
---|
17 | BuildRequires: libxfce4ui-devel >= %{xfceversion} |
---|
18 | BuildRequires: libxfce4util-devel >= %{xfceversion} |
---|
19 | BuildRequires: xfce4-panel-devel >= %{xfceversion} |
---|
20 | BuildRequires: pulseaudio-libs-devel >= 0.9.19 |
---|
21 | BuildRequires: glib2-devel >= 2.24.0 |
---|
22 | BuildRequires: gtk3-devel >= 3.6.0 |
---|
23 | BuildRequires: xfconf-devel >= 4.6.0 |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | Packager: inagaki |
---|
28 | |
---|
29 | %description |
---|
30 | Pulseaudio panel plugin for Xfce Desktop Environment |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q |
---|
34 | |
---|
35 | # remove empty files |
---|
36 | rm -f AUTHORS README |
---|
37 | |
---|
38 | %build |
---|
39 | %configure |
---|
40 | make %{?_smp_mflags} V=1 |
---|
41 | |
---|
42 | %install |
---|
43 | rm -rf %{buildroot} |
---|
44 | make install DESTDIR=%{buildroot} |
---|
45 | |
---|
46 | # remove libtool archives |
---|
47 | find %{buildroot} -name '*.la' -exec rm -f {} ';' |
---|
48 | |
---|
49 | # remove zero-length files |
---|
50 | rm -f %{buildroot}/%{defaultdocdir}/AUTHORS |
---|
51 | rm -f %{buildroot}/%{defaultdocdir}/README |
---|
52 | |
---|
53 | %clean |
---|
54 | rm -rf %{buildroot} |
---|
55 | |
---|
56 | %post |
---|
57 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
58 | |
---|
59 | %postun |
---|
60 | if [ $1 -eq 0 ] ; then |
---|
61 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
62 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
63 | fi |
---|
64 | |
---|
65 | %posttrans |
---|
66 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
67 | |
---|
68 | |
---|
69 | %files |
---|
70 | %defattr(-,root,root,-) |
---|
71 | %doc COPYING ChangeLog NEWS |
---|
72 | %{_datadir}/xfce4/panel/plugins/*.desktop |
---|
73 | %{_libdir}/xfce4/panel/plugins/libpulseaudio-plugin.so |
---|
74 | %{_datadir}/icons/hicolor/48x48/apps/%{name}* |
---|
75 | %{_datadir}/icons/hicolor/scalable/apps/%{name}* |
---|
76 | %{_datadir}/icons/hicolor/scalable/status/* |
---|
77 | |
---|
78 | %changelog |
---|
79 | * Sun Dec 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.2.4-1 |
---|
80 | - new upstream release |
---|
81 | |
---|
82 | * Thu Jun 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.2.3-1 |
---|
83 | - new upstream release |
---|
84 | |
---|
85 | * Fri Apr 3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.2.2-1 |
---|
86 | - new upstream release |
---|
87 | |
---|
88 | * Sun Mar 15 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.2.1-2 |
---|
89 | - Initial build for Vine Linux |
---|
90 | |
---|
91 | * Sun Mar 08 2015 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.2.1-1 |
---|
92 | - Update to 0.2.1 |
---|
93 | - Bug fix update |
---|
94 | |
---|
95 | * Fri Mar 06 2015 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.2.0-1 |
---|
96 | - Update to 0.2.0 |
---|
97 | |
---|
98 | * Sun Mar 01 2015 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.1.0-1 |
---|
99 | - New package |
---|