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