]> git.pld-linux.org Git - packages/xfce4-mixer.git/blob - xfce4-mixer.spec
- R(post,postun): hicolor-icon-theme
[packages/xfce4-mixer.git] / xfce4-mixer.spec
1 Summary:        Volume control plugin for the Xfce panel
2 Summary(pl):    Wtyczka steruj±ca g³o¶no¶ci± dla panelu Xfce
3 Name:           xfce4-mixer
4 Version:        4.3.90.2
5 Release:        2
6 License:        BSD
7 Group:          X11/Applications/Sound
8 Source0:        http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
9 # Source0-md5:  27bb4b4a6d1ccd598e8402ed7bb280d0
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:  xfce4-dev-tools >= %{version}
22 BuildRequires:  xfce4-panel-devel >= %{version}
23 BuildRequires:  xfce-mcs-manager-devel >= %{version}
24 Requires(post,postun):  gtk+2 >= 2:2.10.0
25 Requires(post,postun):  hicolor-icon-theme
26 Requires:       alsa-lib >= 1.0.11
27 Requires):      gtk+2 >= 2:2.10.0
28 Requires:       xfce4-panel >= %{version}
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 xfce4-mixer is the volume control plugin for the Xfce panel.
33 Includes a simple sound mixer.
34
35 %description -l pl
36 xfce4-mixer to wtyczka steruj±ca g³o¶no¶ci± dla panelu Xfce. Zawiera
37 prosty mikser d¼wiêku.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42
43 mv -f po/{nb_NO,nb}.po
44 mv -f po/{pt_PT,pt}.po
45
46 %build
47 %{__libtoolize}
48 %{__aclocal}
49 %{__autoheader}
50 %{__automake}
51 %{__autoconf}
52 %configure \
53         --disable-static \
54         --with-sound=alsa
55         
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/*/*.la
65
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)
79 %doc AUTHORS COPYING README TODO
80 %attr(755,root,root) %{_bindir}/xfce4-mixer
81 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
82 # why no -avoid-version?
83 %attr(755,root,root) %{_libdir}/xfce4/modules/lib*.so*
84 %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-mixer-plugin
85 %{_datadir}/xfce4/panel-plugins/xfce4-mixer.desktop
86 %{_iconsdir}/hicolor/*/*/*
87
88 %{_desktopdir}/xfce-mixer-settings.desktop
This page took 0.10933 seconds and 4 git commands to generate.