gcr/gcr.spec

187 lines
5.7 KiB
RPMSpec

%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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 4.0.0-1mamba
- update to 4.0.0
* Wed Jan 13 2021 Automatic Build System <autodist@mambasoft.it> 3.38.1-1mamba
- automatic version update by autodist
* Mon Oct 05 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.38.0-1mamba
- update to 3.38.0
* Thu Mar 26 2020 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.36.0-1mamba
- update to 3.36.0
* Sat Oct 19 2019 Automatic Build System <autodist@mambasoft.it> 3.34.0-1mamba
- automatic version update by autodist
* Wed Sep 11 2019 Automatic Build System <autodist@mambasoft.it> 3.33.4-1mamba
- automatic version update by autodist
* Mon Jan 28 2019 Automatic Build System <autodist@mambasoft.it> 3.28.1-1mamba
- automatic version update by autodist
* Mon Mar 26 2018 Automatic Build System <autodist@mambasoft.it> 3.28.0-1mamba
- automatic version update by autodist
* Sat Apr 09 2016 Automatic Build System <autodist@mambasoft.it> 3.20.0-1mamba
- automatic version update by autodist
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 3.18.0-1mamba
- automatic version update by autodist
* Wed May 13 2015 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
- automatic version update by autodist
* Thu Apr 09 2015 Automatic Build System <autodist@mambasoft.it> 3.15.92-1mamba
- automatic version update by autodist
* Tue Sep 23 2014 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
- automatic version update by autodist
* Wed May 14 2014 Automatic Build System <autodist@mambasoft.it> 3.12.2-1mamba
- automatic version update by autodist
* Wed Mar 26 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Tue Oct 29 2013 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
- automatic version update by autodist
* Sat May 04 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
- automatic version update by autodist
* Tue Apr 16 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
- automatic version update by autodist
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Fri Dec 07 2012 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
- automatic version update by autodist
* Tue Oct 16 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
- automatic version update by autodist
* Thu Sep 27 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- update to 3.6.0
* Sat Sep 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.1-2mamba
- .typelib files moved from -devel to main package
* Tue Jun 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.1-1mamba
- package created by autospec