]> git.pld-linux.org Git - packages/xfce4-mpc-plugin.git/blob - xfce4-mpc-plugin.spec
- up to 0.5.3
[packages/xfce4-mpc-plugin.git] / xfce4-mpc-plugin.spec
1 Summary:        A mpc plugin for the Xfce panel
2 Summary(pl.UTF-8):      Wtyczka mpc dla panelu Xfce
3 Name:           xfce4-mpc-plugin
4 Version:        0.5.3
5 Release:        1
6 License:        BSD-like
7 Group:          X11/Applications
8 Source0:        https://archive.xfce.org/src/panel-plugins/xfce4-mpc-plugin/0.5/%{name}-%{version}.tar.bz2
9 # Source0-md5:  e27cce631114eb9974669d3521198fb4
10 URL:            https://goodies.xfce.org/projects/panel-plugins/xfce4-mpc-plugin
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  exo-devel >= 0.8.0
14 BuildRequires:  gettext-tools
15 BuildRequires:  intltool >= 0.35.5
16 BuildRequires:  libmpd-devel >= 0.12
17 BuildRequires:  libxfce4ui-devel >= 4.14.0
18 BuildRequires:  pkgconfig
19 BuildRequires:  xfce4-dev-tools >= 4.14.0
20 BuildRequires:  xfce4-panel-devel >= 4.14.0
21 Requires:       xfce4-panel >= 4.14.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 A client plugin for the Music Player Daemon.
26
27 %description -l pl.UTF-8
28 Wtyczka klienta Music Player Daemon.
29
30 %prep
31 %setup -q
32
33 %build
34 %{__intltoolize}
35 %{__libtoolize}
36 %{__aclocal}
37 %{__autoconf}
38 %{__autoheader}
39 %{__automake}
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
50
51 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{hye,ie,ur_PK}
52 %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{hy_AM,hy}
53
54 %find_lang %{name}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc AUTHORS NEWS README
62 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libmpc.so
63 %{_datadir}/xfce4/panel/plugins/xfce4-mpc-plugin.desktop
This page took 0.120547 seconds and 4 git commands to generate.