69 lines
1.9 KiB
RPMSpec
69 lines
1.9 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: milou
|
||
|
Version: 5.10.5
|
||
|
Release: 1mamba
|
||
|
Summary: KDE Frameworks 5 theme
|
||
|
Group: Graphical Desktop/Look 'n' feel
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.kde.org
|
||
|
Source: https://download.kde.org/stable/plasma/%{version}/milou-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libkconfig-devel
|
||
|
BuildRequires: libkcoreaddons-devel
|
||
|
BuildRequires: libkpackage-devel
|
||
|
BuildRequires: libkrunner-devel
|
||
|
BuildRequires: libkservice-devel
|
||
|
BuildRequires: libplasma-framework-devel
|
||
|
BuildRequires: libqt5-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: rpm-macros-kde5
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
KDE Frameworks 5 theme.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake_kde5 -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%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}/libmilou.so.*
|
||
|
%{_libdir}/qt5/plugins/miloutextplugin.so
|
||
|
%dir %{_libdir}/qt5/qml/org/kde/milou
|
||
|
%{_libdir}/qt5/qml/org/kde/milou/*
|
||
|
%{_datadir}/kservices5/miloutextpreview.desktop
|
||
|
%{_datadir}/kservices5/plasma-applet-org.kde.milou.desktop
|
||
|
%{_kde5_servicetypesdir}/miloupreviewplugin.desktop
|
||
|
%{_datadir}/metainfo/org.kde.milou.appdata.xml
|
||
|
%dir %{_datadir}/plasma/plasmoids/org.kde.milou
|
||
|
%{_datadir}/plasma/plasmoids/org.kde.milou/*
|
||
|
%doc COPYING COPYING.LIB
|
||
|
|
||
|
%changelog
|
||
|
* Sat Sep 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.5-1mamba
|
||
|
- package created using the webbuild interface
|