From 688ef32a9f77c03dae4477cc1ed463e970e5afca Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:38:52 +0100 Subject: [PATCH] update to 4.0.0 [release 4.0.0-1mamba;Wed Nov 02 2022] --- README.md | 3 + gcr.spec | 186 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 189 insertions(+) create mode 100644 gcr.spec diff --git a/README.md b/README.md index 53bfad2..d938b73 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # gcr +GCR is a library for displaying certificates, and crypto UI, accessing key stores. It also provides the viewer for crypto files on the GNOME desktop. +GCK is a library for accessing PKCS#11 modules like smart cards, in a (G)object oriented way. + diff --git a/gcr.spec b/gcr.spec new file mode 100644 index 0000000..cad1e1b --- /dev/null +++ b/gcr.spec @@ -0,0 +1,186 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: gcr +Version: 4.0.0 +Release: 1mamba +Summary: A library for displaying certificates, and crypto UI, accessing key stores +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://wiki.gnome.org/ +Source: http://ftp.acc.umu.se/pub/GNOME/sources/gcr/%{majver}/gcr-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcrypt-devel +BuildRequires: libglib-devel +BuildRequires: libgtk-devel +BuildRequires: libp11-kit-devel +BuildRequires: libpango-devel +BuildRequires: libsecret-devel +BuildRequires: libsystemd-devel +## AUTOBUILDREQ-END +BuildRequires: intltool +BuildRequires: gtk-doc + +%description +GCR is a library for displaying certificates, and crypto UI, accessing key stores. It also provides the viewer for crypto files on the GNOME desktop. +GCK is a library for accessing PKCS#11 modules like smart cards, in a (G)object oriented way. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries provided with %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name} +This package contains the shared libraries provided with %{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}. + +%package apidocs +Group: Documentation +Summary: %{name} API documentation +Requires: gtk-doc + +%description apidocs +This package includes the %{name} API documentation. + +%debug_package + +%prep +%setup -q + +%build +%meson \ + -Dgtk_doc=true + +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%find_lang %{name} --all-name + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/gcr-viewer-gtk4 +%{_userunitdir}/gcr-ssh-agent.service +%{_userunitdir}/gcr-ssh-agent.socket + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libgck-2.so.* +%{_libdir}/libgcr-4.so.* +%{_libdir}/girepository-1.0/Gck-2.typelib +%{_libdir}/girepository-1.0/Gcr-4.typelib +%{_libexecdir}/gcr-ssh-agent +%{_libexecdir}/gcr4-ssh-askpass +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/gck-2/gck +%{_includedir}/gck-2/gck/* +%dir %{_includedir}/gcr-4/gcr +%{_includedir}/gcr-4/gcr/* +%{_libdir}/libgck-2.so +%{_libdir}/libgcr-4.so +%{_datadir}/gir-1.0/Gck-2.gir +%{_datadir}/gir-1.0/Gcr-4.gir +%{_datadir}/vala/vapi/* +%{_libdir}/pkgconfig/gck-2.pc +%{_libdir}/pkgconfig/gcr-4.pc +%doc NEWS README.md + +%files apidocs +%defattr(-,root,root) +%dir %{_docdir}/gck-2 +%{_docdir}/gck-2/* +%dir %{_docdir}/gcr-4 +%{_docdir}/gcr-4/* + +%changelog +* Wed Nov 02 2022 Silvan Calarco 4.0.0-1mamba +- update to 4.0.0 + +* Wed Jan 13 2021 Automatic Build System 3.38.1-1mamba +- automatic version update by autodist + +* Mon Oct 05 2020 Silvan Calarco 3.38.0-1mamba +- update to 3.38.0 + +* Thu Mar 26 2020 Ercole 'ercolinux' Carpanetto 3.36.0-1mamba +- update to 3.36.0 + +* Sat Oct 19 2019 Automatic Build System 3.34.0-1mamba +- automatic version update by autodist + +* Wed Sep 11 2019 Automatic Build System 3.33.4-1mamba +- automatic version update by autodist + +* Mon Jan 28 2019 Automatic Build System 3.28.1-1mamba +- automatic version update by autodist + +* Mon Mar 26 2018 Automatic Build System 3.28.0-1mamba +- automatic version update by autodist + +* Sat Apr 09 2016 Automatic Build System 3.20.0-1mamba +- automatic version update by autodist + +* Fri Oct 09 2015 Automatic Build System 3.18.0-1mamba +- automatic version update by autodist + +* Wed May 13 2015 Automatic Build System 3.16.0-1mamba +- automatic version update by autodist + +* Thu Apr 09 2015 Automatic Build System 3.15.92-1mamba +- automatic version update by autodist + +* Tue Sep 23 2014 Automatic Build System 3.14.0-1mamba +- automatic version update by autodist + +* Wed May 14 2014 Automatic Build System 3.12.2-1mamba +- automatic version update by autodist + +* Wed Mar 26 2014 Automatic Build System 3.12.0-1mamba +- automatic version update by autodist + +* Tue Oct 29 2013 Automatic Build System 3.10.1-1mamba +- automatic version update by autodist + +* Sat May 04 2013 Automatic Build System 3.8.2-1mamba +- automatic version update by autodist + +* Tue Apr 16 2013 Automatic Build System 3.8.1-1mamba +- automatic version update by autodist + +* Thu Mar 28 2013 Automatic Build System 3.8.0-1mamba +- automatic version update by autodist + +* Fri Dec 07 2012 Automatic Build System 3.6.2-1mamba +- automatic version update by autodist + +* Tue Oct 16 2012 Automatic Build System 3.6.1-1mamba +- automatic version update by autodist + +* Thu Sep 27 2012 Automatic Build System 3.6.0-1mamba +- update to 3.6.0 + +* Sat Sep 15 2012 Silvan Calarco 3.4.1-2mamba +- .typelib files moved from -devel to main package + +* Tue Jun 12 2012 Silvan Calarco 3.4.1-1mamba +- package created by autospec