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

Revision 2323, 6.6 KB checked in by Takemikaduchi, 13 years ago (diff)

glib2: fix %%filesvinagre, gnome-utils, gnome-doc-utils: create -devel package, others: new upstream release

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