]>
Commit | Line | Data |
---|---|---|
2c227d87 | 1 | Summary: Volume control plugin for the Xfce panel |
209e9ad3 | 2 | Summary(pl.UTF-8): Wtyczka sterująca głośnością dla panelu Xfce |
ed94665a | 3 | Name: xfce4-mixer |
71967cfb | 4 | Version: 4.4.0 |
0170840a | 5 | Release: 1 |
05db7450 | 6 | License: GPL |
ed94665a | 7 | Group: X11/Applications/Sound |
03a087e7 | 8 | Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2 |
71967cfb | 9 | # Source0-md5: 195e52cfe7913ca0b97d20a7ca26bde7 |
e3998113 | 10 | Patch0: %{name}-locale-names.patch |
ed94665a | 11 | URL: http://www.xfce.org/ |
03a087e7 | 12 | BuildRequires: alsa-lib-devel >= 1.0.11 |
e3998113 | 13 | BuildRequires: autoconf >= 2.50 |
0daf13e2 | 14 | BuildRequires: automake |
eff1fc2e | 15 | BuildRequires: gettext-devel |
03a087e7 | 16 | BuildRequires: intltool >= 0.35.0 |
e3998113 | 17 | BuildRequires: libtool |
eff1fc2e | 18 | BuildRequires: libxfce4mcs-devel >= %{version} |
cfc15a20 | 19 | BuildRequires: pkgconfig >= 1:0.9.0 |
4cf03f2b | 20 | BuildRequires: rpmbuild(macros) >= 1.311 |
71967cfb | 21 | BuildRequires: xfce-mcs-manager-devel >= %{version} |
03a087e7 | 22 | BuildRequires: xfce4-dev-tools >= %{version} |
7a4389d8 | 23 | BuildRequires: xfce4-panel-devel >= %{version} |
71967cfb | 24 | Requires(post,postun): gtk+2 |
922fb596 | 25 | Requires(post,postun): hicolor-icon-theme |
03a087e7 | 26 | Requires: alsa-lib >= 1.0.11 |
7a4389d8 | 27 | Requires: xfce4-panel >= %{version} |
ed94665a JB |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
71967cfb MB |
31 | xfce4-mixer is the volume control plugin for the Xfce panel. Includes |
32 | a simple sound mixer. | |
ed94665a | 33 | |
209e9ad3 JR |
34 | %description -l pl.UTF-8 |
35 | xfce4-mixer to wtyczka sterująca głośnością dla panelu Xfce. Zawiera | |
36 | prosty mikser dźwięku. | |
ed94665a JB |
37 | |
38 | %prep | |
39 | %setup -q | |
e3998113 JB |
40 | %patch0 -p1 |
41 | ||
65d139be | 42 | mv -f po/{nb_NO,nb}.po |
e3998113 | 43 | mv -f po/{pt_PT,pt}.po |
ed94665a JB |
44 | |
45 | %build | |
e3998113 | 46 | %{__libtoolize} |
03a087e7 | 47 | %{__aclocal} |
e3998113 JB |
48 | %{__autoheader} |
49 | %{__automake} | |
d0fa6fe3 MC |
50 | %{__autoconf} |
51 | %configure \ | |
03a087e7 | 52 | --disable-static \ |
53 | --with-sound=alsa | |
71967cfb | 54 | |
ed94665a JB |
55 | %{__make} |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
eabd1fc8 | 63 | rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/*/*.la |
ed94665a JB |
64 | |
65 | %find_lang %{name} | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
03a087e7 | 70 | %post |
4cf03f2b | 71 | %update_icon_cache hicolor |
03a087e7 | 72 | |
73 | %postun | |
4cf03f2b | 74 | %update_icon_cache hicolor |
03a087e7 | 75 | |
ed94665a JB |
76 | %files -f %{name}.lang |
77 | %defattr(644,root,root,755) | |
78 | %doc AUTHORS COPYING README TODO | |
d0fa6fe3 | 79 | %attr(755,root,root) %{_bindir}/xfce4-mixer |
eabd1fc8 JB |
80 | %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so |
81 | # why no -avoid-version? | |
82 | %attr(755,root,root) %{_libdir}/xfce4/modules/lib*.so* | |
03a087e7 | 83 | %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-mixer-plugin |
84 | %{_datadir}/xfce4/panel-plugins/xfce4-mixer.desktop | |
d0fa6fe3 MC |
85 | %{_iconsdir}/hicolor/*/*/* |
86 | ||
87 | %{_desktopdir}/xfce-mixer-settings.desktop |