commit
37d24d0f11
BIN
xfce4-mpc-plugin-0.5.2.tar.bz2
Normal file
BIN
xfce4-mpc-plugin-0.5.2.tar.bz2
Normal file
Binary file not shown.
54
xfce4-mpc-plugin.spec
Normal file
54
xfce4-mpc-plugin.spec
Normal file
@ -0,0 +1,54 @@
|
||||
%global xfceversion 4.14
|
||||
%global _hardened_build 1
|
||||
|
||||
Name: xfce4-mpc-plugin
|
||||
Version: 0.5.2
|
||||
Release: 1
|
||||
Summary: MPD client for the Xfce panel
|
||||
License: ISC
|
||||
#Group: Development/Libraries
|
||||
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
|
||||
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/0.5/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
#BuildArch: noarch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: exo-devel >= 0.5.0
|
||||
BuildRequires: libmpd-devel >= 0.12
|
||||
BuildRequires: libxfce4ui-devel >= %{xfceversion}
|
||||
BuildRequires: xfce4-panel-devel >= %{xfceversion}
|
||||
BuildRequires: gettext
|
||||
BuildRequires: intltool
|
||||
Requires: xfce4-panel >= %{xfceversion}
|
||||
|
||||
%description
|
||||
This is a client for MPD music player which is added into a Xfce panel as a
|
||||
plugin. It can control the playback and show the currently playing song.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# remove la file
|
||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
# make sure debuginfo is generated properly
|
||||
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog README TODO
|
||||
%{_libdir}/xfce4/panel/plugins/*.so
|
||||
%{_datadir}/xfce4/panel/plugins/*.desktop
|
||||
|
||||
%changelog
|
||||
* Mon Jul 27 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.5.2-1
|
||||
- Init package
|
||||
Loading…
x
Reference in New Issue
Block a user