65 lines
1.7 KiB
RPMSpec
65 lines
1.7 KiB
RPMSpec
%global xfceversion 4.14
|
|
%global _hardened_build 1
|
|
|
|
Name: xfce4-pulseaudio-plugin
|
|
Version: 0.4.3
|
|
Release: 1
|
|
Summary: Pulseaudio plugin for Xfce4
|
|
License: GPLv2+
|
|
#Group: Development/Libraries
|
|
URL: https://github.com/andrzej-r/xfce4-pulseaudio-plugin
|
|
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/0.4/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
#BuildArch: noarch
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: exo-devel
|
|
BuildRequires: glib2-devel >= 2.24.0
|
|
BuildRequires: gtk3-devel >= 3.6.0
|
|
BuildRequires: keybinder3-devel
|
|
BuildRequires: libnotify-devel
|
|
BuildRequires: libxfce4ui-devel >= %{xfceversion}
|
|
BuildRequires: libxfce4util-devel >= %{xfceversion}
|
|
BuildRequires: pulseaudio-libs-devel >= 0.9.19
|
|
BuildRequires: xfce4-panel-devel >= %{xfceversion}
|
|
BuildRequires: xfconf-devel >= 4.6.0
|
|
BuildRequires: intltool
|
|
Requires: pulseaudio
|
|
Requires: pavucontrol
|
|
|
|
%description
|
|
Pulseaudio panel plugin for Xfce Desktop Environment
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
# remove empty files
|
|
rm -f AUTHORS README
|
|
|
|
%build
|
|
%configure
|
|
%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
|
|
%doc ChangeLog
|
|
%{license} COPYING
|
|
%{_libdir}/xfce4/panel/plugins/*.so
|
|
%{_datadir}/xfce4/panel/plugins/*.desktop
|
|
%{_datadir}/icons/hicolor/48x48/apps/%{name}*
|
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}*
|
|
%{_datadir}/icons/hicolor/scalable/status/*
|
|
|
|
%changelog
|
|
* Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.4.3-1
|
|
- Init package
|