12887
|
1 |
#
|
|
2 |
# spec file for package SUNWseahorse
|
|
3 |
#
|
|
4 |
# includes module(s): seahorse
|
|
5 |
#
|
15556
|
6 |
# Copyright 2009 Sun Microsystems, Inc.
|
12887
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
# Owner: jefftsai
|
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
|
|
14 |
%use seahorse = seahorse.spec
|
|
15 |
|
|
16 |
Name: SUNWseahorse
|
|
17 |
Summary: Seahorse
|
|
18 |
Version: %{seahorse.version}
|
|
19 |
SUNW_BaseDir: %{_basedir}
|
|
20 |
SUNW_Copyright: %{name}.copyright
|
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
|
|
23 |
%include default-depend.inc
|
14506
|
24 |
Source1: %{name}-manpages-0.1.tar.gz
|
15650
|
25 |
Requires: SUNWlibglade
|
12887
|
26 |
Requires: SUNWgnome-libs
|
|
27 |
Requires: SUNWgnome-config
|
|
28 |
Requires: SUNWgnome-panel
|
|
29 |
Requires: SUNWgnome-desktop-prefs
|
14471
|
30 |
Requires: SUNWsshcu
|
15556
|
31 |
Requires: SUNWdesktop-cache
|
|
32 |
Requires: %{name}-root
|
15650
|
33 |
BuildRequires: SUNWlibglade-devel
|
12887
|
34 |
BuildRequires: SUNWgnome-config-devel
|
|
35 |
BuildRequires: SUNWgnome-libs
|
|
36 |
BuildRequires: SUNWgnome-panel-devel
|
|
37 |
BuildRequires: SUNWgnome-doc-utils
|
|
38 |
|
|
39 |
%if %build_l10n
|
|
40 |
%package l10n
|
|
41 |
Summary: %{summary} - l10n files
|
|
42 |
SUNW_BaseDir: %{_basedir}
|
|
43 |
%include default-depend.inc
|
|
44 |
Requires: %{name}
|
|
45 |
%endif
|
|
46 |
|
|
47 |
%package root
|
|
48 |
Summary: %{summary} - / filesystem
|
|
49 |
SUNW_BaseDir: /
|
|
50 |
%include default-depend.inc
|
|
51 |
|
|
52 |
%package devel
|
|
53 |
Summary: %{summary} - development files
|
|
54 |
SUNW_BaseDir: %{_basedir}
|
|
55 |
%include default-depend.inc
|
|
56 |
|
|
57 |
%prep
|
|
58 |
rm -rf %name-%version
|
|
59 |
mkdir %name-%version
|
|
60 |
%seahorse.prep -d %name-%version
|
|
61 |
|
14506
|
62 |
cd %{_builddir}/%name-%version
|
|
63 |
gzcat %SOURCE1 | tar xf -
|
|
64 |
|
12887
|
65 |
%build
|
|
66 |
export PKG_CONFIG_PATH=%{_pkg_config_path}
|
|
67 |
export CFLAGS="%optflags -I%{_includedir}"
|
|
68 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
69 |
export LDFLAGS="%_ldflags"
|
|
70 |
|
|
71 |
%seahorse.build -d %name-%version
|
|
72 |
|
|
73 |
%install
|
|
74 |
rm -rf $RPM_BUILD_ROOT
|
|
75 |
%seahorse.install -d %name-%version
|
|
76 |
|
14506
|
77 |
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
78 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
79 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
80 |
|
|
81 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
82 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
83 |
|
12887
|
84 |
%if %build_l10n
|
|
85 |
%else
|
|
86 |
# REMOVE l10n FILES
|
|
87 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
|
|
88 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf
|
|
89 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
|
|
90 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
91 |
%endif
|
|
92 |
|
|
93 |
%clean
|
|
94 |
rm -rf $RPM_BUILD_ROOT
|
|
95 |
|
|
96 |
%post
|
15556
|
97 |
%restart_fmri desktop-mime-cache gconf-cache
|
12887
|
98 |
|
|
99 |
%postun
|
15556
|
100 |
%restart_fmri desktop-mime-cache
|
12887
|
101 |
|
|
102 |
%files
|
13599
|
103 |
%doc -d seahorse-%{seahorse.version} AUTHORS README
|
|
104 |
%doc(bzip2) -d seahorse-%{seahorse.version} ChangeLog
|
13602
|
105 |
%doc(bzip2) -d seahorse-%{seahorse.version} COPYING COPYING-LIBCRYPTUI COPYING-DOCS
|
13599
|
106 |
%doc(bzip2) -d seahorse-%{seahorse.version} NEWS
|
|
107 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
108 |
|
12887
|
109 |
%defattr (-, root, bin)
|
|
110 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
111 |
%{_bindir}/*
|
|
112 |
|
|
113 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
114 |
%{_libdir}/libcryptui.*
|
|
115 |
%dir %attr (0755, root, bin) %{_libdir}/seahorse
|
|
116 |
%{_libdir}/seahorse/*
|
|
117 |
|
|
118 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
119 |
%dir %attr (0755, root, other) %{_datadir}/seahorse
|
|
120 |
%dir %attr (0755, root, other) %{_datadir}/seahorse/glade
|
|
121 |
%{_datadir}/seahorse/glade/*
|
|
122 |
%dir %attr (0755, root, other) %{_datadir}/applications
|
|
123 |
%{_datadir}/applications/*
|
15008
|
124 |
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc
|
|
125 |
%{_datadir}/gtk-doc/*
|
12887
|
126 |
|
|
127 |
%{_datadir}/dbus-1/services/*
|
|
128 |
%{_datadir}/omf/seahorse/*-C.omf
|
|
129 |
%dir %attr (0755, root, other) %{_datadir}/icons
|
13719
|
130 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
|
13185
|
131 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16/
|
|
132 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16/apps/
|
|
133 |
%{_datadir}/icons/hicolor/16x16/apps/*
|
12887
|
134 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/
|
|
135 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/apps/
|
|
136 |
%{_datadir}/icons/hicolor/22x22/apps/*
|
13185
|
137 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24/
|
|
138 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24/apps/
|
|
139 |
%{_datadir}/icons/hicolor/24x24/apps/*
|
|
140 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/
|
|
141 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/apps/
|
|
142 |
%{_datadir}/icons/hicolor/32x32/apps/*
|
12887
|
143 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/
|
|
144 |
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps/
|
|
145 |
%{_datadir}/icons/hicolor/48x48/apps/*
|
|
146 |
|
|
147 |
%dir %attr (0755, root, other) %{_datadir}/gnome
|
|
148 |
%{_datadir}/gnome/help/*/C
|
|
149 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps
|
|
150 |
%{_datadir}/pixmaps/*
|
|
151 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
152 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
153 |
%{_mandir}/*/*
|
|
154 |
|
|
155 |
%files devel
|
|
156 |
%defattr (-, root, bin)
|
|
157 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
158 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
159 |
%{_libdir}/pkgconfig/*
|
|
160 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
161 |
%{_includedir}/*
|
|
162 |
|
|
163 |
%if %build_l10n
|
|
164 |
%files l10n
|
|
165 |
%defattr (-, root, bin)
|
|
166 |
%dir %attr (0755, root, sys) %{_datadir}
|
13719
|
167 |
%attr (-, root, other) %{_datadir}/locale
|
14534
|
168 |
%{_datadir}/omf/*/*-[a-z][a-z].omf
|
|
169 |
%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
|
12887
|
170 |
%dir %attr (0755, root, other) %{_datadir}/gnome
|
|
171 |
%{_datadir}/gnome/help/*/[a-z]*
|
|
172 |
%endif
|
|
173 |
|
|
174 |
%files root
|
|
175 |
%defattr (-, root, sys)
|
|
176 |
%attr (0755, root, sys) %dir %{_sysconfdir}
|
|
177 |
%{_sysconfdir}/gconf/schemas/seahorse.schemas
|
15008
|
178 |
%{_sysconfdir}/xdg/autostart/*.desktop
|
12887
|
179 |
|
|
180 |
%changelog
|
15556
|
181 |
* Fri Apr 3 2009 - [email protected]
|
|
182 |
- use desktop-cache instead of postrun
|
15008
|
183 |
* Wed Feb 04 2008 - [email protected]
|
|
184 |
- Not ship /usr/share/cryptui/ui/*.ui
|
|
185 |
- Move seahorse-daemon.desktop to /etc/xdg/autostart
|
|
186 |
- Ship documents for libcryptui
|
14833
|
187 |
* Tue Dec 30 2008 - [email protected]
|
14834
|
188 |
- Ship some new files: seahorse-daemon.desktop and
|
14833
|
189 |
/usr/share/cryptui/ui/*.ui
|
14534
|
190 |
* Thu Oct 30 2008 - [email protected]
|
|
191 |
- Change the section of l10n, make
|
|
192 |
/gnome/help/* as "other" group. This
|
|
193 |
becomes same with SUNWevolution.spec.
|
14506
|
194 |
* Mon Oct 27 2008 - [email protected]
|
|
195 |
- Add man pages.
|
|
196 |
- Remove libcryptui.a and libcryptui.la
|
14471
|
197 |
* Fri Oct 17 2008 - [email protected]
|
|
198 |
- Add package dependency on SUNWsshcu
|
13719
|
199 |
* Mon Sep 22 2008 - [email protected]
|
|
200 |
- Not ship scalable icons since community remove them.
|
13599
|
201 |
* Wed Sep 16 2008 - [email protected]
|
|
202 |
- Add copyright.
|
13185
|
203 |
* Wed Aug 20 2008 - [email protected]
|
|
204 |
- Add 16x16, 24x24, 32x32 icons when bump to 2.23.90.
|
12887
|
205 |
* Fri Jul 22 2008 - [email protected]
|
|
206 |
- Initial spec
|
15650
|
207 |
|