kdeclarative/kdeclarative.spec

134 lines
4.6 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: kdeclarative
Version: 5.11.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
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
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)
%{_libdir}/libKF5Declarative.so.*
%{_libdir}/libKF5QuickAddons.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 %{_includedir}/KF5/KDeclarative
%dir %{_includedir}/KF5/KDeclarative/KDeclarative
%{_includedir}/KF5/KDeclarative/KDeclarative/*
%dir %{_includedir}/KF5/KDeclarative/QuickAddons
%{_includedir}/KF5/KDeclarative/QuickAddons/*
%dir %{_includedir}/KF5/KDeclarative/kdeclarative
%{_includedir}/KF5/KDeclarative/kdeclarative/*.h
%dir %{_includedir}/KF5/KDeclarative/quickaddons
%{_includedir}/KF5/KDeclarative/quickaddons/*.h
%{_includedir}/KF5/kdeclarative_version.h
%dir %{_includedir}/KF5/KDeclarative/KQuickAddons
%{_includedir}/KF5/KDeclarative/KQuickAddons/*
%dir %{_includedir}/KF5/KDeclarative/kquickaddons
%{_includedir}/KF5/KDeclarative/kquickaddons/*.h
%dir %{_libdir}/cmake/KF5Declarative
%{_libdir}/cmake/KF5Declarative/KF5Declarative*.cmake
%{_libdir}/libKF5Declarative.so
%{_libdir}/libKF5QuickAddons.so
%{_libdir}/qt5/mkspecs/modules/qt_KDeclarative.pri
%{_libdir}/qt5/mkspecs/modules/qt_QuickAddons.pri
#%doc README.md
%changelog
* 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