libgnome-keyring-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define glib2_version 2.24.0
  3. %define dbus_version 1.0
  4. %define eggdbus_version 0.4
  5. %define gcrypt_version 1.2.2
  6. Summary: Framework for managing passwords and other secrets
  7. Name: libgnome-keyring
  8. Version: 2.30.1
  9. Release: 2%{?_dist_release}
  10. License: GPLv2+ and LGPLv2+
  11. Group: System Environment/Libraries
  12. Source: http://ftp.gnome.org/pub/GNOME/sources/libgnome-keyring/2.30/libgnome-keyring-%{version}.tar.bz2
  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. %{_libdir}/pkgconfig/*
  93. %endif
  94. %changelog
  95. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.1-2
  96. - build with rpm-4.8.1-1 for pkg-config file
  97. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.1-1
  98. - new upstream release
  99. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1
  100. - initial build for Vine Linux
  101. * Mon Mar 22 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100322.1
  102. - Update to a new git snapshot
  103. * Wed Mar 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100317.1
  104. - Update to 2.29.92 git snapshot
  105. * Wed Feb 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-4
  106. - When no password is found, return GNOME_KEYRING_RESULT_NO_MATCH
  107. * Tue Feb 16 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-3
  108. - Fix assertion when password is not found
  109. * Mon Jan 25 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-2
  110. - Fix assertion calling deprecated acl function
  111. - Clear the client's session when the service disconnects
  112. - Implement setting of Type property in gnome_keyring_item_set_info()
  113. * Thu Jan 7 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-1
  114. - Initial packaging