gnome-keyring-sharp-vl.spec 3.8 KB

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