kdesignerplugin/kdesignerplugin.spec

69 lines
2.2 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: kdesignerplugin
Version: 5.10.0
Release: 1mamba
Summary: Integrating KDE frameworks widgets with Qt Designer
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}/kdesignerplugin-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 kdesignerplugin' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This framework provides plugins for Qt Designer that allow it to display the widgets provided by various KDE frameworks, as well as a utility (kgendesignerplugin) that can be used to generate other such plugins from ini-style description files.
%debug_package
%prep
%setup -q
%build
%cmake -d build \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=%{_lib} \
-DLIBEXEC_INSTALL_DIR=%{_lib} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-man --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_bindir}/kgendesignerplugin
%dir %{_libdir}/cmake/KF5DesignerPlugin
%{_libdir}/cmake/KF5DesignerPlugin/KF5DesignerPlugin*.cmake
%{_datadir}/kf5/widgets/pics/*.png
%{_mandir}/man1/kgendesignerplugin.1*
%doc COPYING.LIB
%changelog
* Thu May 14 2015 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba
- automatic version update by autodist
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist
* Sun Mar 22 2015 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
- automatic version update by autodist
* Mon Feb 23 2015 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
- automatic version update by autodist
* Sun Feb 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- package created using the webbuild interface