notify-sharp-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. %define svndate 20100411
  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: 9.%{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 3032. To reproduce tarball:
  13. #svn co -r 3032 http://svn.galago-project.org/trunk/notify-sharp notify-sharp-20100411 && tar -cvjf notify-sharp-20100411.tar.bz2 notify-sharp-20100411
  14. Source0: %{name}-%{svndate}.tar.bz2
  15. #use dbus-sharp instead of deprecated ndesk-dbus
  16. #patch is a modifed version of https://build.opensuse.org/package/view_file?file=notify-sharp-use-dbus-sharp.patch&package=notify-sharp&project=Mono%3ACleanup
  17. Patch0: notify-sharp-0.4.0-use-dbus-sharp.patch
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  19. BuildRequires: mono-devel, gtk-sharp2-devel, gnome-sharp2-devel
  20. BuildRequires: dbus-sharp-glib-devel
  21. BuildRequires: autoconf, automake, libtool
  22. BuildRequires: monodoc-devel
  23. Packager: kazutaka
  24. %description
  25. notify-sharp is a C# client implementation for Desktop Notifications,
  26. i.e. notification-daemon. It is inspired by the libnotify API.
  27. Desktop Notifications provide a standard way of doing passive pop-up
  28. notifications on the Linux desktop. These are designed to notify the
  29. user of something without interrupting their work with a dialog box
  30. that they must close. Passive popups can automatically disappear after
  31. a short period of time.
  32. %package devel
  33. Summary: Development files for notify-sharp
  34. Summary(ja): notify-sharp の開発用ファイル
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: pkgconfig
  38. %description devel
  39. Development files for notify-sharp
  40. %package doc
  41. Summary: Documention files for notify-sharp
  42. Summary(ja): notify-sharp のドキュメント
  43. Group: Documentation
  44. Requires: %{name} = %{version}-%{release}
  45. Requires: monodoc
  46. %description doc
  47. Documentation files for notify-sharp
  48. %prep
  49. %setup -qn %{name}-%{svndate}
  50. %patch0 -p1 -b .use_dbus_sharp
  51. sed -i -e 's|dbus-sharp-1\.0|dbus-sharp-2\.0|g' configure.ac
  52. sed -i -e 's|dbus-sharp-glib-1\.0|dbus-sharp-glib-2\.0|g' configure.ac
  53. #sed -i -e 's!${exec_prefix}/lib!%{_prefix}/lib!' notify-sharp.pc.in
  54. %build
  55. autoreconf --install
  56. %configure --libdir=%{_prefix}/lib
  57. make
  58. %install
  59. rm -rf ${RPM_BUILD_ROOT}
  60. make install DESTDIR=${RPM_BUILD_ROOT} pkgconfigdir=%{_libdir}/pkgconfig
  61. %clean
  62. rm -rf ${RPM_BUILD_ROOT}
  63. %files
  64. %defattr(-,root,root,-)
  65. %doc COPYING NEWS README AUTHORS
  66. %{mono_dir}/gac/notify-sharp/
  67. %{mono_dir}/notify-sharp/notify-sharp.dll
  68. %files devel
  69. %defattr(-,root,root,-)
  70. %{_libdir}/pkgconfig/notify-sharp.pc
  71. %files doc
  72. %defattr(-,root,root,-)
  73. %{monodoc_dir}/sources/*
  74. %changelog
  75. * Tue Mar 31 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.4.0-9.20100411svn
  76. - updated to source as of 20100411
  77. - added Patch0
  78. - added BR: dbus-sharp-glib-devel instead of ndesk-dbus-glib
  79. - built with mono 3.12.1
  80. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-8.20080912svn
  81. - rebuild with VineSeed environment
  82. * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 0.4.0-7.20080912svn
  83. - rebuilt with mono-2.10.1-3
  84. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.4.0-6.20080912svn
  85. - rebuilt with mono-2.10.1
  86. * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.0-5.20080912svn
  87. - rebuilt with mono-2.8
  88. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.0-4.20080912svn
  89. - rebuilt with rpm-4.8.1 for pkg-config
  90. * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-3.20080912svn
  91. - rebuild with latest rpm to update mono-dependencies
  92. * Sat Jun 13 2009 Shu KONNO <owa@bg.wakwak.com> 0.4.0-2.20080912svn
  93. - added mono_dir, monodoc_dir macros
  94. - added --libdir=%%{_prefix}/lib option to %%configure
  95. - added pkgconfigdir=%%{_libdir}/pkgconfig option to make install
  96. * Thu Jun 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-1.20080912svn
  97. - initial build for Vine Linux based on fedora development
  98. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-0.6.20080912svn
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  100. * Thu Oct 9 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.5.20080912svn
  101. - Fix doc package dependencies.
  102. * Wed Sep 24 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.4.20080912svn
  103. - Replace with simple sed line in spec
  104. - Build documentation, add monodoc dependencies.
  105. * Wed Sep 24 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.3.20080912svn
  106. - Add patch to fix libdir on all arches.
  107. * Mon Sep 22 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.2.20080912svn
  108. - Update changelog
  109. - Fix whitespace issues
  110. * Fri Sep 12 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.1.20080912svn
  111. - Redid svn checkout and tarball creation process
  112. - Added autoreconfig shebang + autotools deps
  113. * Sat May 31 2008 Nigel Jones <dev@nigelj.com> - 0.4.0-0.1.20080531svn
  114. - Initial RPM based on David Nielsen's work on fedorapeople.org