libgnome-keyring-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define glib2_version 2.34.0
  3. %define dbus_version 1.6.4
  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.6.0
  9. Release: 1%{?_dist_release}
  10. License: GPLv2+ and LGPLv2+
  11. Group: System Environment/Libraries
  12. Source: http://ftp.gnome.org/pub/GNOME/sources/libgnome-keyring/3.6/libgnome-keyring-%{version}.tar.xz
  13. URL: http://live.gnome.org/GnomeKeyring
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  15. BuildRequires: glib2-devel >= %{glib2_version}
  16. BuildRequires: dbus-devel >= %{dbus_version}
  17. BuildRequires: eggdbus-devel >= %{eggdbus_version}
  18. BuildRequires: libgcrypt-devel >= %{gcrypt_version}
  19. BuildRequires: intltool
  20. Conflicts: gnome-keyring < 2.29.4
  21. %description
  22. gnome-keyring is a program that keep password and other secrets for
  23. users. The library libgnome-keyring is used by applications to integrate
  24. with the gnome-keyring system.
  25. %package devel
  26. Summary: Development files for libgnome-keyring
  27. License: LGPLv2+
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: glib2-devel
  31. Requires: pkgconfig
  32. Requires: gtk-doc
  33. Conflicts: gnome-keyring-devel < 2.29.4
  34. %description devel
  35. The libgnome-keyring-devel package contains the libraries and
  36. header files needed to develop applications that use libgnome-keyring.
  37. # compat32
  38. %package -n compat32-%{name}
  39. Summary: Framework for managing passwords and other secrets
  40. Group: System Environment/Libraries
  41. Requires: %{name} = %{version}-%{release}
  42. %description -n compat32-%{name}
  43. gnome-keyring is a program that keep password and other secrets for
  44. users. The library libgnome-keyring is used by applications to integrate
  45. with the gnome-keyring system.
  46. %package -n compat32-%{name}-devel
  47. Summary: Development files for libgnome-keyring
  48. License: LGPLv2+
  49. Group: Development/Libraries
  50. Requires: compat32-%{name} = %{version}-%{release}
  51. Requires: compat32-glib2-devel
  52. Conflicts: compat32-gnome-keyring-devel < 2.29.4
  53. %description -n compat32-%{name}-devel
  54. The libgnome-keyring-devel package contains the libraries and
  55. header files needed to develop applications that use libgnome-keyring.
  56. %prep
  57. %setup -q -n libgnome-keyring-%{version}
  58. %build
  59. %configure --disable-gtk-doc
  60. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  61. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  62. # avoid unneeded direct dependencies
  63. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
  64. make %{?_smp_mflags}
  65. %install
  66. rm -rf $RPM_BUILD_ROOT
  67. make install DESTDIR=$RPM_BUILD_ROOT
  68. rm $RPM_BUILD_ROOT%{_libdir}/*.la
  69. %find_lang libgnome-keyring
  70. %clean
  71. rm -rf $RPM_BUILD_ROOT
  72. %post -p /sbin/ldconfig
  73. %postun -p /sbin/ldconfig
  74. %files -f libgnome-keyring.lang
  75. %defattr(-, root, root, -)
  76. %doc AUTHORS NEWS README COPYING HACKING
  77. %{_libdir}/lib*.so.*
  78. %files devel
  79. %defattr(-, root, root, -)
  80. %{_libdir}/lib*.so
  81. %{_libdir}/pkgconfig/*
  82. %{_includedir}/*
  83. %doc %{_datadir}/gtk-doc/html/gnome-keyring/
  84. # compat32
  85. %if %{build_compat32}
  86. %files -n compat32-%{name}
  87. %defattr(-, root, root, -)
  88. %{_libdir}/lib*.so.*
  89. %files -n compat32-%{name}-devel
  90. %defattr(-, root, root, -)
  91. %{_libdir}/lib*.so
  92. %endif
  93. %changelog
  94. * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.6.0-1
  95. - new upstream release
  96. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.1-1
  97. - new upstream release
  98. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.2.0-1
  99. - new upstream release
  100. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.92-1
  101. - new upstream release
  102. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.90-1
  103. - new upstream release
  104. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.4-1
  105. - new upstream release
  106. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.32.0-1
  107. - new upstream release
  108. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.1-2
  109. - build with rpm-4.8.1-1 for pkg-config file
  110. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.1-1
  111. - new upstream release
  112. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1
  113. - initial build for Vine Linux
  114. * Mon Mar 22 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100322.1
  115. - Update to a new git snapshot
  116. * Wed Mar 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100317.1
  117. - Update to 2.29.92 git snapshot
  118. * Wed Feb 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-4
  119. - When no password is found, return GNOME_KEYRING_RESULT_NO_MATCH
  120. * Tue Feb 16 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-3
  121. - Fix assertion when password is not found
  122. * Mon Jan 25 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-2
  123. - Fix assertion calling deprecated acl function
  124. - Clear the client's session when the service disconnects
  125. - Implement setting of Type property in gnome_keyring_item_set_info()
  126. * Thu Jan 7 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-1
  127. - Initial packaging