source: projects/specs/trunk/v/vinagre/vinagre-vl.spec @ 805

Revision 805, 5.8 KB checked in by Takemikaduchi, 14 years ago (diff)

change spec file of gnome-2.30

Line 
1Summary:        VNC client for the GNOME desktop
2Summary(ja):    GNOME デスクトップ用 VNC クライアント
3
4Name:           vinagre
5Version:        2.30.0
6Release:        1%{?_dist_release}
7
8Group:          Applications/System
9License:        GPLv2+
10URL:            http://www.gnome.org/projects/vinagre/
11Source0:        http://download.gnome.org/sources/%{name}/2.28/%{name}-%{version}.tar.bz2
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  gtk-vnc-devel >= 0.3.10
16BuildRequires:  glib2-devel >= 2.24.0
17BuildRequires:  gtk2-devel >= 2.20.0
18BuildRequires:  GConf2-devel >= 2.28.0
19BuildRequires:  avahi-ui-devel >= 0.6.22
20BuildRequires:  avahi-gobject-devel >= 0.6.22
21BuildRequires:  perl(XML::Parser) gettext intltool
22BuildRequires:  desktop-file-utils
23BuildRequires:  gnome-doc-utils
24BuildRequires:  libgnome-keyring-devel >= 2.30.0
25BuildRequires:  gnome-panel
26BuildRequires:  libxml2-devel >= 2.6.31
27BuildRequires:  vte-devel >= 0.20
28
29%description
30Vinagre is a VNC client for the GNOME desktop environment.
31
32%prep
33%setup -q
34
35%build
36%configure \
37    --disable-scrollkeeper \
38    --disable-schemas-install \
39    --disable-telepathy \
40    --enable-avahi
41make %{?_smp_mflags}
42
43
44%install
45rm -rf $RPM_BUILD_ROOT
46export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
47make install DESTDIR=$RPM_BUILD_ROOT
48
49# Remove text files installed by vinagre, we install them in a versioned
50# directory in the files section
51rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre/
52
53desktop-file-install                                            \
54        --remove-category=Application                           \
55        --add-category=GTK                                      \
56        --delete-original                                       \
57        --dir=$RPM_BUILD_ROOT%{_datadir}/applications           \
58        $RPM_BUILD_ROOT%{_datadir}/applications/vinagre.desktop
59
60%find_lang vinagre --with-gnome
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post
66update-desktop-database -q
67export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
68gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/vinagre.schemas > /dev/null || :
69touch %{_datadir}/icons/hicolor
70if [ -x /usr/bin/gtk-update-icon-cache ]; then
71  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
72fi
73
74
75%pre
76if [ "$1" -gt 1 -a -f %{_sysconfdir}/gconf/schemas/vinagre.schemas ]; then
77  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
78  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/vinagre.schemas > /dev/null || :
79fi
80
81%preun
82if [ "$1" -eq 0 ]; then
83  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
84  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/vinagre.schemas > /dev/null || :
85fi
86
87%postun
88update-desktop-database -q
89update-mime-database %{_datadir}/mime >/dev/null
90touch %{_datadir}/icons/hicolor
91if [ -x /usr/bin/gtk-update-icon-cache ]; then
92  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
93fi
94
95
96%files -f vinagre.lang
97%defattr(-,root,root,-)
98%{_sysconfdir}/gconf/schemas/vinagre.schemas
99%{_bindir}/*
100%{_libdir}/bonobo/servers/GNOME_VinagreApplet.server
101%{_libdir}/vinagre-1
102%{_libexecdir}/vinagre-applet
103%{_datadir}/applications/*.desktop
104%{_datadir}/icons/hicolor/*/*/*
105%{_datadir}/mime/packages/vinagre-mime.xml
106%{_datadir}/%{name}/
107%{_datadir}/%{name}-1/
108## for development
109%{_includedir}/%{name}-1.0/
110%{_libdir}/pkgconfig/%{name}-1.0.pc
111
112%doc %{_mandir}/man1/vinagre.1.gz
113%doc README NEWS COPYING AUTHORS
114
115%changelog
116* Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
117- new upstream release
118- change BuildRequires: gnome-keyring-devel -> libgnome-keyring-devel
119
120* Sun Nov  8 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
121- new upstream release
122
123* Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
124- new upstream release
125
126* Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
127- new upstream release
128
129* Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
130- new upstream release
131
132* Mon Jan 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.2-1
133- new upstream release
134- build with gnutls-2.6.3
135
136* Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
137- new upstream release
138
139* Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
140- new upstream release
141
142* Sat Sep 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp>  2.23.92-1
143- initial build for Vine Linux
144
145* Mon Sep  8 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.92-1
146- Update to 2.23.92
147
148* Tue Sep  2 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.91-1
149- Update to 2.23.91
150
151* Fri Aug 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.90-1
152- Update to 2.23.90
153
154* Wed Jun 25 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.4-2
155- Rebuild
156
157* Tue Jun 17 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.4-1
158- Update to 2.23.4
159- Fix URL (#451746)
160
161* Wed Jun  4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.3.1-1
162- Update to 2.23.3.1
163
164* Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-1
165- Update to 2.23.1
166
167* Mon Apr  7 2008 Matthias Clasen <mclasen@redhat.com> - 0.5.1-1
168- Update to 0.5.1
169
170* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.5.0-1
171- Update to 0.5.0
172
173* Mon Feb 25 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.92-1
174- Update to 0.4.92
175
176* Mon Feb 18 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.91-2
177- Spec file fixes
178
179* Tue Feb 12 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.91-1
180- Update to 0.4.91
181
182* Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.90-1
183- Update to 0.4.90
184
185* Thu Dec 13 2007 - Bastien Nocera <bnocera@redhat.com> - 0.4-1
186- Update to 0.4 and drop obsolete patches
187
188* Fri Nov 23 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-3
189- Fix crasher when passing broken options on the command-line (#394671)
190
191* Thu Oct 25 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-2
192- Fix crasher when setting a favourite with no password (#352371)
193
194* Mon Sep 24 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-1
195- Update to 0.3
196
197* Wed Aug 22 2007 - Bastien Nocera <bnocera@redhat.com> - 0.2-1
198- First version
199- Fix plenty of comments from Ray Strode as per review
200- Have work-around for BZ #253734
201
Note: See TracBrowser for help on using the repository browser.