From d16685d86e3b654aff03fd58f2904abf5ea68e97 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 02:34:43 +0100 Subject: [PATCH] automatic version update by autodist [release 5.9.0-1mamba;Wed Apr 15 2015] --- README.md | 2 + kpackage.spec | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 kpackage.spec diff --git a/README.md b/README.md index 2cc0b2c..a8dc899 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kpackage +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. + diff --git a/kpackage.spec b/kpackage.spec new file mode 100644 index 0000000..24903d4 --- /dev/null +++ b/kpackage.spec @@ -0,0 +1,100 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: kpackage +Version: 5.9.0 +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 +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 + +%find_lang libkpackage5 + +%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 +%{_datadir}/kservicetypes5/kpackage-packagestructure.desktop +%lang(de) %{_mandir}/de/man1/kpackagetool5.1* +%{_mandir}/man1/kpackagetool5.1* +%lang(nl) %{_mandir}/nl/man1/kpackagetool5.1* +%lang(pt_BR) %{_mandir}/pt_BR/man1/kpackagetool5.1* +%lang(sv) %{_mandir}/sv/man1/kpackagetool5.1* +%lang(uk) %{_mandir}/uk/man1/kpackagetool5.1* +%doc COPYING COPYING.LIB + +%files -n lib%{name} -f libkpackage5.lang +%defattr(-,root,root) +%{_libdir}/libKF5Package.so.* + +%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 +%doc README.md + +%changelog +* Wed Apr 15 2015 Automatic Build System 5.9.0-1mamba +- automatic version update by autodist + +* Mon Mar 30 2015 Silvan Calarco 5.8.0-1mamba +- package created using the webbuild interface