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)
Name: kguiaddons
Version: 5.9.0
Release: 3mamba
Summary: Utilities for graphical user interfaces
Release: 4mamba
Summary: KDE Frameworks 5 utilities for graphical user interfaces
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{majver}/kguiaddons-%{version}.tar.xz
License: GPL
License: GPL, LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
@ -22,6 +23,14 @@ BuildRequires: libstdc++6-devel
BuildRequires: libxcb-devel
## AUTOBUILDREQ-END
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
%description
@ -29,7 +38,7 @@ The KDE GUI addons provide utilities for graphical user interfaces in the areas
%package -n lib%{name}
Group: System/Libraries
Summary: Utilities for graphical user interfaces
Summary: KDE Frameworks 5 utilities for graphical user interfaces
%description -n lib%{name}
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
%build
%cmake -d build
%cmake_kde5 -d build
%make
%install
@ -63,22 +72,23 @@ This package contains libraries and header files for developing applications tha
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libKF5GuiAddons.so.*
%{_kde5_libdir}/libKF5GuiAddons.so.*
%doc COPYING COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/KF5/KGuiAddons
%{_includedir}/KF5/KGuiAddons/*
%{_includedir}/KF5/kguiaddons_version.h
%dir %{_libdir}/cmake/KF5GuiAddons
%{_libdir}/cmake/KF5GuiAddons/KF5GuiAddons*.cmake
%{_libdir}/libKF5GuiAddons.so
/usr/mkspecs/modules/qt_KGuiAddons.pri
%{_kde5_includedir}/KGuiAddons
%{_kde5_includedir}/kguiaddons_version.h
%{_kde5_libdir}/cmake/KF5GuiAddons
%{_kde5_libdir}/libKF5GuiAddons.so
%{_kde5_mkspecsdir}/qt_KGuiAddons.pri
%doc README.md
%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
- automatic version update by autodist