14591
|
1 |
#
|
|
2 |
# spec file for package SUNWvinagre
|
|
3 |
#
|
|
4 |
# includes module(s): vinagre
|
|
5 |
#
|
15556
|
6 |
# Copyright 2009 Sun Microsystems, Inc.
|
14591
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
16434
|
10 |
%define owner halton
|
14591
|
11 |
#
|
|
12 |
|
|
13 |
%include Solaris.inc
|
|
14 |
|
|
15 |
%use vinagre = vinagre.spec
|
|
16 |
|
|
17 |
Name: SUNWvinagre
|
15517
|
18 |
Summary: Vinagre - A VNC client for the GNOME Desktop
|
14591
|
19 |
Version: %{vinagre.version}
|
|
20 |
SUNW_Copyright: %{name}.copyright
|
|
21 |
SUNW_BaseDir: %{_basedir}
|
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
Source1: %{name}-manpages-0.1.tar.gz
|
|
24 |
|
|
25 |
%include default-depend.inc
|
15650
|
26 |
Requires: SUNWlibgnomecanvas
|
14591
|
27 |
Requires: SUNWgnome-libs
|
|
28 |
Requires: SUNWgnutls
|
|
29 |
Requires: SUNWavahi-bridge-dsd
|
14798
|
30 |
Requires: SUNWgnome-component
|
|
31 |
Requires: SUNWgnome-config
|
|
32 |
Requires: SUNWgnome-panel
|
14591
|
33 |
Requires: SUNWgnome-vfs
|
14798
|
34 |
Requires: SUNWgtk-vnc
|
|
35 |
Requires: SUNWlibpopt
|
|
36 |
Requires: SUNWfontconfig
|
|
37 |
Requires: SUNWfreetype2
|
|
38 |
Requires: SUNWlibmsr
|
|
39 |
Requires: SUNWlxmlr
|
14591
|
40 |
Requires: SUNWxorg-clientlibs
|
14798
|
41 |
Requires: SUNWxwice
|
14591
|
42 |
Requires: SUNWxwplt
|
15556
|
43 |
Requires: SUNWdesktop-cache
|
|
44 |
Requires: %{name}-root
|
15650
|
45 |
BuildRequires: SUNWlibgnomecanvas-devel
|
14591
|
46 |
BuildRequires: SUNWgnome-libs-devel
|
|
47 |
BuildRequires: SUNWgnutls-devel
|
|
48 |
BuildRequires: SUNWavahi-bridge-dsd-devel
|
14798
|
49 |
BuildRequires: SUNWgnome-component-devel
|
14591
|
50 |
BuildRequires: SUNWgnome-config-devel
|
14798
|
51 |
BuildRequires: SUNWgnome-panel-devel
|
|
52 |
BuildRequires: SUNWgnome-vfs-devel
|
|
53 |
BuildRequires: SUNWgtk-vnc-devel
|
|
54 |
BuildRequires: SUNWlibpopt-devel
|
|
55 |
BuildRequires: SUNWlxml-devel
|
14591
|
56 |
|
|
57 |
%if %build_l10n
|
|
58 |
%package l10n
|
|
59 |
Summary: %{summary} - l10n files
|
|
60 |
SUNW_BaseDir: %{_basedir}
|
|
61 |
%include default-depend.inc
|
|
62 |
Requires: %{name}
|
|
63 |
%endif
|
|
64 |
|
16166
|
65 |
%package devel
|
|
66 |
Summary: %{summary} - development files
|
|
67 |
SUNW_BaseDir: %{_basedir}
|
|
68 |
%include default-depend.inc
|
|
69 |
Requires: %name
|
|
70 |
|
14591
|
71 |
%package root
|
|
72 |
Summary: %{summary} - / filesystem
|
|
73 |
SUNW_BaseDir: /
|
|
74 |
%include default-depend.inc
|
|
75 |
|
|
76 |
%prep
|
|
77 |
rm -rf %name-%version
|
|
78 |
mkdir -p %name-%version
|
|
79 |
%vinagre.prep -d %name-%version
|
|
80 |
cd %{_builddir}/%name-%version
|
|
81 |
gzcat %SOURCE1 | tar xf -
|
|
82 |
|
|
83 |
%build
|
|
84 |
export CFLAGS="%optflags"
|
|
85 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
86 |
%vinagre.build -d %name-%version
|
|
87 |
|
|
88 |
%install
|
|
89 |
rm -rf $RPM_BUILD_ROOT
|
|
90 |
%vinagre.install -d %name-%version
|
|
91 |
|
|
92 |
# remove duplicated files in %{_datadir}/doc/vinagre,
|
|
93 |
# we have them in %{_datadir}/doc/SUNWvinagre
|
|
94 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre
|
|
95 |
|
|
96 |
# install man page
|
|
97 |
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
98 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
99 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
100 |
|
|
101 |
%if %build_l10n
|
|
102 |
%else
|
|
103 |
# REMOVE l10n FILES
|
|
104 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
105 |
rm -r $RPM_BUILD_ROOT%{_datadir}/gnome/help/vinagre/[a-z][a-z]
|
14804
|
106 |
rm -r $RPM_BUILD_ROOT%{_datadir}/gnome/help/vinagre/[a-z][a-z]_[A-Z][A-Z]
|
14591
|
107 |
rm $RPM_BUILD_ROOT%{_datadir}/omf/vinagre/vinagre-[a-z][a-z].omf
|
14804
|
108 |
rm $RPM_BUILD_ROOT%{_datadir}/omf/vinagre/vinagre-[a-z][a-z]_[A-Z][A-Z].omf
|
14591
|
109 |
%endif
|
|
110 |
|
|
111 |
%clean
|
|
112 |
rm -rf $RPM_BUILD_ROOT
|
|
113 |
|
|
114 |
%post
|
15556
|
115 |
%restart_fmri desktop-mime-cache icon-cache gconf-cache
|
14591
|
116 |
|
|
117 |
%postun
|
15556
|
118 |
%restart_fmri desktop-mime-cache
|
14591
|
119 |
|
|
120 |
%files
|
|
121 |
%doc -d vinagre-%{vinagre.version} README AUTHORS
|
|
122 |
%doc(bzip2) -d vinagre-%{vinagre.version} COPYING ChangeLog po/ChangeLog help/ChangeLog NEWS
|
|
123 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
124 |
%defattr (-, root, bin)
|
|
125 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
126 |
%{_bindir}/vinagre
|
|
127 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
128 |
%{_libdir}/vinagre-applet
|
16166
|
129 |
%{_libdir}/vinagre-1
|
14591
|
130 |
%dir %attr (0755, root, bin) %{_libdir}/bonobo
|
|
131 |
%dir %attr (0755, root, bin) %{_libdir}/bonobo/servers
|
|
132 |
%{_libdir}/bonobo/servers/GNOME_VinagreApplet.server
|
|
133 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
134 |
%{_datadir}/vinagre
|
16244
|
135 |
%{_datadir}/gnome/help/vinagre/C
|
|
136 |
%{_datadir}/omf/vinagre/vinagre-C.omf
|
14591
|
137 |
%dir %attr (0755, root, other) %{_datadir}/applications
|
|
138 |
%{_datadir}/applications/*
|
16244
|
139 |
%dir %attr (-, root, root) %{_datadir}/mime
|
|
140 |
%dir %attr (-, root, root) %{_datadir}/mime/packages
|
|
141 |
%{_datadir}/mime/packages/vinagre-mime.xml
|
14591
|
142 |
%dir %attr (0755, root, other) %{_datadir}/icons
|
|
143 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
|
|
144 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*
|
|
145 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*/apps
|
|
146 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*/mimetypes
|
14845
|
147 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*/status
|
14591
|
148 |
%dir %attr (0755, root, other) %{_datadir}/gnome
|
|
149 |
%{_datadir}/icons/hicolor/*/apps/*
|
|
150 |
%{_datadir}/icons/hicolor/*/mimetypes/*
|
14845
|
151 |
%{_datadir}/icons/hicolor/*/status/*
|
14591
|
152 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
153 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
154 |
%{_mandir}/*/*
|
|
155 |
|
|
156 |
%if %build_l10n
|
|
157 |
%files l10n
|
|
158 |
%defattr (-, root, bin)
|
|
159 |
%dir %attr (0755, root, sys) %{_datadir}
|
14630
|
160 |
%attr (-, root, other) %{_datadir}/locale
|
14591
|
161 |
%{_datadir}/omf/vinagre/vinagre-[a-z][a-z].omf
|
14804
|
162 |
%{_datadir}/omf/vinagre/vinagre-[a-z][a-z]_[A-Z][A-Z].omf
|
14591
|
163 |
%dir %attr (0755, root, other) %{_datadir}/gnome
|
|
164 |
%{_datadir}/gnome/help/vinagre/[a-z][a-z]
|
14804
|
165 |
%{_datadir}/gnome/help/vinagre/[a-z][a-z]_[A-Z][A-Z]
|
14591
|
166 |
%endif
|
|
167 |
|
16166
|
168 |
%files devel
|
|
169 |
%defattr (-, root, bin)
|
|
170 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
171 |
%{_includedir}/*
|
|
172 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
173 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
174 |
%{_libdir}/pkgconfig/*
|
|
175 |
|
14591
|
176 |
%files root
|
|
177 |
%defattr (-, root, sys)
|
|
178 |
%attr (0755, root, sys) %dir %{_sysconfdir}
|
|
179 |
%{_sysconfdir}/gconf/schemas/vinagre.schemas
|
|
180 |
|
|
181 |
%changelog
|
16535
|
182 |
* Fri Sep 11 2009 - [email protected]
|
|
183 |
- Remove SUNWmlib dependency.
|
16244
|
184 |
* Wed Aug 12 2009 - [email protected]
|
|
185 |
- Update %files to reflect version bumping to 2.27.90
|
16166
|
186 |
* Wed Jul 29 2009 - [email protected]
|
|
187 |
- Change %files to reflect version bumping to 2.27.5
|
|
188 |
- Add -devel pkg
|
15556
|
189 |
* Fri Apr 3 2009 - [email protected]
|
|
190 |
- use desktop-cache instead of postrun
|
14845
|
191 |
* Tue Jan 06 2009 - [email protected]
|
|
192 |
- Change %files to reflect version bumping
|
14804
|
193 |
* Tue Dec 23 2008 - [email protected]
|
|
194 |
- Update %files after bump to 2.25.3
|
14798
|
195 |
* Mon Dec 22 2008 - [email protected]
|
|
196 |
- update deps after run check-deps.pl
|
14630
|
197 |
* Thu Nov 20 2008 - [email protected]
|
|
198 |
- Add %{_datadir}/locale to %files l10n
|
14593
|
199 |
* Thu Nov 13 2008 - [email protected]
|
|
200 |
- Moved from SFE
|
14591
|
201 |
* Wed Aug 20 2008 - [email protected]
|
|
202 |
- Update %files becuase verion upgrading
|
|
203 |
* Wed Feb 20 2008 - [email protected]
|
|
204 |
- Add -root package, add %post and %preun -root package.
|
|
205 |
- Update files according updated version.
|
|
206 |
* Fri Nov 30 2007 - [email protected]
|
|
207 |
- Initial spec
|
15650
|
208 |
|