]>
Commit | Line | Data |
---|---|---|
0af3ae74 KM |
1 | # ToDo: fix segfaults while adding plugin to panel |
2 | ||
0b814578 | 3 | %define xfce_version 4.12.0 |
2c227d87 | 4 | Summary: Volume control plugin for the Xfce panel |
44deac4b | 5 | Summary(pl.UTF-8): Wtyczka sterująca głośnością dla panelu Xfce |
ed94665a | 6 | Name: xfce4-mixer |
0af3ae74 KM |
7 | Version: 4.18.0 |
8 | Release: 0.1 | |
e7308028 | 9 | License: GPL v2 |
ed94665a | 10 | Group: X11/Applications/Sound |
0af3ae74 KM |
11 | Source0: https://archive.xfce.org/src/apps/xfce4-mixer/4.18/%{name}-%{version}.tar.bz2 |
12 | # Source0-md5: bed60dfc288d9e6586c0d38707ffc588 | |
13 | URL: https://www.xfce.org/projects/xfce4-mixer/ | |
14 | BuildRequires: alsa-lib-devel >= 0.9 | |
e3998113 | 15 | BuildRequires: autoconf >= 2.50 |
0daf13e2 | 16 | BuildRequires: automake |
026f3d97 | 17 | BuildRequires: gettext-tools |
0af3ae74 KM |
18 | BuildRequires: glib2-devel >= 1:2.42.0 |
19 | BuildRequires: gstreamer-plugins-base-devel >= 1.0 | |
20 | BuildRequires: gtk+3-devel >= 3.14.0 | |
03a087e7 | 21 | BuildRequires: intltool >= 0.35.0 |
0af3ae74 | 22 | BuildRequires: keybinder3-devel >= 0.3 |
e3998113 | 23 | BuildRequires: libtool |
fa395364 | 24 | BuildRequires: libxfce4ui-devel >= %{xfce_version} |
cfc15a20 | 25 | BuildRequires: pkgconfig >= 1:0.9.0 |
0af3ae74 KM |
26 | BuildRequires: pulseaudio-devel >= 0.9.19 |
27 | BuildRequires: xfce4-dev-tools >= 4.12.0 | |
fa395364 | 28 | BuildRequires: xfce4-panel-devel >= %{xfce_version} |
0b814578 | 29 | BuildRequires: xfconf-devel >= %{xfce_version} |
fa395364 | 30 | Requires: xfce4-panel >= %{xfce_version} |
ed94665a JB |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
71967cfb MB |
34 | xfce4-mixer is the volume control plugin for the Xfce panel. Includes |
35 | a simple sound mixer. | |
ed94665a | 36 | |
209e9ad3 JR |
37 | %description -l pl.UTF-8 |
38 | xfce4-mixer to wtyczka sterująca głośnością dla panelu Xfce. Zawiera | |
39 | prosty mikser dźwięku. | |
ed94665a JB |
40 | |
41 | %prep | |
42 | %setup -q | |
a7f33cf8 | 43 | |
ed94665a | 44 | %build |
2867c233 JR |
45 | %{__libtoolize} |
46 | %{__aclocal} | |
47 | %{__autoheader} | |
48 | %{__automake} | |
49 | %{__autoconf} | |
58fdf33a JR |
50 | %configure \ |
51 | --disable-debug | |
e7308028 | 52 | %{__make} |
ed94665a JB |
53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
0af3ae74 | 60 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hy_AM,hye,ie,ur_PK} |
fa395364 | 61 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libmixer.la |
7c91098c | 62 | |
ed94665a JB |
63 | %find_lang %{name} |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %files -f %{name}.lang | |
69 | %defattr(644,root,root,755) | |
fa395364 | 70 | %doc AUTHORS ChangeLog NEWS README |
d0fa6fe3 | 71 | %attr(755,root,root) %{_bindir}/xfce4-mixer |
fa395364 JR |
72 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libmixer.so |
73 | %{_datadir}/xfce4/panel/plugins/mixer.desktop | |
58fdf33a | 74 | %{_datadir}/xfce4/mixer |
e7308028 MB |
75 | %{_desktopdir}/xfce4-mixer.desktop |
76 | %{_pixmapsdir}/xfce4-mixer | |
fa395364 | 77 | %{_mandir}/man1/xfce4-mixer.1* |