notify-sharp-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. %define svndate 20080912
  2. %define mono_dir %{_prefix}/lib/mono
  3. %define monodoc_dir %{_prefix}/lib/monodoc
  4. Name: notify-sharp
  5. Version: 0.4.0
  6. Release: 5.%{svndate}svn%{?_dist_release}
  7. Summary: A C# implementation for Desktop Notifications
  8. Summary(ja): デスクトップ通知の C# による実装
  9. Group: System Environment/Libraries
  10. License: MIT
  11. URL: http://trac.galago-project.org/wiki/DesktopNotifications
  12. #svn checkout, revision 3017. To reproduce tarball:
  13. #svn co -r 3017 http://svn.galago-project.org/trunk/notify-sharp notify-sharp-20080912 && tar -cvjf notify-sharp-20080912.tar.bz2 notify-sharp-20080912
  14. Source0: %{name}-%{svndate}.tar.bz2
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  16. BuildRequires: mono-devel, gtk-sharp2, gnome-sharp2, ndesk-dbus-glib
  17. BuildRequires: autoconf, automake, libtool
  18. BuildRequires: monodoc
  19. Packager: kazutaka
  20. %description
  21. notify-sharp is a C# client implementation for Desktop Notifications,
  22. i.e. notification-daemon. It is inspired by the libnotify API.
  23. Desktop Notifications provide a standard way of doing passive pop-up
  24. notifications on the Linux desktop. These are designed to notify the
  25. user of something without interrupting their work with a dialog box
  26. that they must close. Passive popups can automatically disappear after
  27. a short period of time.
  28. %package devel
  29. Summary: Development files for notify-sharp
  30. Summary(ja): notify-sharp の開発用ファイル
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: pkgconfig
  34. %description devel
  35. Development files for notify-sharp
  36. %package doc
  37. Summary: Documention files for notify-sharp
  38. Summary(ja): notify-sharp のドキュメント
  39. Group: Documentation
  40. Requires: %{name} = %{version}-%{release}
  41. Requires: monodoc
  42. %description doc
  43. Documentation files for notify-sharp
  44. %prep
  45. %setup -qn %{name}-%{svndate}
  46. ##sed -i -e 's!${exec_prefix}/lib!%{_libdir}!' notify-sharp.pc.in
  47. sed -i -e 's!${exec_prefix}/lib!%{_prefix}/lib!' notify-sharp.pc.in
  48. %build
  49. autoreconf --install
  50. %configure --libdir=%{_prefix}/lib
  51. make
  52. %install
  53. rm -rf ${RPM_BUILD_ROOT}
  54. make install DESTDIR=${RPM_BUILD_ROOT} pkgconfigdir=%{_libdir}/pkgconfig
  55. %clean
  56. rm -rf ${RPM_BUILD_ROOT}
  57. %files
  58. %defattr(-,root,root,-)
  59. %doc COPYING NEWS README AUTHORS
  60. #%{_libdir}/mono/gac/notify-sharp/
  61. #%{_libdir}/mono/notify-sharp/notify-sharp.dll
  62. %{mono_dir}/gac/notify-sharp/
  63. %{mono_dir}/notify-sharp/notify-sharp.dll
  64. %files devel
  65. %defattr(-,root,root,-)
  66. %{_libdir}/pkgconfig/notify-sharp.pc
  67. %files doc
  68. %defattr(-,root,root,-)
  69. #%{_libdir}/monodoc/sources/*
  70. %{monodoc_dir}/sources/*
  71. %changelog
  72. * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.0-5.20080912svn
  73. - rebuilt with mono-2.8
  74. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.0-4.20080912svn
  75. - rebuilt with rpm-4.8.1 for pkg-config
  76. * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-3.20080912svn
  77. - rebuild with latest rpm to update mono-dependencies
  78. * Sat Jun 13 2009 Shu KONNO <owa@bg.wakwak.com> 0.4.0-2.20080912svn
  79. - added mono_dir, monodoc_dir macros
  80. - added --libdir=%%{_prefix}/lib option to %%configure
  81. - added pkgconfigdir=%%{_libdir}/pkgconfig option to make install
  82. * Thu Jun 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-1.20080912svn
  83. - initial build for Vine Linux based on fedora development
  84. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-0.6.20080912svn
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  86. * Tue Oct 9 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.5.20080912svn
  87. - Fix doc package dependencies.
  88. * Wed Sep 24 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.4.20080912svn
  89. - Replace with simple sed line in spec
  90. - Build documentation, add monodoc dependencies.
  91. * Wed Sep 24 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.3.20080912svn
  92. - Add patch to fix libdir on all arches.
  93. * Mon Sep 22 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.2.20080912svn
  94. - Update changelog
  95. - Fix whitespace issues
  96. * Fri Sep 12 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.1.20080912svn
  97. - Redid svn checkout and tarball creation process
  98. - Added autoreconfig shebang + autotools deps
  99. * Sat May 31 2008 Nigel Jones <dev@nigelj.com> - 0.4.0-0.1.20080531svn
  100. - Initial RPM based on David Nielsen's work on fedorapeople.org