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: 8.%{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 | |
---|
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 |
---|
86 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-8.20080912svn |
---|
87 | - rebuild with VineSeed environment |
---|
88 | |
---|
89 | * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 0.4.0-7.20080912svn |
---|
90 | - rebuilt with mono-2.10.1-3 |
---|
91 | |
---|
92 | * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.4.0-6.20080912svn |
---|
93 | - rebuilt with mono-2.10.1 |
---|
94 | |
---|
95 | * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.0-5.20080912svn |
---|
96 | - rebuilt with mono-2.8 |
---|
97 | |
---|
98 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.0-4.20080912svn |
---|
99 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
100 | |
---|
101 | * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-3.20080912svn |
---|
102 | - rebuild with latest rpm to update mono-dependencies |
---|
103 | |
---|
104 | * Sat Jun 13 2009 Shu KONNO <owa@bg.wakwak.com> 0.4.0-2.20080912svn |
---|
105 | - added mono_dir, monodoc_dir macros |
---|
106 | - added --libdir=%%{_prefix}/lib option to %%configure |
---|
107 | - added pkgconfigdir=%%{_libdir}/pkgconfig option to make install |
---|
108 | |
---|
109 | * Thu Jun 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-1.20080912svn |
---|
110 | - initial build for Vine Linux based on fedora development |
---|
111 | |
---|
112 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-0.6.20080912svn |
---|
113 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
114 | |
---|
115 | * Thu Oct 9 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.5.20080912svn |
---|
116 | - Fix doc package dependencies. |
---|
117 | |
---|
118 | * Wed Sep 24 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.4.20080912svn |
---|
119 | - Replace with simple sed line in spec |
---|
120 | - Build documentation, add monodoc dependencies. |
---|
121 | |
---|
122 | * Wed Sep 24 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.3.20080912svn |
---|
123 | - Add patch to fix libdir on all arches. |
---|
124 | |
---|
125 | * Mon Sep 22 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.2.20080912svn |
---|
126 | - Update changelog |
---|
127 | - Fix whitespace issues |
---|
128 | |
---|
129 | * Fri Sep 12 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org - 0.4.0-0.1.20080912svn |
---|
130 | - Redid svn checkout and tarball creation process |
---|
131 | - Added autoreconfig shebang + autotools deps |
---|
132 | |
---|
133 | * Sat May 31 2008 Nigel Jones <dev@nigelj.com> - 0.4.0-0.1.20080531svn |
---|
134 | - Initial RPM based on David Nielsen's work on fedorapeople.org |
---|