|
@@ -8,25 +8,27 @@
|
|
Summary: Framework for managing passwords and other secrets
|
|
Summary: Framework for managing passwords and other secrets
|
|
Name: libgnome-keyring
|
|
Name: libgnome-keyring
|
|
Version: 3.12.0
|
|
Version: 3.12.0
|
|
-Release: 1%{?_dist_release}
|
|
|
|
|
|
+Release: 2%{?_dist_release}
|
|
|
|
+Group: system
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+
|
|
License: GPLv2+ and LGPLv2+
|
|
License: GPLv2+ and LGPLv2+
|
|
-Group: System Environment/Libraries
|
|
|
|
-Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{name}-%{version}.tar.xz
|
|
|
|
-URL: http://live.gnome.org/GnomeKeyring
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
+URL: https://wiki.gnome.org/Projects/GnomeKeyring
|
|
|
|
+%global shortver %(echo %{vsrsion} | cut -d . -f 1-2)
|
|
|
|
+Source: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
|
|
|
|
+# https://gitlab.gnome.org/GNOME/libgnome-keyring/commit/3766bcc482f9e02fb5f9c183e814833ad1fbf08a
|
|
|
|
+Patch0: libgnome-keyring-vapi-build-fix.patch
|
|
|
|
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
BuildRequires: dbus-devel >= %{dbus_version}
|
|
BuildRequires: dbus-devel >= %{dbus_version}
|
|
-BuildRequires: eggdbus-devel >= %{eggdbus_version}
|
|
|
|
BuildRequires: libgcrypt-devel >= %{gcrypt_version}
|
|
BuildRequires: libgcrypt-devel >= %{gcrypt_version}
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: intltool
|
|
|
|
+BuildRequires: vala-tools vala-devel
|
|
Conflicts: gnome-keyring < 2.29.4
|
|
Conflicts: gnome-keyring < 2.29.4
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-Packager: Takemikaduchi
|
|
|
|
-
|
|
|
|
%description
|
|
%description
|
|
gnome-keyring is a program that keep password and other secrets for
|
|
gnome-keyring is a program that keep password and other secrets for
|
|
users. The library libgnome-keyring is used by applications to integrate
|
|
users. The library libgnome-keyring is used by applications to integrate
|
|
@@ -72,40 +74,47 @@ The libgnome-keyring-devel package contains the libraries and
|
|
header files needed to develop applications that use libgnome-keyring.
|
|
header files needed to develop applications that use libgnome-keyring.
|
|
|
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
-%setup -q -n libgnome-keyring-%{version}
|
|
|
|
|
|
+%autosetup -p1
|
|
|
|
+
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure \
|
|
%configure \
|
|
--disable-gtk-doc \
|
|
--disable-gtk-doc \
|
|
--enable-introspection
|
|
--enable-introspection
|
|
-
|
|
|
|
|
|
+# avoid unneeded direct dependencies
|
|
|
|
+sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
|
-make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
-rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
|
+rm -rf %{buildroot}
|
|
|
|
+make install DESTDIR=%{buildroot}
|
|
|
|
+rm %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
%find_lang libgnome-keyring
|
|
%find_lang libgnome-keyring
|
|
|
|
|
|
-%clean
|
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
+%check
|
|
|
|
+make check
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
|
|
|
+%clean
|
|
|
|
+rm -rf %{buildroot}
|
|
|
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
|
|
+%ldconfig_scriptlets
|
|
|
|
+%ldconfig_scriptlets -n compat32-%{name}
|
|
|
|
|
|
|
|
|
|
%files -f libgnome-keyring.lang
|
|
%files -f libgnome-keyring.lang
|
|
%defattr(-, root, root, -)
|
|
%defattr(-, root, root, -)
|
|
-%doc AUTHORS NEWS README COPYING HACKING
|
|
|
|
|
|
+%license COPYING
|
|
|
|
+%doc AUTHORS NEWS README HACKING
|
|
%{_libdir}/lib*.so.*
|
|
%{_libdir}/lib*.so.*
|
|
%{_libdir}/girepository-1.0/GnomeKeyring-1.0.typelib
|
|
%{_libdir}/girepository-1.0/GnomeKeyring-1.0.typelib
|
|
|
|
|
|
@@ -115,6 +124,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_libdir}/pkgconfig/*
|
|
%{_libdir}/pkgconfig/*
|
|
%{_includedir}/*
|
|
%{_includedir}/*
|
|
%{_datadir}/gir-1.0/GnomeKeyring-1.0.gir
|
|
%{_datadir}/gir-1.0/GnomeKeyring-1.0.gir
|
|
|
|
+%dir %{_datadir}/vala/
|
|
|
|
+%dir %{_datadir}/vala/vapi
|
|
|
|
+%{_datadir}/vala/vapi/*
|
|
%doc %{_datadir}/gtk-doc/html/gnome-keyring/
|
|
%doc %{_datadir}/gtk-doc/html/gnome-keyring/
|
|
|
|
|
|
# compat32
|
|
# compat32
|
|
@@ -128,7 +140,12 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Mar 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.12.0-2
|
|
|
|
+- imported Patch0 from rawhide.
|
|
|
|
+- added vala support.
|
|
|
|
+
|
|
* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.12.0-1
|
|
* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.12.0-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|