kdeclarative/kdeclarative.spec

148 lines
5.0 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: kdeclarative
Version: 5.20.0
Release: 1mamba
Summary: Integration of QML and KDE work spaces
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}/kdeclarative-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kconfig-devel
BuildRequires: libgcc
BuildRequires: libkcompletion-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkglobalaccel-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: libepoxy-devel
BuildRequires: libkpackage-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDeclarative provides integration of QML and KDE work spaces.
It's comprises two parts: a library used by the C++ part of your application to intergrate QML with KDE Frameworks specific features, and a series of QML imports that offer bindings to some of the Frameworks.
%package -n lib%{name}
Group: System/Libraries
Summary: Integration of QML and KDE work spaces
%description -n lib%{name}
KDeclarative provides integration of QML and KDE work spaces.
It's comprises two parts: a library used by the C++ part of your application to intergrate QML with KDE Frameworks specific features, and a series of QML imports that offer bindings to some of the Frameworks.
%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_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang kdeclarative5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name} -f kdeclarative5.lang
%defattr(-,root,root)
%{_kde5_libdir}/libKF5Declarative.so.*
%{_kde5_libdir}/libKF5QuickAddons.so.*
%{_kde5_libdir}/libKF5CalendarEvents.so.*
%{_libdir}/qt5/qml/org/kde/draganddrop/*
%{_libdir}/qt5/qml/org/kde/kcoreaddons/*
%{_libdir}/qt5/qml/org/kde/kio/*
%{_libdir}/qt5/qml/org/kde/kquickcontrols/*
%{_libdir}/qt5/qml/org/kde/kquickcontrolsaddons/*
%{_libdir}/qt5/qml/org/kde/kwindowsystem/*
%{_libdir}/qt5/qml/org/kde/private/kquickcontrols/*
%doc COPYING COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/kpackagelauncherqml
%dir %{_kde5_includedir}/KDeclarative
%{_kde5_includedir}/KDeclarative/*
%{_kde5_includedir}/kdeclarative_version.h
%dir %{_libdir}/cmake/KF5Declarative
%{_kde5_libdir}/cmake/KF5Declarative/KF5Declarative*.cmake
%{_kde5_libdir}/libKF5Declarative.so
%{_kde5_libdir}/libKF5QuickAddons.so
%{_kde5_libdir}/libKF5CalendarEvents.so
%{_libdir}/qt5/mkspecs/modules/qt_KDeclarative.pri
%{_libdir}/qt5/mkspecs/modules/qt_QuickAddons.pri
#%doc README.md
%changelog
* Sun Apr 03 2016 Automatic Build System <autodist@mambasoft.it> 5.20.0-1mamba
- automatic version update by autodist
* Sat Feb 27 2016 Automatic Build System <autodist@mambasoft.it> 5.19.0-1mamba
- automatic version update by autodist
* Mon Jan 18 2016 Automatic Build System <autodist@mambasoft.it> 5.18.0-1mamba
- automatic version update by autodist
* Tue Dec 29 2015 Automatic Build System <autodist@mambasoft.it> 5.17.0-1mamba
- automatic version update by autodist
* Tue Dec 08 2015 Automatic Build System <autodist@mambasoft.it> 5.16.0-1mamba
- automatic version update by autodist
* Thu Nov 05 2015 Automatic Build System <autodist@mambasoft.it> 5.15.0-1mamba
- automatic version update by autodist
* Sun Oct 11 2015 Automatic Build System <autodist@mambasoft.it> 5.14.0-1mamba
- automatic version update by autodist
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.12.0-1mamba
- update to 5.12.0
* Sat Jul 04 2015 Automatic Build System <autodist@mambasoft.it> 5.11.0-1mamba
- automatic version update by autodist
* Fri May 22 2015 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba
- automatic version update by autodist
* Thu Apr 30 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist
* Wed Apr 01 2015 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
- automatic version update by autodist
* Sun Mar 15 2015 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
- automatic version update by autodist
* Tue Feb 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- package created using the webbuild interface