plasma-pa/plasma-pa.spec

122 lines
4.3 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: plasma-pa
Version: 5.12.3
Release: 1mamba
Summary: KDE Frameworks 5 Pulseaudio configuration
Group: Graphical Desktop/Applications/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://download.kde.org/stable/plasma/%{version}/plasma-pa-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libGConf-devel
BuildRequires: libcanberra-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libkconfig-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkdeclarative-devel
BuildRequires: libkglobalaccel-devel
BuildRequires: libki18n-devel
BuildRequires: libkpackage-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libpulseaudio-glib-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE Frameworks 5 Pulseaudio configuration.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
install -d -m0755 %{buildroot}%{_kde4_kconfupdatedir}
mv %{buildroot}%{_datadir}/kde4/apps/kconf_update/* %{buildroot}%{_kde4_kconfupdatedir}/
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_libdir}/qt5/plugins/kcms/kcm_pulseaudio.so
%{_libdir}/qt5/qml/org/kde/plasma/private/volume/*
%{_datadir}/doc/HTML/en/kcontrol/plasma-pa/index.cache.bz2
%{_datadir}/doc/HTML/en/kcontrol/plasma-pa/index.docbook
%{_datadir}/kconf_update/disable_kmix.upd
%{_datadir}/kconf_update/plasmaVolumeDisableKMixAutostart.pl
%{_kde4_kconfupdatedir}/disable_kmix.upd
%{_kde4_kconfupdatedir}/plasmaVolumeDisableKMixAutostart.pl
%dir %{_datadir}/kpackage/kcms/kcm_pulseaudio
%{_datadir}/kpackage/kcms/kcm_pulseaudio/*
%{_datadir}/kservices5/kcm_pulseaudio.desktop
%{_datadir}/kservices5/plasma-applet-org.kde.plasma.volume.desktop
%{_datadir}/metainfo/org.kde.plasma.volume.appdata.xml
%dir %{_datadir}/plasma/plasmoids/org.kde.plasma.volume
%{_datadir}/plasma/plasmoids/org.kde.plasma.volume/*
%lang(ca) %{_datadir}/doc/HTML/ca/kcontrol/plasma-pa
%lang(de) %{_datadir}/doc/HTML/de/kcontrol/plasma-pa
%lang(it) %{_datadir}/doc/HTML/it/kcontrol/plasma-pa
%lang(nl) %{_datadir}/doc/HTML/nl/kcontrol/plasma-pa
%lang(pt) %{_datadir}/doc/HTML/pt/kcontrol/plasma-pa
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kcontrol/plasma-pa
#%lang(sv) %{_datadir}/doc/HTML/sv/kcontrol/plasma-pa
%lang(uk) %{_datadir}/doc/HTML/uk/kcontrol/plasma-pa
%doc COPYING COPYING.LIB
%changelog
* Wed Mar 07 2018 Automatic Build System <autodist@mambasoft.it> 5.12.3-1mamba
- automatic version update by autodist
* Wed Feb 21 2018 Automatic Build System <autodist@mambasoft.it> 5.12.2-1mamba
- automatic version update by autodist
* Wed Feb 14 2018 Automatic Build System <autodist@mambasoft.it> 5.12.1-1mamba
- automatic version update by autodist
* Fri Feb 09 2018 Automatic Build System <autodist@mambasoft.it> 5.12.0-1mamba
- automatic version update by autodist
* Wed Jan 03 2018 Automatic Build System <autodist@mambasoft.it> 5.11.5-1mamba
- automatic version update by autodist
* Thu Dec 07 2017 Automatic Build System <autodist@mambasoft.it> 5.11.4-1mamba
- automatic version update by autodist
* Wed Nov 08 2017 Automatic Build System <autodist@mambasoft.it> 5.11.3-1mamba
- automatic version update by autodist
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 5.11.2-1mamba
- automatic version update by autodist
* Mon Oct 23 2017 Automatic Build System <autodist@mambasoft.it> 5.11.1-1mamba
- automatic version update by autodist
* Mon Oct 23 2017 Automatic Build System <autodist@mambasoft.it> 5.11.0-1mamba
- automatic version update by autodist
* Sat Sep 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.5-1mamba
- package created using the webbuild interface