source: projects/specs/trunk/n/notify-sharp/notify-sharp-vl.spec @ 9477

Revision 9477, 5.2 KB checked in by inagaki, 9 years ago (diff)

2015-03-31 Ryoichi INAGAKI <ryo1@…>

  • boo: added patch and rebuilt
  • gnome-keyring-sharp, mono-tools, nofity-sharp: updated
  • tomboy: rebuilt


Line 
1%define svndate 20100411
2%define mono_dir %{_prefix}/lib/mono
3%define monodoc_dir %{_prefix}/lib/monodoc
4
5Name:           notify-sharp
6Version:        0.4.0
7Release:        9.%{svndate}svn%{?_dist_release}
8Summary:        A C# implementation for Desktop Notifications
9Summary(ja):    デスクトップ通知の C# による実装
10
11Group:          System Environment/Libraries
12License:        MIT
13URL:            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
16Source0:        %{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
19Patch0:         notify-sharp-0.4.0-use-dbus-sharp.patch
20
21BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
22BuildRequires:  mono-devel, gtk-sharp2-devel, gnome-sharp2-devel
23BuildRequires:  dbus-sharp-glib-devel
24BuildRequires:  autoconf, automake, libtool
25BuildRequires:  monodoc-devel
26
27Packager:       kazutaka
28
29%description
30notify-sharp is a C# client implementation for Desktop Notifications,
31i.e. notification-daemon. It is inspired by the libnotify API.
32
33Desktop Notifications provide a standard way of doing passive pop-up
34notifications on the Linux desktop. These are designed to notify the
35user of something without interrupting their work with a dialog box
36that they must close. Passive popups can automatically disappear after
37a short period of time.
38
39%package devel
40Summary:        Development files for notify-sharp
41Summary(ja):    notify-sharp の開発用ファイル
42Group:          Development/Libraries
43Requires:       %{name} = %{version}-%{release}
44Requires:       pkgconfig
45
46%description devel
47Development files for notify-sharp
48
49%package doc
50Summary:        Documention files for notify-sharp
51Summary(ja):    notify-sharp のドキュメント
52Group:          Documentation
53Requires:       %{name} = %{version}-%{release}
54Requires:       monodoc
55
56%description doc
57Documentation files for notify-sharp
58
59%prep
60%setup -qn %{name}-%{svndate}
61%patch0 -p1 -b .use_dbus_sharp
62sed -i -e 's|dbus-sharp-1\.0|dbus-sharp-2\.0|g' configure.ac
63sed -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
68autoreconf --install
69%configure --libdir=%{_prefix}/lib
70make
71
72%install
73rm -rf ${RPM_BUILD_ROOT}
74make install DESTDIR=${RPM_BUILD_ROOT} pkgconfigdir=%{_libdir}/pkgconfig
75
76
77%clean
78rm -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
Note: See TracBrowser for help on using the repository browser.