gnome-keyring-sharp-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. %define mono_dir %{_prefix}/lib/mono
  2. %define monodoc_dir %{_prefix}/lib/monodoc
  3. Name: gnome-keyring-sharp
  4. Version: 1.0.2
  5. Release: 1%{?_dist_release}
  6. Summary: Mono implementation of GNOME Keyring
  7. Summary(ja): GNOME Keyring の Mono による実装
  8. Group: System Environment/Libraries
  9. License: MIT
  10. URL: http://www.mono-project.com/Libraries#Gnome-KeyRing-Sharp
  11. Source0: https://github.com/mono/gnome-keyring-sharp/archive/%{name}-%{version}.tar.gz
  12. Patch0: gnome-keyring-sharp-libdir.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildRequires: autoconf automake
  15. BuildRequires: mono-devel monodoc
  16. BuildRequires: gtk-sharp2-devel
  17. BuildRequires: libgnome-keyring-devel
  18. Packager: kazutaka
  19. %description
  20. gnome-keyring-sharp is a fully managed implementation of libgnome-keyring.
  21. When the gnome-keyring-daemon is running, you can use this to retrive/store
  22. confidential information such as passwords, notes or network services user
  23. information.
  24. %package devel
  25. Summary: Development files for %{name}
  26. Summary(ja): %{name} の開発用ファイル
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: pkgconfig
  30. %description devel
  31. The %{name}-devel package contains libraries and header files for
  32. developing applications that use %{name}.
  33. %package doc
  34. Summary: Documentation for %{name}
  35. Summary(ja): %{name} のドキュメント
  36. Group: Documentation
  37. Requires: %{name} = %{version}-%{release}
  38. Requires: monodoc
  39. %description doc
  40. The %{name}-doc package contains documentation for %{name}.
  41. %prep
  42. %setup -q -n %{name}-%{name}-%{version}
  43. %patch0 -p1 -b .libdir
  44. %build
  45. ./autogen.sh
  46. %configure --disable-static --libdir=%{_prefix}/lib
  47. make
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. make install DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig
  51. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  52. %ifarch x86_64
  53. mkdir -p $RPM_BUILD_ROOT%{_libdir}
  54. mv $RPM_BUILD_ROOT%{_prefix}/lib/libgnome-keyring-sharp-glue.so \
  55. $RPM_BUILD_ROOT%{_libdir}/
  56. %endif
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %files
  60. %defattr(-,root,root,-)
  61. %doc AUTHORS ChangeLog COPYING README
  62. %{_libdir}/libgnome-keyring-sharp-glue.so
  63. %{mono_dir}/gnome-keyring-sharp-1.0
  64. %{mono_dir}/gac/Gnome.Keyring
  65. %files devel
  66. %defattr(-,root,root,-)
  67. %{_libdir}/pkgconfig/%{name}-1.0.pc
  68. %files doc
  69. %defattr(-,root,root,-)
  70. %{monodoc_dir}/sources/Gnome.Keyring.*
  71. %changelog
  72. * Tue Mar 31 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.2-1
  73. - updated to 1.0.2
  74. - added BR: gtk-sharp2-devel
  75. - built with mono 3.12.1
  76. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-6.115768svn
  77. - rebuild with VineSeed environment
  78. * Fri Oct 08 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.1-5.115768svn
  79. - rebuilt with mono-2.8
  80. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.1-4.115768svn
  81. - rebuilt with rpm-4.8.1 for pkg-config
  82. * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.1-3.115768svn
  83. - rebuild with latest rpm to update mono-dependencies
  84. * Sat Jun 13 2009 Shu KONNO <owa@bg.wakwak.com> 1.0.1-2.115768svn
  85. - added mono_dir, monodoc_dir macros
  86. - added --libdir=%%{_prefix}/lib option to %%configure
  87. - added pkgconfigdir=%%{_libdir}/pkgconfig option to make install
  88. * Thu Jun 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.1-1.115768svn
  89. - initial build for Vine Linux based on fedora development
  90. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-0.2.115768svn
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  92. * Thu Jan 29 2009 Michel Salim <salimma@fedoraproject.org> - 1.0.1-0.1.115768svn%{?dist}
  93. - Update to r115768
  94. * Mon Jul 14 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.0.0-0.2.87622svn%{?dist}
  95. - Disable creation of -debuginfo subpackage
  96. * Sun Jul 6 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.0.0-0.1.87622svn%{?dist}
  97. - Initial package