From 6819b9600f83e4ab1e283bf89b833d50c1f53c58 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 02:39:20 +0100 Subject: [PATCH] package created using the webbuild interface [release 18.08.0-1mamba;Sun Aug 26 2018] --- README.md | 2 ++ kpkpass.spec | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 kpkpass.spec diff --git a/README.md b/README.md index db3ca3b..0223c03 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kpkpass +KDE Frameworks 5 Library to deal with Apple Wallet pass files. + diff --git a/kpkpass.spec b/kpkpass.spec new file mode 100644 index 0000000..8b921a2 --- /dev/null +++ b/kpkpass.spec @@ -0,0 +1,86 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: kpkpass +Version: 18.08.0 +Release: 1mamba +Summary: KDE Frameworks 5 Library to deal with Apple Wallet pass files +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kde.org +Source: https://download.kde.org/stable/applications/%{version}/src/kpkpass-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libkarchive-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +KDE Frameworks 5 Library to deal with Apple Wallet pass files. + +%package -n lib%{name} +Group: System/Libraries +Summary: KDE Frameworks 5 Library to deal with Apple Wallet pass files + +%description -n lib%{name} +KDE Frameworks 5 Library to deal with Apple Wallet pass files. + +%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 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} +/sbin/ldconfig +exit 0 + +%postun -n lib%{name} +/sbin/ldconfig +exit 0 + +%files -n lib%{name} +%defattr(-,root,root) +%{_sysconfdir}/xdg/org_kde_kpkpass.categories +%{_datadir}/mime/packages/application-vnd-apple-pkpass.xml +%{_libdir}/libKPimPkPass.so.* +%doc COPYING.LIB + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/KPim/KPkPass +%{_includedir}/KPim/KPkPass/* +%dir %{_libdir}/cmake/KPimPkPass +%{_libdir}/cmake/KPimPkPass/KPimPkPass*.cmake +%{_libdir}/libKPimPkPass.so + +%changelog +* Sun Aug 26 2018 Silvan Calarco 18.08.0-1mamba +- package created using the webbuild interface