author | davelam |
Sat, 18 Apr 2009 12:26:03 +0000 | |
changeset 15650 | dbcf7e3715dd |
parent 15556 | 79756053d7da |
child 16434 | f21f22550fe9 |
permissions | -rw-r--r-- |
9560 | 1 |
# |
2 |
# spec file for package SUNWgnome-img-organizer |
|
3 |
# |
|
4 |
# includes module(s): gthumb |
|
5 |
# |
|
15556 | 6 |
# Copyright 2009 Sun Microsystems, Inc. |
9560 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
12967
5f4e5ac840fa
* SUNWgnome-config.spec: Update Owner Comment, to confirm with all other
mattman
parents:
12263
diff
changeset
|
10 |
# Owner: jerrytan |
9560 | 11 |
|
12 |
%include Solaris.inc |
|
13 |
||
14 |
%use gthumb = gthumb.spec |
|
15 |
||
16 |
Name: SUNWgnome-img-organizer |
|
17 |
Summary: GNOME image organizer (gthumb) |
|
18 |
Version: %{default_pkg_version} |
|
11927 | 19 |
SUNW_Copyright: %{name}.copyright |
9560 | 20 |
SUNW_BaseDir: %{_basedir} |
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
22 |
||
23 |
%include default-depend.inc |
|
15650 | 24 |
Requires: SUNWlibgnomecanvas |
9560 | 25 |
Requires: SUNWgnome-libs |
26 |
Requires: SUNWgnome-print |
|
27 |
Requires: SUNWgnome-img-organizer-root |
|
28 |
Requires: SUNWgnome-file-mgr |
|
29 |
Requires: SUNWgnome-camera |
|
30 |
Requires: SUNWgnome-component |
|
31 |
Requires: SUNWgnome-config |
|
32 |
Requires: SUNWgnome-panel |
|
33 |
Requires: SUNWgnome-vfs |
|
34 |
Requires: SUNWjpg |
|
35 |
Requires: SUNWlibexif |
|
36 |
Requires: SUNWlibms |
|
37 |
Requires: SUNWlibpopt |
|
15556 | 38 |
Requires: SUNWdesktop-cache |
15650 | 39 |
BuildRequires: SUNWlibgnomecanvas-devel |
9560 | 40 |
BuildRequires: SUNWgnome-component-devel |
41 |
BuildRequires: SUNWgnome-config-devel |
|
42 |
BuildRequires: SUNWgnome-panel-devel |
|
43 |
BuildRequires: SUNWgnome-vfs-devel |
|
44 |
BuildRequires: SUNWjpg-devel |
|
45 |
BuildRequires: SUNWlibexif-devel |
|
46 |
BuildRequires: SUNWlibpopt-devel |
|
47 |
BuildRequires: SUNWgnome-file-mgr-devel |
|
48 |
BuildRequires: SUNWgnome-camera-devel |
|
49 |
BuildRequires: SUNWgnome-libs-devel |
|
50 |
BuildRequires: SUNWgnome-print-devel |
|
51 |
||
52 |
%if %build_l10n |
|
53 |
%package l10n |
|
54 |
Summary: %{summary} - l10n files |
|
55 |
SUNW_BaseDir: %{_basedir} |
|
56 |
%include default-depend.inc |
|
57 |
Requires: %{name} |
|
58 |
%endif |
|
59 |
||
60 |
%package root |
|
61 |
Summary: %{summary} - / filesystem |
|
62 |
SUNW_BaseDir: / |
|
63 |
%include default-depend.inc |
|
64 |
||
65 |
%prep |
|
66 |
rm -rf %name-%version |
|
67 |
mkdir %name-%version |
|
68 |
%gthumb.prep -d %name-%version |
|
69 |
||
70 |
%build |
|
9562 | 71 |
export CFLAGS="%optflags" |
9560 | 72 |
export RPM_OPT_FLAGS="$CFLAGS" |
73 |
export CPPFLAGS="-I/usr/sfw/include" |
|
74 |
export LDFLAGS="%_ldflags -lm -L/usr/sfw/lib -R/usr/sfw/lib" |
|
75 |
||
76 |
%gthumb.build -d %name-%version |
|
77 |
||
78 |
%install |
|
9562 | 79 |
rm -rf $RPM_BUILD_ROOT |
9560 | 80 |
%gthumb.install -d %name-%version |
81 |
||
82 |
%if %build_l10n |
|
83 |
%else |
|
84 |
# REMOVE l10n FILES |
|
85 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
86 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]* |
|
87 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z]*.omf |
|
88 |
%endif |
|
89 |
||
90 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}(gthumb):$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT/usr} |
|
91 |
||
92 |
%clean |
|
93 |
rm -rf $RPM_BUILD_ROOT |
|
94 |
||
95 |
%post |
|
15556 | 96 |
%restart_fmri desktop-mime-cache gconf-cache |
9560 | 97 |
|
98 |
%postun |
|
15556 | 99 |
%restart_fmri desktop-mime-cache |
9560 | 100 |
|
101 |
%files |
|
13618 | 102 |
%doc -d gthumb-%{gthumb.version} README AUTHORS |
103 |
%doc(bzip2) -d gthumb-%{gthumb.version} ChangeLog NEWS doc/ChangeLog po/ChangeLog |
|
104 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
9560 | 105 |
%defattr (-, root, bin) |
106 |
%dir %attr (0755, root, bin) %{_bindir} |
|
107 |
%{_bindir}/* |
|
108 |
%dir %attr (0755, root, bin) %{_libdir} |
|
109 |
%{_libdir}/libgthumb.so |
|
10384 | 110 |
%{_libdir}/bonobo/servers/GNOME_GThumb.server |
9560 | 111 |
%{_libdir}/gthumb/modules/lib*.so* |
112 |
%dir %attr (0755, root, sys) %{_datadir} |
|
113 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
114 |
%{_datadir}/applications/* |
|
115 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
116 |
%{_datadir}/gnome/help/*/C |
|
117 |
%{_datadir}/gthumb |
|
13661 | 118 |
%dir %attr(0755, root, other) %{_datadir}/icons |
119 |
%dir %attr(0755, root, other) %{_datadir}/icons/hicolor |
|
120 |
%dir %attr(0755, root, other) %{_datadir}/icons/hicolor/48x48 |
|
121 |
%dir %attr(0755, root, other) %{_datadir}/icons/hicolor/48x48/apps |
|
122 |
%{_datadir}/icons/hicolor/48x48/apps/gthumb.png |
|
9560 | 123 |
%dir %attr(0755, root, bin) %{_mandir} |
124 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
125 |
%{_mandir}/*/* |
|
126 |
||
127 |
%if %build_l10n |
|
128 |
%files l10n |
|
129 |
%defattr (-, root, bin) |
|
130 |
%dir %attr (0755, root, sys) %{_datadir} |
|
131 |
%attr (-, root, other) %{_datadir}/locale |
|
132 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
133 |
%{_datadir}/gnome/help/gthumb/[a-z][a-z] |
|
134 |
%endif |
|
135 |
||
136 |
%files root |
|
9780 | 137 |
%defattr (-, root, sys) |
9560 | 138 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
139 |
%{_sysconfdir}/gconf/schemas/gthumb.schemas |
|
140 |
||
141 |
%changelog |
|
15556 | 142 |
* Fri Apr 3 2009 - [email protected] |
143 |
- use desktop-cache instead of postrun |
|
12263 | 144 |
* Wed May 07 2008 - [email protected] |
145 |
- Remove PERL5LIB setting as it is not necessary. |
|
11370 | 146 |
* Thu Jan 3 2008 - [email protected] |
147 |
- use gconf-install.script instead of an inline script |
|
10572 | 148 |
* Fri Sep 28 2007 - [email protected] |
149 |
- delete Nevada X dep |
|
10384 | 150 |
* Tue Aug 28 2007 - [email protected] |
151 |
- Update %files with GNOME_GThumb.server as installed by the new tarball. |
|
9780 | 152 |
* Tue Apr 24 2007 - [email protected] |
9782 | 153 |
- use $BASEDIR instead of $PKG_INSTALL_ROOT to fix diskless install |
154 |
(CR 6537817) |
|
155 |
* Tue Apr 24 2007 - [email protected] |
|
9780 | 156 |
- s/0755/-/ in defattr so that files are not made all executable |
9595 | 157 |
* Tue Mar 20 2007 - [email protected] |
158 |
- Update %files for new tarball (remove the %{datadir}/application-registry |
|
159 |
dir). |
|
9562 | 160 |
* Mon Mar 14 2007 - [email protected] |
161 |
- update postrun scripts to the latest and greatest |
|
162 |
- delete some unnecessary env variables |
|
9560 | 163 |
* Mon Feb 19 2007 - [email protected] |
164 |
- Minor updates for new gthumb tarball. |
|
165 |
* Wed Oct 11 2006 - [email protected] |
|
166 |
- fix icondir permissions |
|
167 |
* Fri Jun 2 2006 - [email protected] |
|
168 |
- use post/postun scripts to install schemas into the merged gconf files |
|
169 |
* Thu May 11 2006 - [email protected] |
|
170 |
- kill -share pkg, remove eog.1 man page. |
|
171 |
* Mon May 01 2006 - [email protected] |
|
172 |
- Add %{_datadir}/icons to share package. |
|
173 |
* Mon Feb 20 2006 - [email protected] |
|
174 |
- Complete update of Build/Requires after running check-deps.pl script. |
|
175 |
* Thu Feb 16 2006 - [email protected] |
|
176 |
- Update Build/Requires after running check-deps.pl script. |
|
177 |
* Wed Feb 15 2006 - [email protected] |
|
178 |
- Set PKG_CONFIG_PATH to find libgphoto; Set LDFLAGS to link with libpng. |
|
179 |
* Sat Jan 28 2006 - [email protected] |
|
180 |
- Add BuildRequires for '-devel' equivalents of the Requires packages. |
|
181 |
- Added BuildRequires SUNWgnome-camera-devel for gthumb. |
|
182 |
* Sat Dec 3 2005 - [email protected] |
|
183 |
- add %post script that runs update-desktop-database |
|
184 |
* Tue Nov 29 2005 - laca.com |
|
185 |
- remove javahelp stuff |
|
186 |
* Mon Oct 03 2005 - [email protected] |
|
187 |
- Remove unpackaged files. |
|
188 |
* Sat Dec 18 2004 - [email protected] |
|
189 |
- Move gthumb to /usr/sfw per ARC decision. |
|
190 |
* Sun Nov 14 2004 - [email protected] |
|
191 |
- move gthumb to /usr/demo/jds |
|
192 |
* Sat Oct 02 2004 - [email protected] |
|
193 |
- added %pkgbuild_postprocess |
|
194 |
* Mon Aug 23 2004 - [email protected] |
|
195 |
- s/SUNWpl5u/SUNWperl584usr/ |
|
196 |
* Mon Jun 26 2004 [email protected] |
|
197 |
- change eog.1 permissions to 0755 for Solaris integration error |
|
198 |
* Sat Jun 26 2004 [email protected] |
|
199 |
- Changed install location to /usr/... |
|
200 |
* Wed Jun 2 2004 - [email protected] |
|
201 |
- Added %{_datadir}/locale to install l10n messages |
|
202 |
* Tue May 18 2004 - [email protected] |
|
203 |
- add sfw to LDFLAGS/CPPFLAGS (patch from Shirley) |
|
204 |
* Tue May 11 2004 - [email protected] |
|
205 |
- add %{_datadir}/eog to files share so glade files |
|
206 |
get installed. This corrects core dumping problem |
|
207 |
when bringing up preferences dialog. |
|
208 |
* Tue May 04 2004 - [email protected] |
|
209 |
- add SUNWgnome-camera dependency |
|
210 |
* Fri Mar 26 2004 - [email protected] |
|
211 |
- add SUNWgnome-file-mgr dependency (for eel) |
|
212 |
* Wed Mar 24 2004 - [email protected] |
|
213 |
- Added SGML man page integration |
|
214 |
* Mon Mar 01 2004 - <[email protected]> |
|
215 |
- fix dependencies |
|
216 |
- define PERL5LIB |
|
217 |
- file %files share |
|
218 |
* Mon Feb 23 2004 - <[email protected]> |
|
219 |
- install gconf schemas at the end of the install stage |
|
15650 | 220 |