[521] | 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 |
---|
[3701] | 6 | Release: 7.%{svndate}svn%{?_dist_release} |
---|
[521] | 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 | |
---|
| 17 | BuildRequires: mono-devel, gtk-sharp2, gnome-sharp2, ndesk-dbus-glib |
---|
| 18 | BuildRequires: autoconf, automake, libtool |
---|
| 19 | BuildRequires: monodoc |
---|
| 20 | |
---|
| 21 | Packager: kazutaka |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | notify-sharp is a C# client implementation for Desktop Notifications, |
---|
| 25 | i.e. notification-daemon. It is inspired by the libnotify API. |
---|
| 26 | |
---|
| 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 | |
---|
| 33 | %package devel |
---|
| 34 | Summary: Development files for notify-sharp |
---|
| 35 | Summary(ja): notify-sharp の開発用ファイル |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Requires: %{name} = %{version}-%{release} |
---|
| 38 | Requires: pkgconfig |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | Development files for notify-sharp |
---|
| 42 | |
---|
| 43 | %package doc |
---|
| 44 | Summary: Documention files for notify-sharp |
---|
| 45 | Summary(ja): notify-sharp のドキュメント |
---|
| 46 | Group: Documentation |
---|
| 47 | Requires: %{name} = %{version}-%{release} |
---|
| 48 | Requires: monodoc |
---|
| 49 | |
---|
| 50 | %description doc |
---|
| 51 | Documentation files for notify-sharp |
---|
| 52 | |
---|
| 53 | %prep |
---|
| 54 | %setup -qn %{name}-%{svndate} |
---|
| 55 | sed -i -e 's!${exec_prefix}/lib!%{_prefix}/lib!' notify-sharp.pc.in |
---|
| 56 | |
---|
| 57 | %build |
---|
| 58 | autoreconf --install |
---|
| 59 | %configure --libdir=%{_prefix}/lib |
---|
| 60 | make |
---|
| 61 | |
---|
| 62 | %install |
---|
| 63 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 64 | make install DESTDIR=${RPM_BUILD_ROOT} pkgconfigdir=%{_libdir}/pkgconfig |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %clean |
---|
| 68 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | %files |
---|
| 72 | %defattr(-,root,root,-) |
---|
| 73 | %doc COPYING NEWS README AUTHORS |
---|
| 74 | %{mono_dir}/gac/notify-sharp/ |
---|
| 75 | %{mono_dir}/notify-sharp/notify-sharp.dll |
---|
| 76 | |
---|
| 77 | %files devel |
---|
| 78 | %defattr(-,root,root,-) |
---|
| 79 | %{_libdir}/pkgconfig/notify-sharp.pc |
---|
| 80 | |
---|
| 81 | %files doc |
---|
| 82 | %defattr(-,root,root,-) |
---|
| 83 | %{monodoc_dir}/sources/* |
---|
| 84 | |
---|
| 85 | %changelog |
---|
[3701] | 86 | * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 0.4.0-7.20080912svn |
---|
| 87 | - rebuilt with mono-2.10.1-3 |
---|
| 88 | |
---|
[3285] | 89 | * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.4.0-6.20080912svn |
---|
| 90 | - rebuilt with mono-2.10.1 |
---|
| 91 | |
---|
[2019] | 92 | * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.0-5.20080912svn |
---|
| 93 | - rebuilt with mono-2.8 |
---|
| 94 | |
---|
[1984] | 95 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.0-4.20080912svn |
---|
| 96 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 97 | |
---|
[521] | 98 | * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-3.20080912svn |
---|
| 99 | - rebuild with latest rpm to update mono-dependencies |
---|
| 100 | |
---|
| 101 | * Sat Jun 13 2009 Shu KONNO <owa@bg.wakwak.com> 0.4.0-2.20080912svn |
---|
| 102 | - added mono_dir, monodoc_dir macros |
---|
| 103 | - added --libdir=%%{_prefix}/lib option to %%configure |
---|
| 104 | - added pkgconfigdir=%%{_libdir}/pkgconfig option to make install |
---|
| 105 | |
---|
| 106 | * Thu Jun 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-1.20080912svn |
---|
| 107 | - initial build for Vine Linux based on fedora development |
---|
| 108 | |
---|
| 109 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-0.6.20080912svn |
---|
| 110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 111 | |
---|
| 112 | * Tue Oct 9 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.5.20080912svn |
---|
| 113 | - Fix doc package dependencies. |
---|
| 114 | |
---|
| 115 | * Wed Sep 24 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.4.20080912svn |
---|
| 116 | - Replace with simple sed line in spec |
---|
| 117 | - Build documentation, add monodoc dependencies. |
---|
| 118 | |
---|
| 119 | * Wed Sep 24 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.3.20080912svn |
---|
| 120 | - Add patch to fix libdir on all arches. |
---|
| 121 | |
---|
| 122 | * Mon Sep 22 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.2.20080912svn |
---|
| 123 | - Update changelog |
---|
| 124 | - Fix whitespace issues |
---|
| 125 | |
---|
| 126 | * Fri Sep 12 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.1.20080912svn |
---|
| 127 | - Redid svn checkout and tarball creation process |
---|
| 128 | - Added autoreconfig shebang + autotools deps |
---|
| 129 | |
---|
| 130 | * Sat May 31 2008 Nigel Jones <dev@nigelj.com> - 0.4.0-0.1.20080531svn |
---|
| 131 | - Initial RPM based on David Nielsen's work on fedorapeople.org |
---|