libgnome-keyring-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define glib2_version 2.40.0
  3. %define dbus_version 1.6.14
  4. %define eggdbus_version 0.6
  5. %define gcrypt_version 1.4.6
  6. Summary: Framework for managing passwords and other secrets
  7. Name: libgnome-keyring
  8. Version: 3.12.0
  9. Release: 2%{?_dist_release}
  10. Group: system
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. License: GPLv2+ and LGPLv2+
  14. URL: https://wiki.gnome.org/Projects/GnomeKeyring
  15. %global shortver %(echo %{vsrsion} | cut -d . -f 1-2)
  16. Source: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  17. # https://gitlab.gnome.org/GNOME/libgnome-keyring/commit/3766bcc482f9e02fb5f9c183e814833ad1fbf08a
  18. Patch0: libgnome-keyring-vapi-build-fix.patch
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  20. BuildRequires: glib2-devel >= %{glib2_version}
  21. BuildRequires: dbus-devel >= %{dbus_version}
  22. BuildRequires: libgcrypt-devel >= %{gcrypt_version}
  23. BuildRequires: gobject-introspection-devel
  24. BuildRequires: intltool
  25. BuildRequires: vala-tools vala-devel
  26. Conflicts: gnome-keyring < 2.29.4
  27. %description
  28. gnome-keyring is a program that keep password and other secrets for
  29. users. The library libgnome-keyring is used by applications to integrate
  30. with the gnome-keyring system.
  31. %package devel
  32. Summary: Development files for libgnome-keyring
  33. License: LGPLv2+
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: glib2-devel
  37. Requires: pkgconfig
  38. Requires: gtk-doc
  39. Conflicts: gnome-keyring-devel < 2.29.4
  40. %description devel
  41. The libgnome-keyring-devel package contains the libraries and
  42. header files needed to develop applications that use libgnome-keyring.
  43. # compat32
  44. %package -n compat32-%{name}
  45. Summary: Framework for managing passwords and other secrets
  46. Group: System Environment/Libraries
  47. Requires: %{name} = %{version}-%{release}
  48. %description -n compat32-%{name}
  49. gnome-keyring is a program that keep password and other secrets for
  50. users. The library libgnome-keyring is used by applications to integrate
  51. with the gnome-keyring system.
  52. %package -n compat32-%{name}-devel
  53. Summary: Development files for libgnome-keyring
  54. License: LGPLv2+
  55. Group: Development/Libraries
  56. Requires: compat32-%{name} = %{version}-%{release}
  57. Requires: compat32-glib2-devel
  58. Conflicts: compat32-gnome-keyring-devel < 2.29.4
  59. %description -n compat32-%{name}-devel
  60. The libgnome-keyring-devel package contains the libraries and
  61. header files needed to develop applications that use libgnome-keyring.
  62. %debug_package
  63. %prep
  64. %autosetup -p1
  65. %build
  66. %configure \
  67. --disable-gtk-doc \
  68. --enable-introspection
  69. # avoid unneeded direct dependencies
  70. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
  71. make %{?_smp_mflags}
  72. %install
  73. rm -rf %{buildroot}
  74. make install DESTDIR=%{buildroot}
  75. rm %{buildroot}%{_libdir}/*.la
  76. %find_lang libgnome-keyring
  77. %check
  78. make check
  79. %clean
  80. rm -rf %{buildroot}
  81. %ldconfig_scriptlets
  82. %ldconfig_scriptlets -n compat32-%{name}
  83. %files -f libgnome-keyring.lang
  84. %defattr(-, root, root, -)
  85. %license COPYING
  86. %doc AUTHORS NEWS README HACKING
  87. %{_libdir}/lib*.so.*
  88. %{_libdir}/girepository-1.0/GnomeKeyring-1.0.typelib
  89. %files devel
  90. %defattr(-, root, root, -)
  91. %{_libdir}/lib*.so
  92. %{_libdir}/pkgconfig/*
  93. %{_includedir}/*
  94. %{_datadir}/gir-1.0/GnomeKeyring-1.0.gir
  95. %dir %{_datadir}/vala/
  96. %dir %{_datadir}/vala/vapi
  97. %{_datadir}/vala/vapi/*
  98. %doc %{_datadir}/gtk-doc/html/gnome-keyring/
  99. # compat32
  100. %if %{build_compat32}
  101. %files -n compat32-%{name}
  102. %defattr(-, root, root, -)
  103. %{_libdir}/lib*.so.*
  104. %files -n compat32-%{name}-devel
  105. %defattr(-, root, root, -)
  106. %{_libdir}/lib*.so
  107. %endif
  108. %changelog
  109. * Fri Mar 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.12.0-2
  110. - imported Patch0 from rawhide.
  111. - added vala support.
  112. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.12.0-1
  113. - new upstream release
  114. * Wed Feb 19 2014 NAKAMURA Kenta <kenta@vinelinux.org> - 3.10.1-3
  115. - rebuilt with libgcrypt-1.6
  116. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.10.1-2
  117. - rebuild with VineSeed environment
  118. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.10.1-1
  119. - new upstream release
  120. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.8.0-1
  121. - new upstream release
  122. - add BuildRequires: gobject-introspection-devel
  123. * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.6.0-1
  124. - new upstream release
  125. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.1-1
  126. - new upstream release
  127. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.2.0-1
  128. - new upstream release
  129. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.92-1
  130. - new upstream release
  131. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.90-1
  132. - new upstream release
  133. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.4-1
  134. - new upstream release
  135. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.32.0-1
  136. - new upstream release
  137. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.1-2
  138. - build with rpm-4.8.1-1 for pkg-config file
  139. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.1-1
  140. - new upstream release
  141. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1
  142. - initial build for Vine Linux
  143. * Mon Mar 22 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100322.1
  144. - Update to a new git snapshot
  145. * Wed Mar 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100317.1
  146. - Update to 2.29.92 git snapshot
  147. * Wed Feb 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-4
  148. - When no password is found, return GNOME_KEYRING_RESULT_NO_MATCH
  149. * Tue Feb 16 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-3
  150. - Fix assertion when password is not found
  151. * Mon Jan 25 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-2
  152. - Fix assertion calling deprecated acl function
  153. - Clear the client's session when the service disconnects
  154. - Implement setting of Type property in gnome_keyring_item_set_info()
  155. * Thu Jan 7 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-1
  156. - Initial packaging