]> git.pld-linux.org Git - packages/xfce4-mixer.git/blob - xfce4-mixer.spec
- force rebuilding of xfce4-mixer.desktop file for the panel-plugin, rel. 2
[packages/xfce4-mixer.git] / xfce4-mixer.spec
1 Summary:        Volume control plugin for the Xfce panel
2 Summary(pl.UTF-8):      Wtyczka sterująca głośnością dla panelu Xfce
3 Name:           xfce4-mixer
4 Version:        4.4.3
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Sound
8 Source0:        http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
9 # Source0-md5:  0d7b402acaffdb5d8b292f2ce3ea1441
10 Patch0:         %{name}-locale-names.patch
11 URL:            http://www.xfce.org/
12 BuildRequires:  alsa-lib-devel >= 1.0.11
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  automake
15 BuildRequires:  gettext-devel
16 BuildRequires:  intltool >= 0.35.0
17 BuildRequires:  libtool
18 BuildRequires:  libxfce4mcs-devel >= %{version}
19 BuildRequires:  pkgconfig >= 1:0.9.0
20 BuildRequires:  rpmbuild(macros) >= 1.311
21 BuildRequires:  xfce-mcs-manager-devel >= %{version}
22 BuildRequires:  xfce4-dev-tools >= 4.4.0.1
23 BuildRequires:  xfce4-panel-devel >= %{version}
24 Requires(post,postun):  gtk+2
25 Requires(post,postun):  hicolor-icon-theme
26 Requires:       alsa-lib >= 1.0.11
27 Requires:       xfce4-panel >= %{version}
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 xfce4-mixer is the volume control plugin for the Xfce panel. Includes
32 a simple sound mixer.
33
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.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41
42 mv -f po/{nb_NO,nb}.po
43 mv -f po/{pt_PT,pt}.po
44
45 rm -f panel-plugin/xfce4-mixer.desktop
46
47 %build
48 %{__intltoolize}
49 %{__libtoolize}
50 %{__aclocal}
51 %{__autoheader}
52 %{__automake}
53 %{__autoconf}
54 %configure \
55         --disable-static \
56         --with-sound=alsa
57
58 %{__make} -j1
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/*/*.la
67
68 %find_lang %{name}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 %update_icon_cache hicolor
75
76 %postun
77 %update_icon_cache hicolor
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc AUTHORS COPYING README TODO
82 %attr(755,root,root) %{_bindir}/xfce4-mixer
83 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
84 # why no -avoid-version?
85 %attr(755,root,root) %{_libdir}/xfce4/modules/lib*.so*
86 %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-mixer-plugin
87 %{_datadir}/xfce4/panel-plugins/xfce4-mixer.desktop
88 %{_iconsdir}/hicolor/*/*/*
89
90 %{_desktopdir}/xfce-mixer-settings.desktop
This page took 0.044414 seconds and 4 git commands to generate.