2024-01-06 02:34:43 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: kpackage
|
2024-01-06 02:34:43 +01:00
|
|
|
Version: 5.16.0
|
2024-01-06 02:34:43 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Package framework lets the user to install and load packages of non binary content
|
|
|
|
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}/kpackage-%{version}.tar.xz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libkarchive-devel
|
|
|
|
BuildRequires: libkconfig-devel
|
|
|
|
BuildRequires: libkcoreaddons-devel
|
|
|
|
BuildRequires: libki18n-devel
|
|
|
|
BuildRequires: libqt5-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Package framework lets the user to install and load packages of non binary content such as scripted extensions or graphic assets, as they were traditional plugins.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
2024-01-06 02:34:43 +01:00
|
|
|
%find_lang %{name}5_qt --with-man --with-qt --all-name || touch %{name}5_qt.lang
|
2024-01-06 02:34:43 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/kpackagetool5
|
|
|
|
%{_mandir}/man1/kpackagetool5.1*
|
|
|
|
|
2024-01-06 02:34:43 +01:00
|
|
|
%files -n lib%{name} -f kpackage5_qt.lang
|
2024-01-06 02:34:43 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 02:34:43 +01:00
|
|
|
%{_datadir}/kservicetypes5/kpackage-packagestructure.desktop
|
2024-01-06 02:34:43 +01:00
|
|
|
%{_libdir}/libKF5Package.so.*
|
2024-01-06 02:34:43 +01:00
|
|
|
%doc COPYING COPYING.LIB
|
2024-01-06 02:34:43 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/KF5/KPackage
|
|
|
|
%dir %{_includedir}/KF5/KPackage/KPackage
|
|
|
|
%{_includedir}/KF5/KPackage/KPackage/*
|
|
|
|
%dir %{_includedir}/KF5/KPackage/kpackage
|
|
|
|
%{_includedir}/KF5/KPackage/kpackage/*.h
|
|
|
|
%{_includedir}/KF5/kpackage_version.h
|
|
|
|
%dir %{_libdir}/cmake/KF5Package
|
|
|
|
%{_libdir}/cmake/KF5Package/KF5Package*.cmake
|
|
|
|
%{_libdir}/libKF5Package.so
|
2024-01-06 02:34:43 +01:00
|
|
|
#%doc README.md
|
2024-01-06 02:34:43 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 02:34:43 +01:00
|
|
|
* Tue Nov 24 2015 Automatic Build System <autodist@mambasoft.it> 5.16.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:43 +01:00
|
|
|
* Sun Oct 25 2015 Automatic Build System <autodist@mambasoft.it> 5.15.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:43 +01:00
|
|
|
* Sat Sep 26 2015 Automatic Build System <autodist@mambasoft.it> 5.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:43 +01:00
|
|
|
* Thu Aug 20 2015 Automatic Build System <autodist@mambasoft.it> 5.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:43 +01:00
|
|
|
* Sun Aug 02 2015 Automatic Build System <autodist@mambasoft.it> 5.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:43 +01:00
|
|
|
* Wed Jun 24 2015 Automatic Build System <autodist@mambasoft.it> 5.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:43 +01:00
|
|
|
* Mon May 18 2015 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:43 +01:00
|
|
|
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.8.0-1mamba
|
|
|
|
- package created using the webbuild interface
|