]> git.pld-linux.org Git - packages/xfce4-mixer.git/blob - xfce4-mixer.spec
9530edbcba55661c95924898816a222119cd8558
[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:        1
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:  xfce4-dev-tools >= %{version}
21 BuildRequires:  xfce4-panel-devel >= %{version}
22 BuildRequires:  xfce-mcs-manager-devel >= %{version}
23 Requires(post,postun):  gtk+2 >= 2:2.10.0
24 Requires:       alsa-lib >= 1.0.11
25 Requires:       xfce4-panel >= %{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.
30 Includes a simple sound mixer.
31
32 %description -l pl
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 mv -f po/{nb_NO,nb}.po
41 mv -f po/{pt_PT,pt}.po
42
43 %build
44 %{__libtoolize}
45 %{__aclocal}
46 %{__autoheader}
47 %{__automake}
48 %{__autoconf}
49 LDFLAGS="%{rpmldflags} -Wl,--as-needed"
50 %configure \
51         --disable-static \
52         --with-sound=alsa
53         
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/*/*.la
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
71
72 %postun
73 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
74
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS COPYING README TODO
78 %attr(755,root,root) %{_bindir}/xfce4-mixer
79 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
80 # why no -avoid-version?
81 %attr(755,root,root) %{_libdir}/xfce4/modules/lib*.so*
82 %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-mixer-plugin
83 %{_datadir}/xfce4/panel-plugins/xfce4-mixer.desktop
84 %{_iconsdir}/hicolor/*/*/*
85
86 %{_desktopdir}/xfce-mixer-settings.desktop
This page took 0.056544 seconds and 3 git commands to generate.