]> git.pld-linux.org Git - packages/xfce4-mixer.git/blob - xfce4-mixer.spec
- fix build
[packages/xfce4-mixer.git] / xfce4-mixer.spec
1 %define         xfce_version    4.12.0
2 Summary:        Volume control plugin for the Xfce panel
3 Summary(pl.UTF-8):      Wtyczka sterująca głośnością dla panelu Xfce
4 Name:           xfce4-mixer
5 Version:        4.11.0
6 Release:        6
7 License:        GPL v2
8 Group:          X11/Applications/Sound
9 Source0:        http://archive.xfce.org/src/apps/xfce4-mixer/4.11/%{name}-%{version}.tar.bz2
10 # Source0-md5:  1b3753b91224867a3a2dfddda239c28d
11 Patch0:         dbus-glib.patch
12 URL:            http://www.xfce.org/projects/xfce4-mixer/
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  automake
15 BuildRequires:  gettext-tools
16 BuildRequires:  gstreamer0.10-plugins-base-devel >= 0.10.25
17 BuildRequires:  gtk+2-devel >= 2:2.10.6
18 BuildRequires:  intltool >= 0.35.0
19 BuildRequires:  libtool
20 BuildRequires:  libxfce4ui-devel >= %{xfce_version}
21 BuildRequires:  pkgconfig >= 1:0.9.0
22 BuildRequires:  xfce4-dev-tools >= 4.6.0
23 BuildRequires:  xfce4-panel-devel >= %{xfce_version}
24 BuildRequires:  xfconf-devel >= %{xfce_version}
25 Requires:       xfce4-panel >= %{xfce_version}
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 xfce4-mixer is the volume control plugin for the Xfce panel. Includes
30 a simple sound mixer.
31
32 %description -l pl.UTF-8
33 xfce4-mixer to wtyczka sterująca głośnością dla panelu Xfce. Zawiera
34 prosty mikser dźwięku.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 %{__libtoolize}
42 %{__aclocal}
43 %{__autoheader}
44 %{__automake}
45 %{__autoconf}
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
56 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libmixer.la
57
58 %find_lang %{name}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files -f %{name}.lang
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS README
66 %attr(755,root,root) %{_bindir}/xfce4-mixer
67 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libmixer.so
68 %{_datadir}/xfce4/panel/plugins/mixer.desktop
69 %{_datadir}/xfce4-mixer
70 %{_desktopdir}/xfce4-mixer.desktop
71 %{_pixmapsdir}/xfce4-mixer
72 %{_mandir}/man1/xfce4-mixer.1*
This page took 0.105033 seconds and 4 git commands to generate.