9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-a11y-poke
|
|
3 |
#
|
10419
|
4 |
# includes module(s): accerciser
|
9397
|
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 liyuan
|
9397
|
11 |
#
|
|
12 |
%include Solaris.inc
|
10419
|
13 |
%use accerciser = accerciser.spec
|
9397
|
14 |
|
10419
|
15 |
Name: SUNWgnome-a11y-poke
|
10558
|
16 |
Summary: Interactive Python Accessibility Explorer
|
10419
|
17 |
Version: %{default_pkg_version}
|
|
18 |
Source: %{name}-manpages-0.1.tar.gz
|
|
19 |
SUNW_BaseDir: %{_basedir}
|
11976
|
20 |
SUNW_Copyright: %{name}.copyright
|
10419
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
|
9397
|
23 |
%include default-depend.inc
|
16756
|
24 |
Requires: SUNWgnome-python26-libs
|
|
25 |
Requires: SUNWgnome-python26-desktop
|
|
26 |
Requires: SUNWPython26
|
10419
|
27 |
Requires: SUNWIPython
|
|
28 |
Requires: SUNWgnome-config
|
15556
|
29 |
Requires: %{name}-root
|
|
30 |
Requires: SUNWdesktop-cache
|
16756
|
31 |
BuildRequires: SUNWPython26-devel
|
|
32 |
BuildRequires: SUNWgnome-python26-libs-devel
|
|
33 |
BuildRequires: SUNWgnome-python26-desktop-devel
|
10419
|
34 |
BuildRequires: SUNWgnome-common-devel
|
|
35 |
|
|
36 |
%if %build_l10n
|
|
37 |
%package l10n
|
|
38 |
Summary: %{summary} - l10n files
|
|
39 |
SUNW_BaseDir: %{_basedir}
|
|
40 |
%include default-depend.inc
|
|
41 |
Requires: %{name}
|
|
42 |
%endif
|
|
43 |
|
|
44 |
%package root
|
|
45 |
Summary: %{summary} - / filesystem
|
|
46 |
SUNW_BaseDir: /
|
|
47 |
%include default-depend.inc
|
9397
|
48 |
|
|
49 |
%prep
|
|
50 |
rm -rf %name-%version
|
|
51 |
mkdir %name-%version
|
10419
|
52 |
%accerciser.prep -d %name-%version
|
9397
|
53 |
cd %{_builddir}/%name-%version
|
|
54 |
gzcat %SOURCE0 | tar xf -
|
|
55 |
|
|
56 |
%build
|
16752
|
57 |
export PYTHON="/usr/bin/python2.6"
|
10419
|
58 |
|
|
59 |
%accerciser.build -d %name-%version
|
9397
|
60 |
|
|
61 |
%install
|
10419
|
62 |
%accerciser.install -d %name-%version
|
|
63 |
|
|
64 |
# install man page
|
9397
|
65 |
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
66 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
67 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
68 |
|
10419
|
69 |
%if %build_l10n
|
|
70 |
%else
|
|
71 |
# REMOVE l10n FILES
|
|
72 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
73 |
%endif
|
|
74 |
|
9397
|
75 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
76 |
|
|
77 |
%clean
|
|
78 |
rm -rf $RPM_BUILD_ROOT
|
|
79 |
|
10419
|
80 |
%post
|
15556
|
81 |
%restart_fmri desktop-mime-cache icon-cache gconf-cache
|
10419
|
82 |
|
|
83 |
%postun
|
15556
|
84 |
%restart_fmri desktop-mime-cache
|
10419
|
85 |
|
9397
|
86 |
%files
|
10419
|
87 |
%defattr(-,root,bin)
|
9397
|
88 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
89 |
%{_bindir}/*
|
10419
|
90 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
91 |
%{_libdir}/*
|
|
92 |
%dir %attr(0755, root, sys) %{_datadir}
|
|
93 |
%{_datadir}/accerciser
|
|
94 |
%dir %attr (0755, root, bin) %{_datadir}/omf
|
|
95 |
%{_datadir}/omf/*
|
|
96 |
%dir %attr (0755, root, other) %{_datadir}/applications
|
|
97 |
%{_datadir}/applications/*.desktop
|
13654
|
98 |
%doc -d accerciser-%{accerciser.version} README AUTHORS
|
|
99 |
%doc(bzip2) -d accerciser-%{accerciser.version} COPYING NEWS ChangeLog
|
|
100 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
10419
|
101 |
%dir %attr (-, root, other) %{_datadir}/icons
|
|
102 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor
|
|
103 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
|
|
104 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
|
|
105 |
%{_datadir}/icons/hicolor/scalable/apps/*
|
|
106 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
|
|
107 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
|
|
108 |
%{_datadir}/icons/hicolor/16x16/apps/*
|
|
109 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
|
|
110 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
|
|
111 |
%{_datadir}/icons/hicolor/22x22/apps/*
|
|
112 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
|
|
113 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
|
|
114 |
%{_datadir}/icons/hicolor/32x32/apps/*
|
|
115 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
|
|
116 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
|
|
117 |
%{_datadir}/icons/hicolor/48x48/apps/*
|
|
118 |
%dir %attr (0755, root, other) %{_datadir}/gnome
|
|
119 |
%dir %attr (0755, root, bin) %{_datadir}/gnome/help
|
|
120 |
%{_datadir}/gnome/help/*
|
|
121 |
%dir %attr (0755, root, bin) %{_mandir}
|
|
122 |
%dir %attr (0755, root, bin) %{_mandir}/*
|
|
123 |
%{_mandir}/*/*
|
|
124 |
|
|
125 |
%files root
|
10534
|
126 |
%defattr (-, root, sys)
|
10419
|
127 |
%dir %attr (0755, root, sys) %{_sysconfdir}
|
10440
|
128 |
%dir %attr (0755, root, sys) %{_sysconfdir}/gconf
|
|
129 |
%dir %attr (0755, root, sys) %{_sysconfdir}/gconf/schemas
|
10419
|
130 |
%{_sysconfdir}/gconf/schemas/*.schemas
|
|
131 |
|
|
132 |
%if %build_l10n
|
|
133 |
%files l10n
|
|
134 |
%defattr (-, root, bin)
|
9397
|
135 |
%dir %attr (0755, root, sys) %{_datadir}
|
10419
|
136 |
%attr (-, root, other) %{_datadir}/locale
|
|
137 |
%endif
|
9397
|
138 |
|
|
139 |
%changelog
|
16754
|
140 |
* Wed Oct 14 2009 - [email protected]
|
16756
|
141 |
- Update dependencies.
|
|
142 |
* Wed Oct 14 2009 - [email protected]
|
16754
|
143 |
- Use Python 2.6.
|
15556
|
144 |
* Fri Apr 3 2009 - [email protected]
|
|
145 |
- use desktop-cache instead of postrun
|
13654
|
146 |
* Thu Sep 18 2008 - [email protected]
|
|
147 |
- Added %doc to %files for copyright.
|
11976
|
148 |
* Mon Mar 31 2008 - [email protected]
|
|
149 |
- Add copyright file
|
11430
|
150 |
* Thu Jan 10 2008 - [email protected]
|
|
151 |
- change owner to liyuan.
|
11370
|
152 |
* Thu Jan 3 2008 - [email protected]
|
|
153 |
- use gconf-install.script instead of an inline script
|
11164
|
154 |
* Mon Nov 12 2007 - [email protected]
|
|
155 |
- Use script for post and postun.
|
10609
|
156 |
* Thu Oct 4 2007 - [email protected]
|
|
157 |
- delete unneeded env vars; set PYTHON to the versioned binary
|
10534
|
158 |
* Tue Sep 18 2007 - [email protected]
|
|
159 |
- add missing %defattr in %files root
|
10455
|
160 |
* Thu Sep 06 2007 - [email protected]
|
|
161 |
- Add Build/Requires SUNWgnome-python-desktop/-devel for wnck and other python
|
|
162 |
modules.
|
10440
|
163 |
* Tue Sep 04 2007 - [email protected]
|
|
164 |
- Correct dir perms in root package.
|
10419
|
165 |
* Sun Sep 02 2007 - [email protected]
|
|
166 |
- Use accerciser to replace at-poke.
|
9397
|
167 |
* Fri Sep 01 2006 - [email protected]
|
|
168 |
- New Manpage tarball
|
|
169 |
* Sun Jun 11 2006 - [email protected]
|
|
170 |
- change group from other to bin/sys
|
|
171 |
* Sat May 13 2006 - [email protected]
|
|
172 |
- Remove /usr/lib/jds-private from LDFLAGS
|
|
173 |
* Tue May 09 2006 - [email protected]
|
|
174 |
- merge -share pkg(s) into the base pkg(s)
|
|
175 |
* Thu Jan 2 2006 - [email protected]
|
|
176 |
- Update Build/Requires to fix 6319720/2129498.
|
|
177 |
* Wed Oct 13 2004 - [email protected]
|
|
178 |
- define share subpkg, move existing %files to %files share and
|
|
179 |
add %files for bindir/at-poke
|
|
180 |
* Sat Oct 02 2004 - [email protected]
|
|
181 |
- added %pkgbuild_postprocess
|
|
182 |
* Mon Sep 20 2004 - [email protected]
|
|
183 |
- Correct syntax for addition of manpage.
|
|
184 |
* Thu Sep 09 2004 - [email protected]
|
|
185 |
- Added at-poke.1 manpage
|
|
186 |
* Tue Jul 20 2004 - [email protected]
|
|
187 |
- Remove SUNWgnome-xml BuildRequires. Failed in test build.
|
|
188 |
* Tue Jul 20 2004 - [email protected]
|
|
189 |
- Initial version.
|