author | davelam |
Tue, 27 Apr 2010 07:45:54 +0000 | |
changeset 17937 | 664c0536875a |
parent 17902 | a077563a1cf5 |
child 17995 | d18d4415e648 |
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 |
# |
|
16434 | 10 |
%define owner jerrytan |
9560 | 11 |
|
12 |
%include Solaris.inc |
|
13 |
||
14 |
%use gthumb = gthumb.spec |
|
15 |
||
16 |
Name: SUNWgnome-img-organizer |
|
17937
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
17 |
IPS_package_name: image/viewer/gthumb |
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
18 |
Meta(info.classification): %{classification_prefix}:Applications/Graphics and Imaging |
9560 | 19 |
Summary: GNOME image organizer (gthumb) |
20 |
Version: %{default_pkg_version} |
|
11927 | 21 |
SUNW_Copyright: %{name}.copyright |
9560 | 22 |
SUNW_BaseDir: %{_basedir} |
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
24 |
||
25 |
%include default-depend.inc |
|
15650 | 26 |
Requires: SUNWlibgnomecanvas |
9560 | 27 |
Requires: SUNWgnome-libs |
28 |
Requires: SUNWgnome-img-organizer-root |
|
29 |
Requires: SUNWgnome-file-mgr |
|
30 |
Requires: SUNWgnome-camera |
|
31 |
Requires: SUNWgnome-component |
|
32 |
Requires: SUNWgnome-config |
|
33 |
Requires: SUNWgnome-panel |
|
34 |
Requires: SUNWgnome-vfs |
|
35 |
Requires: SUNWjpg |
|
36 |
Requires: SUNWlibexif |
|
37 |
Requires: SUNWlibms |
|
38 |
Requires: SUNWlibpopt |
|
15556 | 39 |
Requires: SUNWdesktop-cache |
15650 | 40 |
BuildRequires: SUNWlibgnomecanvas-devel |
9560 | 41 |
BuildRequires: SUNWgnome-component-devel |
42 |
BuildRequires: SUNWgnome-config-devel |
|
43 |
BuildRequires: SUNWgnome-panel-devel |
|
44 |
BuildRequires: SUNWgnome-vfs-devel |
|
45 |
BuildRequires: SUNWjpg-devel |
|
46 |
BuildRequires: SUNWlibexif-devel |
|
47 |
BuildRequires: SUNWlibpopt-devel |
|
48 |
BuildRequires: SUNWgnome-file-mgr-devel |
|
49 |
BuildRequires: SUNWgnome-camera-devel |
|
50 |
BuildRequires: SUNWgnome-libs-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 |
17464 | 103 |
%doc(bzip2) -d gthumb-%{gthumb.version} ChangeLog NEWS help/ChangeLog po/ChangeLog |
13618 | 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, sys) %{_datadir} |
|
109 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
110 |
%{_datadir}/applications/* |
|
111 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
112 |
%{_datadir}/gnome/help/*/C |
|
17850 | 113 |
%{_datadir}/gthumb/ui/*.ui |
114 |
%{_includedir}/gthumb-2.12/*.h |
|
115 |
%{_includedir}/gthumb-2.12/gthumb/*.h |
|
17861 | 116 |
%dir %attr(0755, root, other) %{_libdir}/pkgconfig |
17850 | 117 |
%{_libdir}/pkgconfig/gthumb-2.12.pc |
118 |
%{_libdir}/gthumb/extensions/*.extension |
|
119 |
%{_libdir}/gthumb/extensions/*.so |
|
120 |
||
13661 | 121 |
%dir %attr(0755, root, other) %{_datadir}/icons |
17581 | 122 |
%dir %attr(0755, root, other) %{_datadir}/icons/hicolor |
123 |
%dir %attr(0755, root, other) %{_datadir}/icons/hicolor/* |
|
124 |
%dir %attr(0755, root, other) %{_datadir}/icons/hicolor/*/* |
|
17464 | 125 |
%dir %attr(0755, root, other) %{_datadir}/icons/hicolor/*/*/* |
126 |
%dir %attr(0755, root, other) %{_datadir}/gthumb/icons/hicolor/ |
|
127 |
%dir %attr(0755, root, other) %{_datadir}/gthumb/icons/hicolor/*/*/* |
|
9560 | 128 |
|
129 |
%if %build_l10n |
|
130 |
%files l10n |
|
131 |
%defattr (-, root, bin) |
|
132 |
%dir %attr (0755, root, sys) %{_datadir} |
|
133 |
%attr (-, root, other) %{_datadir}/locale |
|
134 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
135 |
%{_datadir}/gnome/help/gthumb/[a-z][a-z] |
|
17581 | 136 |
%{_datadir}/gnome/help/gthumb/zh_CN/figures/* |
137 |
%{_datadir}/gnome/help/gthumb/zh_CN/gthumb.help.copyright |
|
138 |
%{_datadir}/gnome/help/gthumb/zh_CN/gthumb.xml |
|
9560 | 139 |
%endif |
140 |
||
141 |
%files root |
|
9780 | 142 |
%defattr (-, root, sys) |
9560 | 143 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
17464 | 144 |
%{_sysconfdir}/gconf/schemas/gthumb*.schemas |
9560 | 145 |
|
146 |
%changelog |
|
17861 | 147 |
* Mon Apr 19 2010 - [email protected] |
148 |
- Fix %files. |
|
17850 | 149 |
* Fri Apr 16 2010 - [email protected] |
150 |
- Fix %files. |
|
17216 | 151 |
* Mon Dec 21 2009 - [email protected] |
152 |
- Remove SUNWgnome-print dependency. |
|
15556 | 153 |
* Fri Apr 3 2009 - [email protected] |
154 |
- use desktop-cache instead of postrun |
|
12263 | 155 |
* Wed May 07 2008 - [email protected] |
156 |
- Remove PERL5LIB setting as it is not necessary. |
|
11370 | 157 |
* Thu Jan 3 2008 - [email protected] |
158 |
- use gconf-install.script instead of an inline script |
|
10572 | 159 |
* Fri Sep 28 2007 - [email protected] |
160 |
- delete Nevada X dep |
|
10384 | 161 |
* Tue Aug 28 2007 - [email protected] |
162 |
- Update %files with GNOME_GThumb.server as installed by the new tarball. |
|
9780 | 163 |
* Tue Apr 24 2007 - [email protected] |
9782 | 164 |
- use $BASEDIR instead of $PKG_INSTALL_ROOT to fix diskless install |
165 |
(CR 6537817) |
|
166 |
* Tue Apr 24 2007 - [email protected] |
|
9780 | 167 |
- s/0755/-/ in defattr so that files are not made all executable |
9595 | 168 |
* Tue Mar 20 2007 - [email protected] |
169 |
- Update %files for new tarball (remove the %{datadir}/application-registry |
|
170 |
dir). |
|
9562 | 171 |
* Mon Mar 14 2007 - [email protected] |
172 |
- update postrun scripts to the latest and greatest |
|
173 |
- delete some unnecessary env variables |
|
9560 | 174 |
* Mon Feb 19 2007 - [email protected] |
175 |
- Minor updates for new gthumb tarball. |
|
176 |
* Wed Oct 11 2006 - [email protected] |
|
177 |
- fix icondir permissions |
|
178 |
* Fri Jun 2 2006 - [email protected] |
|
179 |
- use post/postun scripts to install schemas into the merged gconf files |
|
180 |
* Thu May 11 2006 - [email protected] |
|
181 |
- kill -share pkg, remove eog.1 man page. |
|
182 |
* Mon May 01 2006 - [email protected] |
|
183 |
- Add %{_datadir}/icons to share package. |
|
184 |
* Mon Feb 20 2006 - [email protected] |
|
185 |
- Complete update of Build/Requires after running check-deps.pl script. |
|
186 |
* Thu Feb 16 2006 - [email protected] |
|
187 |
- Update Build/Requires after running check-deps.pl script. |
|
188 |
* Wed Feb 15 2006 - [email protected] |
|
189 |
- Set PKG_CONFIG_PATH to find libgphoto; Set LDFLAGS to link with libpng. |
|
190 |
* Sat Jan 28 2006 - [email protected] |
|
191 |
- Add BuildRequires for '-devel' equivalents of the Requires packages. |
|
192 |
- Added BuildRequires SUNWgnome-camera-devel for gthumb. |
|
193 |
* Sat Dec 3 2005 - [email protected] |
|
194 |
- add %post script that runs update-desktop-database |
|
195 |
* Tue Nov 29 2005 - laca.com |
|
196 |
- remove javahelp stuff |
|
197 |
* Mon Oct 03 2005 - [email protected] |
|
198 |
- Remove unpackaged files. |
|
199 |
* Sat Dec 18 2004 - [email protected] |
|
200 |
- Move gthumb to /usr/sfw per ARC decision. |
|
201 |
* Sun Nov 14 2004 - [email protected] |
|
202 |
- move gthumb to /usr/demo/jds |
|
203 |
* Sat Oct 02 2004 - [email protected] |
|
204 |
- added %pkgbuild_postprocess |
|
205 |
* Mon Aug 23 2004 - [email protected] |
|
206 |
- s/SUNWpl5u/SUNWperl584usr/ |
|
207 |
* Mon Jun 26 2004 [email protected] |
|
208 |
- change eog.1 permissions to 0755 for Solaris integration error |
|
209 |
* Sat Jun 26 2004 [email protected] |
|
210 |
- Changed install location to /usr/... |
|
211 |
* Wed Jun 2 2004 - [email protected] |
|
212 |
- Added %{_datadir}/locale to install l10n messages |
|
213 |
* Tue May 18 2004 - [email protected] |
|
214 |
- add sfw to LDFLAGS/CPPFLAGS (patch from Shirley) |
|
215 |
* Tue May 11 2004 - [email protected] |
|
216 |
- add %{_datadir}/eog to files share so glade files |
|
217 |
get installed. This corrects core dumping problem |
|
218 |
when bringing up preferences dialog. |
|
219 |
* Tue May 04 2004 - [email protected] |
|
220 |
- add SUNWgnome-camera dependency |
|
221 |
* Fri Mar 26 2004 - [email protected] |
|
222 |
- add SUNWgnome-file-mgr dependency (for eel) |
|
223 |
* Wed Mar 24 2004 - [email protected] |
|
224 |
- Added SGML man page integration |
|
225 |
* Mon Mar 01 2004 - <[email protected]> |
|
226 |
- fix dependencies |
|
227 |
- define PERL5LIB |
|
228 |
- file %files share |
|
229 |
* Mon Feb 23 2004 - <[email protected]> |
|
230 |
- install gconf schemas at the end of the install stage |
|
15650 | 231 |