From 9868c5cf031e57dd0ef770a9cf2bd0cb8addee2e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:42:25 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.1.4-1mamba;Sat Jan 02 2021] --- README.md | 2 ++ libjcat.spec | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 libjcat.spec diff --git a/README.md b/README.md index 75b7ba0..7cc6539 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libjcat +This library allows reading and writing gzip-compressed JSON catalog files, which can be used to store GPG, PKCS-7 and SHA-256 checksums for each file. + diff --git a/libjcat.spec b/libjcat.spec new file mode 100644 index 0000000..87aeaee --- /dev/null +++ b/libjcat.spec @@ -0,0 +1,92 @@ +Name: libjcat +Version: 0.1.4 +Release: 1mamba +Summary: Library which allows reading and writing gzip-compressed JSON catalog files +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/hughsie/libjcat +Source: https://github.com/hughsie/libjcat.git/%{version}/libjcat-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libglib-devel +BuildRequires: libgnutls-devel +BuildRequires: libgpg-error-devel +BuildRequires: libgpgme-devel +BuildRequires: libjson-glib-devel +## AUTOBUILDREQ-END +BuildRequires: scons +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This library allows reading and writing gzip-compressed JSON catalog files, which can be used to store GPG, PKCS-7 and SHA-256 checksums for each file. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Archiving +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libjcat.so.* +%{_libdir}/girepository-1.0/Jcat-1.0.typelib +%dir %{_libexecdir}/installed-tests/libjcat +%{_libexecdir}/installed-tests/libjcat/* +%doc LICENSE + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libjcat-1 +%{_includedir}/libjcat-1/jcat.h +%dir %{_includedir}/libjcat-1/libjcat +%{_includedir}/libjcat-1/libjcat/* +%{_libdir}/libjcat.so +%{_datadir}/gir-1.0/Jcat-1.0.gir +%{_datadir}/installed-tests/libjcat/libjcat.test +%{_mandir}/man1/jcat-tool.1.gz +%{_datadir}/vala/vapi/jcat.deps +%{_datadir}/vala/vapi/jcat.vapi +%{_libdir}/pkgconfig/jcat.pc +%doc NEWS README.md + +%files tools +%defattr(-,root,root) +%{_bindir}/jcat-tool + +%changelog +* Sat Jan 02 2021 Silvan Calarco 0.1.4-1mamba +- package created using the webbuild interface