standardize the specfile and add some missing build requirements [release 5.9.0-2mamba;Sun Apr 26 2015]
This commit is contained in:
parent
258aa8ad6c
commit
6a276f2c56
@ -1,15 +1,16 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
|
|
||||||
Name: kconfigwidgets
|
Name: kconfigwidgets
|
||||||
Version: 5.9.0
|
Version: 5.9.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Widgets for configuration dialogs
|
Summary: KDE Frameworks 5 widgets for configuration dialogs
|
||||||
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}/kconfigwidgets-%{version}.tar.xz
|
Source: http://download.kde.org/stable/frameworks/%{majver}/kconfigwidgets-%{version}.tar.xz
|
||||||
License: GPL
|
License: GPL, LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: kconfig-devel
|
BuildRequires: kconfig-devel
|
||||||
@ -23,8 +24,19 @@ BuildRequires: libkwidgetsaddons-devel
|
|||||||
BuildRequires: libqt5-devel
|
BuildRequires: libqt5-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: kdoctools
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
BuildRequires: rpm-macros-kde5
|
||||||
|
BuildRequires: libQt5Core
|
||||||
|
BuildRequires: libQt5Gui
|
||||||
|
BuildRequires: libQt5Widgets
|
||||||
|
BuildRequires: libQt5DBus
|
||||||
|
BuildRequires: libQt5Test
|
||||||
|
BuildRequires: libkconfig-devel
|
||||||
|
BuildRequires: libki18n-devel
|
||||||
|
BuildRequires: kdoctools-devel
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: python
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
@ -42,6 +54,12 @@ KConfigWidgets provides easy-to-use classes to create configuration dialogs, as
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: libkauth-devel
|
||||||
|
Requires: libkcodecs-devel
|
||||||
|
Requires: libkcoreaddons-devel
|
||||||
|
Requires: libkguiaddons-devel
|
||||||
|
Requires: libki18n-devel
|
||||||
|
Requires: libkwidgetsaddons-devel
|
||||||
|
|
||||||
%description -n lib%{name}-devel
|
%description -n lib%{name}-devel
|
||||||
This package contains libraries and header files for developing applications that use %{name}.
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
@ -52,21 +70,14 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build \
|
%cmake_kde5 -d build
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DLIB_INSTALL_DIR=%{_lib} \
|
|
||||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
|
||||||
-DBUILD_TESTING=OFF
|
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
|
||||||
%find_lang kconfigwidgets5
|
%find_lang kconfigwidgets5_qt --with-qt --all-name || touch kconfigwidgets5_qt.lang
|
||||||
#%find_lang kf5_entry
|
|
||||||
#cat kf5_entry.lang >> kconfigwidgets5.lang
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -74,28 +85,28 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%post -n lib%{name} -p /sbin/ldconfig
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
%postun -n lib%{name} -p /sbin/ldconfig
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n lib%{name} -f kconfigwidgets5.lang
|
%files -n lib%{name} -f kconfigwidgets5_qt.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libKF5ConfigWidgets.so.*
|
%{_kde5_bindir}/preparetips5
|
||||||
%{_datadir}/kf5/kconfigwidgets/pics/ktip-bulb.png
|
%{_kde5_libdir}/libKF5ConfigWidgets.so.*
|
||||||
%{_datadir}/locale/*/kf5_entry.desktop
|
%{_kde5_datadir}/kf5/kconfigwidgets
|
||||||
|
%{_kde5_datadir}/locale/*/kf5_entry.desktop
|
||||||
|
%{_kde5_mandir}/man1/*
|
||||||
%doc COPYING COPYING.LIB
|
%doc COPYING COPYING.LIB
|
||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/preparetips5
|
%{_kde5_includedir}/KConfigWidgets
|
||||||
%dir %{_includedir}/KF5/KConfigWidgets
|
%{_kde5_includedir}/kconfigwidgets_version.h
|
||||||
%{_includedir}/KF5/KConfigWidgets/*
|
%{_kde5_libdir}/cmake/KF5ConfigWidgets
|
||||||
%{_includedir}/KF5/kconfigwidgets_version.h
|
%{_kde5_libdir}/libKF5ConfigWidgets.so
|
||||||
%dir %{_libdir}/cmake/KF5ConfigWidgets
|
%{_kde5_mkspecsdir}/qt_KConfigWidgets.pri
|
||||||
%{_libdir}/cmake/KF5ConfigWidgets/KF5ConfigWidgets*.cmake
|
|
||||||
%{_libdir}/libKF5ConfigWidgets.so
|
|
||||||
%{_libdir}/qt5/mkspecs/modules/qt_KConfigWidgets.pri
|
|
||||||
%{_mandir}/man1/preparetips5.1.gz
|
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Apr 26 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-2mamba
|
||||||
|
- standardize the specfile and add some missing build requirements
|
||||||
|
|
||||||
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
|
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user