author | davelam |
Wed, 24 Feb 2010 04:10:23 +0000 | |
branch | gnome-2-28 |
changeset 18642 | 478b5460cc36 |
parent 16434 | f21f22550fe9 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package SUNWgnome-ui-designer |
|
3 |
# |
|
4 |
# includes module(s): glade |
|
5 |
# |
|
15556 | 6 |
# Copyright 2009 Sun Microsystems, Inc. |
9397 | 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 hawklu |
9397 | 11 |
# |
12 |
%include Solaris.inc |
|
13 |
||
14 |
%use glade = glade.spec |
|
15 |
||
16 |
Name: SUNWgnome-ui-designer |
|
17 |
Summary: GNOME UI designer |
|
18 |
Version: %{default_pkg_version} |
|
19 |
Source: %{name}-manpages-0.1.tar.gz |
|
20 |
SUNW_BaseDir: %{_basedir} |
|
12022 | 21 |
SUNW_Copyright:%{name}.copyright |
9397 | 22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
23 |
||
24 |
%include default-depend.inc |
|
15650 | 25 |
Requires: SUNWlibgnomecanvas |
9397 | 26 |
Requires: SUNWgnome-libs |
27 |
Requires: SUNWgnome-component |
|
28 |
Requires: SUNWlibms |
|
29 |
Requires: SUNWlibpopt |
|
30 |
Requires: SUNWlxml |
|
15556 | 31 |
Requires: SUNWdesktop-cache |
15650 | 32 |
BuildRequires: SUNWlibgnomecanvas-devel |
9397 | 33 |
BuildRequires: SUNWgnome-component-devel |
34 |
BuildRequires: SUNWlibpopt-devel |
|
35 |
BuildRequires: SUNWgnome-libs-devel |
|
36 |
||
37 |
%if %build_l10n |
|
38 |
%package l10n |
|
39 |
Summary: %{summary} - l10n files |
|
40 |
SUNW_BaseDir: %{_basedir} |
|
41 |
%include default-depend.inc |
|
42 |
Requires: %{name} |
|
43 |
%endif |
|
44 |
||
45 |
%package devel |
|
46 |
Summary: %{summary} - development files |
|
47 |
SUNW_BaseDir: %{_basedir} |
|
48 |
%include default-depend.inc |
|
49 |
Requires: %{name} |
|
50 |
||
51 |
%prep |
|
52 |
rm -rf %name-%version |
|
53 |
mkdir %name-%version |
|
54 |
%glade.prep -d %name-%version |
|
55 |
cd %{_builddir}/%name-%version |
|
56 |
gzcat %SOURCE0 | tar xf - |
|
57 |
||
58 |
%build |
|
59 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
|
60 |
export CFLAGS="%optflags -I%{_includedir}" |
|
61 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
62 |
export LDFLAGS="%_ldflags" |
|
63 |
||
64 |
%glade.build -d %name-%version |
|
65 |
||
66 |
%install |
|
67 |
%glade.install -d %name-%version |
|
68 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
|
69 |
cd %{_builddir}/%name-%version/sun-manpages |
|
70 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
71 |
||
72 |
%if %build_l10n |
|
73 |
%else |
|
74 |
# REMOVE l10n FILES |
|
75 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
76 |
# Put these back in when localized help is delivered from l10n |
|
77 |
# rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/glade-2/[a-z] |
|
78 |
# rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/gaim/glade-2-[a-z]*.omf |
|
79 |
%endif |
|
80 |
||
81 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT} |
|
82 |
||
83 |
%clean |
|
84 |
rm -rf $RPM_BUILD_ROOT |
|
85 |
||
86 |
%post |
|
15556 | 87 |
%restart_fmri desktop-mime-cache |
9397 | 88 |
|
89 |
%postun |
|
15556 | 90 |
%restart_fmri desktop-mime-cache |
9397 | 91 |
|
92 |
%files |
|
93 |
%defattr (-, root, bin) |
|
94 |
%dir %attr (0755, root, bin) %{_bindir} |
|
95 |
%{_bindir}/* |
|
96 |
%dir %attr (0755, root, bin) %{_libdir} |
|
97 |
%{_libdir}/*.so* |
|
98 |
%{_libdir}/glade* |
|
99 |
%dir %attr (0755, root, sys) %{_datadir} |
|
100 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
101 |
%{_datadir}/applications/* |
|
102 |
%{_datadir}/glade* |
|
103 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
104 |
%{_datadir}/gnome/* |
|
105 |
%{_datadir}/omf |
|
106 |
%dir %attr (0755, root, other) %{_datadir}/icons |
|
107 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor |
|
108 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/* |
|
109 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*/apps |
|
110 |
%{_datadir}/icons/hicolor/*/apps/* |
|
111 |
%dir %attr(0755, root, bin) %{_mandir} |
|
112 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
113 |
%{_mandir}/*/* |
|
114 |
||
115 |
%if %build_l10n |
|
116 |
%files l10n |
|
117 |
%defattr (-, root, bin) |
|
118 |
%dir %attr (0755, root, sys) %{_datadir} |
|
119 |
%attr (-, root, other) %{_datadir}/locale |
|
120 |
%endif |
|
121 |
||
122 |
%files devel |
|
123 |
%defattr (-, root, bin) |
|
124 |
%dir %attr (0755, root, bin) %{_includedir} |
|
125 |
%{_includedir}/* |
|
126 |
%dir %attr (0755, root, bin) %{_libdir} |
|
127 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
|
128 |
%{_libdir}/pkgconfig/* |
|
9609
0f09ff7b61a7
* SUNWgnome-desklets.spec: Move %{_datadir}/gtk-doc to -devel package.
halton
parents:
9544
diff
changeset
|
129 |
%dir %attr (0755, root, sys) %{_datadir} |
0f09ff7b61a7
* SUNWgnome-desklets.spec: Move %{_datadir}/gtk-doc to -devel package.
halton
parents:
9544
diff
changeset
|
130 |
%{_datadir}/gtk-doc |
9397 | 131 |
|
132 |
%changelog |
|
15556 | 133 |
* Fri Apr 3 2009 - [email protected] |
134 |
- use desktop-cache instead of postrun |
|
11542
8e476f230291
* SUNWgmime.spec: remove %if without_gtk_doc validation
pale
parents:
10616
diff
changeset
|
135 |
* Tue Jan 29 2008 - [email protected] |
8e476f230291
* SUNWgmime.spec: remove %if without_gtk_doc validation
pale
parents:
10616
diff
changeset
|
136 |
- Remove without_gtk_doc validation. gtk-doc |
8e476f230291
* SUNWgmime.spec: remove %if without_gtk_doc validation
pale
parents:
10616
diff
changeset
|
137 |
should always be packaged. |
10616 | 138 |
* Fri Oct 5 2007 - [email protected] |
139 |
- delete unneeded env vars |
|
9829 | 140 |
* Thu May 03 2007 - [email protected] |
141 |
- Add %if code so that %{_datadir}/gtk-doc is only packaged when requested. |
|
9609
0f09ff7b61a7
* SUNWgnome-desklets.spec: Move %{_datadir}/gtk-doc to -devel package.
halton
parents:
9544
diff
changeset
|
142 |
* Thu Mar 22 2007 - [email protected] |
0f09ff7b61a7
* SUNWgnome-desklets.spec: Move %{_datadir}/gtk-doc to -devel package.
halton
parents:
9544
diff
changeset
|
143 |
- Move %{_datadir}/gtk-doc to -devel package. |
9544 | 144 |
* Tue Mar 13 2007 - [email protected] |
145 |
- Add %{_datadir}/gtk-doc to %files for new tarball. |
|
9397 | 146 |
* Wed Feb 28 2007 - [email protected] |
147 |
- Add package -devel and change files section since upgrade to glade3. |
|
148 |
* Mon Sep 04 2006 - [email protected] |
|
149 |
- New Manpage tarball |
|
150 |
* Fri Jul 14 2006 - [email protected] |
|
151 |
- update %post/%postun/etc scripts to support diskless client setup, |
|
152 |
part of 6448317 |
|
153 |
* Thu Jun 29 2006 - [email protected] |
|
154 |
- update postrun scripts |
|
155 |
* Sun Jun 11 2006 - [email protected] |
|
156 |
- change group from other to bin/sys |
|
157 |
* Wed May 10 2006 - [email protected] |
|
158 |
- merge -share pkg(s) into the base pkg(s) |
|
159 |
* Mon Feb 20 2006 - [email protected] |
|
160 |
- Update Build/Requires after running check-deps.pl script. |
|
161 |
* Sat Dec 3 2005 - [email protected] |
|
162 |
- add %post script that runs update-desktop-database |
|
163 |
* Tue Nov 29 2005 - [email protected] |
|
164 |
- remove javahelp stuff |
|
165 |
* Mon Dec 13 2004 - [email protected] |
|
166 |
- Move to /usr/bin to implement ARC decision. |
|
167 |
* Fri Nov 12 2004 - [email protected] |
|
168 |
- move to /usr/demo/jds |
|
169 |
* Wed Oct 06 2004 - [email protected] |
|
170 |
- Add localized help files to l10n section |
|
171 |
* Sat Oct 02 2004 - [email protected] |
|
172 |
- added %pkgbuild_postprocess |
|
173 |
* Mon Aug 23 2004 - [email protected] |
|
174 |
- s/SUNWpl5u/SUNWperl584usr/ |
|
175 |
* Wed Aug 18 2004 - [email protected] |
|
176 |
- Change manpage perms for Solaris integration. |
|
177 |
* Sat Jun 26 2004 [email protected] |
|
178 |
- Changed install location to /usr/... |
|
179 |
* Wed Jun 2 2004 - [email protected] |
|
180 |
- Added %{_datadir}/locale to install l10n messages |
|
181 |
* Fri Mar 26 2004 - [email protected] |
|
182 |
- Created, |
|
15650 | 183 |