standardize the specfile

add some missing build requirements [release 5.9.0-4mamba;Sat Apr 25 2015]
This commit is contained in:
Davide Madrisan 2024-01-06 01:36:02 +01:00
parent a8805a97e0
commit 0052d27449

View File

@ -1,15 +1,16 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: kguiaddons Name: kguiaddons
Version: 5.9.0 Version: 5.9.0
Release: 3mamba Release: 4mamba
Summary: Utilities for graphical user interfaces Summary: KDE Frameworks 5 utilities for graphical user interfaces
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{majver}/kguiaddons-%{version}.tar.xz Source: http://download.kde.org/stable/frameworks/%{majver}/kguiaddons-%{version}.tar.xz
License: GPL License: GPL, LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libICE-devel BuildRequires: libICE-devel
@ -22,6 +23,14 @@ BuildRequires: libstdc++6-devel
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: rpm-macros-kde5
BuildRequires: pkg-config
BuildRequires: libQt5X11Extras
BuildRequires: libQt5Core
BuildRequires: libQt5Gui
BuildRequires: libQt5Test
BuildRequires: libQt5Widgets
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -29,7 +38,7 @@ The KDE GUI addons provide utilities for graphical user interfaces in the areas
%package -n lib%{name} %package -n lib%{name}
Group: System/Libraries Group: System/Libraries
Summary: Utilities for graphical user interfaces Summary: KDE Frameworks 5 utilities for graphical user interfaces
%description -n lib%{name} %description -n lib%{name}
The KDE GUI addons provide utilities for graphical user interfaces in the areas of colors, fonts, text, images, keyboard input. The KDE GUI addons provide utilities for graphical user interfaces in the areas of colors, fonts, text, images, keyboard input.
@ -48,7 +57,7 @@ This package contains libraries and header files for developing applications tha
%setup -q %setup -q
%build %build
%cmake -d build %cmake_kde5 -d build
%make %make
%install %install
@ -63,22 +72,23 @@ This package contains libraries and header files for developing applications tha
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libKF5GuiAddons.so.* %{_kde5_libdir}/libKF5GuiAddons.so.*
%doc COPYING COPYING.LIB %doc COPYING COPYING.LIB
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/KF5/KGuiAddons %{_kde5_includedir}/KGuiAddons
%{_includedir}/KF5/KGuiAddons/* %{_kde5_includedir}/kguiaddons_version.h
%{_includedir}/KF5/kguiaddons_version.h %{_kde5_libdir}/cmake/KF5GuiAddons
%dir %{_libdir}/cmake/KF5GuiAddons %{_kde5_libdir}/libKF5GuiAddons.so
%{_libdir}/cmake/KF5GuiAddons/KF5GuiAddons*.cmake %{_kde5_mkspecsdir}/qt_KGuiAddons.pri
%{_libdir}/libKF5GuiAddons.so
/usr/mkspecs/modules/qt_KGuiAddons.pri
%doc README.md %doc README.md
%changelog %changelog
* Sat Apr 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-4mamba
- standardize the specfile
- add some missing build requirements
* Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-3mamba * Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-3mamba
- automatic version update by autodist - automatic version update by autodist