Update to 3.92.0
This commit also largely rewrites the subpackage split as the gcr gtk3 and gtk4 libraries are now gone, and also includes some misc packaging cleanup.
This commit is contained in:
parent
10e7d7aa02
commit
0179f3c44e
144
gcr.spec
144
gcr.spec
@ -3,25 +3,25 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: gcr
|
Name: gcr
|
||||||
Version: 3.90.0
|
Version: 3.92.0
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A library for bits of crypto UI and parsing
|
Summary: A library for bits of crypto UI and parsing
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://wiki.gnome.org/Projects/CryptoGlue
|
URL: https://gitlab.gnome.org/GNOME/gcr
|
||||||
Source0: https://download.gnome.org/sources/%{name}/3.90/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/%{name}/3.92/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig(gi-docgen)
|
BuildRequires: pkgconfig(gi-docgen)
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
|
||||||
BuildRequires: pkgconfig(gtk4)
|
BuildRequires: pkgconfig(gtk4)
|
||||||
|
BuildRequires: pkgconfig(libgcrypt)
|
||||||
BuildRequires: pkgconfig(libsecret-1)
|
BuildRequires: pkgconfig(libsecret-1)
|
||||||
BuildRequires: pkgconfig(libsystemd)
|
BuildRequires: pkgconfig(libsystemd)
|
||||||
BuildRequires: pkgconfig(p11-kit-1)
|
BuildRequires: pkgconfig(p11-kit-1)
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: pkgconfig(systemd)
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
%if 0%{?has_valgrind}
|
%if 0%{?has_valgrind}
|
||||||
@ -32,7 +32,8 @@ BuildRequires: /usr/bin/ssh-add
|
|||||||
BuildRequires: /usr/bin/ssh-agent
|
BuildRequires: /usr/bin/ssh-agent
|
||||||
BuildRequires: /usr/bin/xsltproc
|
BuildRequires: /usr/bin/xsltproc
|
||||||
|
|
||||||
Requires: %{name}-base%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: /usr/bin/gpg2
|
||||||
Requires: /usr/bin/ssh-add
|
Requires: /usr/bin/ssh-add
|
||||||
Requires: /usr/bin/ssh-agent
|
Requires: /usr/bin/ssh-agent
|
||||||
|
|
||||||
@ -43,53 +44,29 @@ desktop.
|
|||||||
|
|
||||||
gck is a library for accessing PKCS#11 modules like smart cards.
|
gck is a library for accessing PKCS#11 modules like smart cards.
|
||||||
|
|
||||||
%package base
|
%package libs
|
||||||
Summary: Common library files for %{name}
|
Summary: gcr and gck libraries
|
||||||
Conflicts: %{name} < 3.28.1-3
|
# Renamed in F37
|
||||||
|
Obsoletes: %{name}-base < 3.92.0-1
|
||||||
|
Provides: %{name}-base = %{version}-%{release}
|
||||||
|
Provides: %{name}-base%{?_isa} = %{version}-%{release}
|
||||||
|
# Dropped in F37
|
||||||
|
Obsoletes: %{name}-gtk3 < 3.92.0-1
|
||||||
|
Obsoletes: %{name}-gtk4 < 3.92.0-1
|
||||||
|
|
||||||
%description base
|
%description libs
|
||||||
The %{name}-base package includes the %{name} common library files used by both gtk3 and gtk4 versions.
|
The %{name}-libs package contains the gcr and gck shared libraries.
|
||||||
|
|
||||||
%package gtk3
|
%package devel
|
||||||
Summary: Library files for %{name} using gtk3
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-base%{?_isa} = %{version}-%{release}
|
# Dropped in F37
|
||||||
|
Obsoletes: %{name}-gtk3-devel < 3.92.0-1
|
||||||
|
Obsoletes: %{name}-gtk4-devel < 3.92.0-1
|
||||||
|
|
||||||
%description gtk3
|
%description devel
|
||||||
The %{name}-gtk3 package includes the library files for the %{name} package using gtk3.
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
%package gtk4
|
|
||||||
Summary: Library files for %{name} using gtk4
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
||||||
Requires: %{name}-base%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description gtk4
|
|
||||||
The %{name}-gtk4 package includes the library files for the %{name} package using gtk4.
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Common development files for %{name}
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
The %{name}-devel package includes the common header files for the %{name} library.
|
|
||||||
|
|
||||||
%package gtk3-devel
|
|
||||||
Summary: Development files for %{name} using gtk3
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
||||||
Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
|
|
||||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description gtk3-devel
|
|
||||||
The %{name}-gtk3-devel package includes the header files for the %{name} library using gtk3.
|
|
||||||
|
|
||||||
%package gtk4-devel
|
|
||||||
Summary: Development files for %{name} using gtk4
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
||||||
Requires: %{name}-gtk4%{?_isa} = %{version}-%{release}
|
|
||||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description gtk4-devel
|
|
||||||
The %{name}-gtk4-devel package includes the header files for the %{name} library using gtk4.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
@ -100,7 +77,7 @@ The %{name}-gtk4-devel package includes the header files for the %{name} library
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
%find_lang %{name}-4
|
%find_lang gcr-4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_user_post gcr-ssh-agent.service
|
%systemd_user_post gcr-ssh-agent.service
|
||||||
@ -111,68 +88,51 @@ The %{name}-gtk4-devel package includes the header files for the %{name} library
|
|||||||
%postun
|
%postun
|
||||||
%systemd_user_postun_with_restart gcr-ssh-agent.service
|
%systemd_user_postun_with_restart gcr-ssh-agent.service
|
||||||
|
|
||||||
|
%files
|
||||||
%files -f %{name}-4.lang
|
|
||||||
%doc NEWS README.md
|
%doc NEWS README.md
|
||||||
%license COPYING
|
%{_bindir}/gcr-viewer-gtk4
|
||||||
%{_libdir}/girepository-1.0
|
|
||||||
%{_libexecdir}/gcr-ssh-agent
|
%{_libexecdir}/gcr-ssh-agent
|
||||||
%{_libexecdir}/gcr4-ssh-askpass
|
%{_libexecdir}/gcr4-ssh-askpass
|
||||||
%{_userunitdir}/gcr-ssh-agent.service
|
%{_userunitdir}/gcr-ssh-agent.service
|
||||||
%{_userunitdir}/gcr-ssh-agent.socket
|
%{_userunitdir}/gcr-ssh-agent.socket
|
||||||
|
|
||||||
%files base
|
%files libs -f gcr-4.lang
|
||||||
%{_libdir}/libgck-2.so.1.90.0
|
%license COPYING
|
||||||
|
%dir %{_libdir}/girepository-1.0
|
||||||
|
%{_libdir}/girepository-1.0/Gck-2.typelib
|
||||||
|
%{_libdir}/girepository-1.0/Gcr-4.typelib
|
||||||
%{_libdir}/libgck-2.so.0.0.0
|
%{_libdir}/libgck-2.so.0.0.0
|
||||||
%{_libdir}/libgcr-4.so.3.90.0
|
%{_libdir}/libgck-2.so.1.92.0
|
||||||
%{_libdir}/libgcr-4.so.0.0.0
|
%{_libdir}/libgcr-4.so.0.0.0
|
||||||
|
%{_libdir}/libgcr-4.so.3.92.0
|
||||||
%files gtk3
|
|
||||||
%{_libdir}/libgcr-4-gtk3.so.0.0.0
|
|
||||||
%{_libdir}/libgcr-4-gtk3.so.3.90.0
|
|
||||||
|
|
||||||
%files gtk4
|
|
||||||
%{_libdir}/libgcr-4-gtk4.so.0.0.0
|
|
||||||
%{_libdir}/libgcr-4-gtk4.so.3.90.0
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/gck-2
|
%{_includedir}/gck-2/
|
||||||
%{_includedir}/gcr-4/gcr
|
%{_includedir}/gcr-4/
|
||||||
%{_libdir}/libgck-2.so
|
%{_libdir}/libgck-2.so
|
||||||
%{_libdir}/libgcr-4.so
|
%{_libdir}/libgcr-4.so
|
||||||
%{_libdir}/pkgconfig/gck-2.pc
|
%{_libdir}/pkgconfig/gck-2.pc
|
||||||
%{_libdir}/pkgconfig/gcr-4.pc
|
%{_libdir}/pkgconfig/gcr-4.pc
|
||||||
|
%dir %{_datadir}/gir-1.0
|
||||||
%{_datadir}/gir-1.0/Gck-2.gir
|
%{_datadir}/gir-1.0/Gck-2.gir
|
||||||
%{_datadir}/gir-1.0/Gcr-4.gir
|
%{_datadir}/gir-1.0/Gcr-4.gir
|
||||||
%dir %{_datadir}/doc
|
%dir %{_datadir}/vala
|
||||||
%{_datadir}/doc/gck-2
|
%dir %{_datadir}/vala/vapi
|
||||||
%{_datadir}/doc/gcr-4
|
|
||||||
%{_datadir}/vala/vapi/gck-2.deps
|
%{_datadir}/vala/vapi/gck-2.deps
|
||||||
%{_datadir}/vala/vapi/gck-2.vapi
|
%{_datadir}/vala/vapi/gck-2.vapi
|
||||||
%{_datadir}/vala/vapi/gcr-4.deps
|
%{_datadir}/vala/vapi/gcr-4.deps
|
||||||
%{_datadir}/vala/vapi/gcr-4.vapi
|
%{_datadir}/vala/vapi/gcr-4.vapi
|
||||||
|
%doc %{_datadir}/doc/gck-2/
|
||||||
%files gtk3-devel
|
%doc %{_datadir}/doc/gcr-4/
|
||||||
%{_bindir}/gcr-viewer-gtk3
|
|
||||||
%{_datadir}/doc/gcr-4-gtk3
|
|
||||||
%{_datadir}/gir-1.0/GcrGtk3-4.gir
|
|
||||||
%{_datadir}/vala/vapi/gcr-4-gtk3.deps
|
|
||||||
%{_datadir}/vala/vapi/gcr-4-gtk3.vapi
|
|
||||||
%{_includedir}/gcr-4/gcr-gtk3
|
|
||||||
%{_libdir}/libgcr-4-gtk3.so
|
|
||||||
%{_libdir}/pkgconfig/gcr-4-gtk3.pc
|
|
||||||
|
|
||||||
%files gtk4-devel
|
|
||||||
%{_bindir}/gcr-viewer-gtk4
|
|
||||||
%{_datadir}/doc/gcr-4-gtk4
|
|
||||||
%{_datadir}/gir-1.0/GcrGtk4-4.gir
|
|
||||||
%{_datadir}/vala/vapi/gcr-4-gtk4.deps
|
|
||||||
%{_datadir}/vala/vapi/gcr-4-gtk4.vapi
|
|
||||||
%{_includedir}/gcr-4/gcr-gtk4
|
|
||||||
%{_libdir}/libgcr-4-gtk4.so
|
|
||||||
%{_libdir}/pkgconfig/gcr-4-gtk4.pc
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 26 2022 Kalev Lember <klember@redhat.com> - 3.92.0-1
|
||||||
|
- Update to 3.92.0
|
||||||
|
- Remove gtk3 and gtk4 subpackages as the gcr gtk3 and gtk4 libraries are gone
|
||||||
|
- Rename gcr-base to gcr-libs
|
||||||
|
- Fix gir and vala directory ownership
|
||||||
|
- Misc packaging cleanup
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.90.0-2
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.90.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (gcr-3.90.0.tar.xz) = 20c199b0bc9925ad6b2abc2b54db1a2ae1afbbf0ac5b7ef86b1450b84af300cd8ec42a826294c62eca07f0ac55ca4018e9d75ec28e33353acc4598a0fee853ed
|
SHA512 (gcr-3.92.0.tar.xz) = bd566c8846e1ee99f82eefd9f7fbc5959c09bf383fef9c7bdc82b6c2c9c7634faaddcf6d91b0eca10b69a99e8f954272c3decf0594864351a48a5473e2bb5db3
|
||||||
|
Loading…
Reference in New Issue
Block a user