diff --git a/README.md b/README.md index 2fb0f9b..2a42013 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kdesignerplugin +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. + diff --git a/kdesignerplugin.spec b/kdesignerplugin.spec new file mode 100644 index 0000000..cfb1bf8 --- /dev/null +++ b/kdesignerplugin.spec @@ -0,0 +1,71 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: kdesignerplugin +Version: 5.9.0 +Release: 1mamba +Summary: Integrating KDE frameworks widgets with Qt Designer +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/kgendesignerplugin +%dir %{_libdir}/cmake/KF5DesignerPlugin +%{_libdir}/cmake/KF5DesignerPlugin/KF5DesignerPlugin*.cmake +%{_datadir}/kf5/widgets/pics/*.png +%{_datadir}/locale/*/LC_MESSAGES/kdesignerplugin5_qt.qm +%{_mandir}/de/man1/kgendesignerplugin.1* +%{_mandir}/man1/kgendesignerplugin.1* +%{_mandir}/nl/man1/kgendesignerplugin.1* +%{_mandir}/pt_BR/man1/kgendesignerplugin.1* +%{_mandir}/sv/man1/kgendesignerplugin.1* +%{_mandir}/uk/man1/kgendesignerplugin.1* +%doc COPYING.LIB + +%changelog +* Wed Apr 15 2015 Automatic Build System 5.9.0-1mamba +- automatic version update by autodist + +* Sun Mar 22 2015 Automatic Build System 5.8.0-1mamba +- automatic version update by autodist + +* Mon Feb 23 2015 Automatic Build System 5.7.0-1mamba +- automatic version update by autodist + +* Sun Feb 15 2015 Silvan Calarco 5.6.0-1mamba +- package created using the webbuild interface