110 lines
3.3 KiB
RPMSpec
110 lines
3.3 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
Name: kconfigwidgets
|
|
Version: 5.9.0
|
|
Release: 1mamba
|
|
Summary: Widgets for configuration dialogs
|
|
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}/kconfigwidgets-%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: kconfig-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libkauth-devel
|
|
BuildRequires: libkcodecs-devel
|
|
BuildRequires: libkcoreaddons-devel
|
|
BuildRequires: libkguiaddons-devel
|
|
BuildRequires: libki18n-devel
|
|
BuildRequires: libkwidgetsaddons-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: kdoctools
|
|
BuildRequires: cmake
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
KConfigWidgets provides easy-to-use classes to create configuration dialogs, as well as a set of widgets which uses KConfig to store their settings.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Widgets for configuration dialogs
|
|
|
|
%description -n lib%{name}
|
|
KConfigWidgets provides easy-to-use classes to create configuration dialogs, as well as a set of widgets which uses KConfig to store their settings.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake -d build \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DLIB_INSTALL_DIR=%{_lib} \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
|
-DBUILD_TESTING=OFF
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%find_lang kconfigwidgets5
|
|
#%find_lang kf5_entry
|
|
#cat kf5_entry.lang >> kconfigwidgets5.lang
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files -n lib%{name} -f kconfigwidgets5.lang
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libKF5ConfigWidgets.so.*
|
|
%{_datadir}/kf5/kconfigwidgets/pics/ktip-bulb.png
|
|
%{_datadir}/locale/*/kf5_entry.desktop
|
|
%doc COPYING COPYING.LIB
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/preparetips5
|
|
%dir %{_includedir}/KF5/KConfigWidgets
|
|
%{_includedir}/KF5/KConfigWidgets/*
|
|
%{_includedir}/KF5/kconfigwidgets_version.h
|
|
%dir %{_libdir}/cmake/KF5ConfigWidgets
|
|
%{_libdir}/cmake/KF5ConfigWidgets/KF5ConfigWidgets*.cmake
|
|
%{_libdir}/libKF5ConfigWidgets.so
|
|
%{_libdir}/qt5/mkspecs/modules/qt_KConfigWidgets.pri
|
|
%{_mandir}/man1/preparetips5.1.gz
|
|
%doc README.md
|
|
|
|
|
|
%changelog
|
|
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Mar 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.8.0-1mamba
|
|
- update to 5.8.0
|
|
|
|
* Tue Mar 03 2015 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Feb 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
|
|
- package created using the webbuild interface
|