7549
|
1 |
#
|
|
2 |
# spec file for package SUNWtgnome-tsoljdsselmgr
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
8516
|
8 |
# Owner:stephen
|
7549
|
9 |
|
|
10 |
%define tsoljdsselmgr_version 0.0.2
|
|
11 |
%define t_suffix
|
|
12 |
%{?nightly:%define t_suffix -%(TZ=GMT date +%Y%m%d)}
|
7835
|
13 |
%define t_suffix -%(TZ=GMT date +%Y%m%d)
|
7549
|
14 |
|
|
15 |
%include Solaris.inc
|
|
16 |
|
|
17 |
Name: SUNWtgnome-tsoljdsselmgr
|
|
18 |
Summary: GNOME Trusted Extensions Selection Manager
|
|
19 |
Version: %{default_pkg_version}
|
|
20 |
Source: tsoljdsselmgr-%{tsoljdsselmgr_version}%{t_suffix}.tar.bz2
|
8148
|
21 |
Source1: l10n-configure.sh
|
7549
|
22 |
SUNW_BaseDir: %{_basedir}
|
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
|
7550
|
25 |
%if %build_tjds
|
|
26 |
|
7549
|
27 |
%include default-depend.inc
|
|
28 |
BuildRequires: SUNWxwts
|
|
29 |
BuildRequires: SUNWtsu
|
|
30 |
BuildRequires: SUNWtgnome-tsol-libs-devel
|
7664
|
31 |
BuildRequires: SUNWgnome-component-devel
|
|
32 |
BuildRequires: SUNWgnome-config-devel
|
|
33 |
BuildRequires: SUNWgnome-libs-devel
|
|
34 |
BuildRequires: SUNWgnome-vfs-devel
|
7549
|
35 |
Requires: SUNWxwts
|
|
36 |
Requires: SUNWtsu
|
|
37 |
Requires: SUNWtgnome-tsol-libs
|
7664
|
38 |
Requires: SUNWgnome-component
|
|
39 |
Requires: SUNWgnome-config
|
|
40 |
Requires: SUNWgnome-libs
|
|
41 |
Requires: SUNWgnome-vfs
|
7549
|
42 |
|
8148
|
43 |
%if %build_l10n
|
|
44 |
%package l10n
|
|
45 |
Summary: %{summary} - l10n files
|
|
46 |
SUNW_BaseDir: %{_basedir}
|
|
47 |
%include default-depend.inc
|
|
48 |
Requires: %{name}
|
|
49 |
%endif
|
|
50 |
|
7549
|
51 |
%prep
|
|
52 |
%setup -q -n tsoljdsselmgr-%{tsoljdsselmgr_version}
|
8148
|
53 |
%if %build_l10n
|
|
54 |
bash -x %SOURCE1
|
|
55 |
%endif
|
7549
|
56 |
|
|
57 |
%build
|
|
58 |
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
|
|
59 |
|
|
60 |
libtoolize -f
|
7603
|
61 |
glib-gettextize --copy --force
|
|
62 |
intltoolize --copy --force
|
7549
|
63 |
aclocal $ACLOCAL_FLAGS
|
|
64 |
autoconf
|
7603
|
65 |
autoheader
|
7549
|
66 |
automake -acf
|
|
67 |
|
|
68 |
./configure --with-gnome-prefix=%{_prefix} \
|
|
69 |
--prefix=%{_prefix} \
|
|
70 |
--sysconfdir=%{_sysconfdir} \
|
|
71 |
--mandir=%{_mandir}
|
|
72 |
|
|
73 |
%install
|
|
74 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
75 |
|
|
76 |
%clean
|
|
77 |
rm -rf $RPM_BUILD_ROOT
|
|
78 |
|
|
79 |
%files
|
|
80 |
%defattr (-, root, other)
|
|
81 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
82 |
%{_bindir}/tsoljdsselmgr
|
|
83 |
%dir %attr (0755, root, sys) %{_datadir}
|
7622
|
84 |
%dir %attr(0755, root, other) %{_datadir}/locale
|
7549
|
85 |
%dir %attr (0755, root, other) %{_datadir}/gnome
|
|
86 |
%{_datadir}/gnome/sel_config
|
|
87 |
|
8148
|
88 |
%if %build_l10n
|
|
89 |
%files l10n
|
|
90 |
%defattr (-, root, other)
|
|
91 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
92 |
%{_datadir}/locale
|
|
93 |
%endif
|
|
94 |
|
7550
|
95 |
%endif
|
|
96 |
|
7549
|
97 |
%changelog
|
8148
|
98 |
* Fri Sep 15 2006 - [email protected]
|
|
99 |
- Add *-10n package.
|
|
100 |
|
7835
|
101 |
* Sun Jul 30 2006 - [email protected]
|
|
102 |
- Always use nightly tarballs as source.
|
|
103 |
|
7664
|
104 |
* Wed Jul 19 2006 - [email protected]
|
|
105 |
- Update Build/BuildRequires after check-deps.pl run.
|
|
106 |
|
7622
|
107 |
* Thu Jul 13 2006 - [email protected]
|
|
108 |
- Add %{_datadir}/locale to %files, a byproduct of intltool up-rev.
|
|
109 |
|
7603
|
110 |
* Tue Jul 11 2006 - [email protected]
|
|
111 |
- Add autogen.sh commands to %prep to permit building from 'cvs co' tarballs.
|
|
112 |
|
7549
|
113 |
* Wed May 24 2006 - [email protected]
|
|
114 |
- remove man page from files and shorten summary
|
|
115 |
|
|
116 |
* Wed Mar 29 2006 - [email protected]
|
|
117 |
- Add Build/Requires SUNWtsu.
|
|
118 |
|
|
119 |
* Tue Jan 31 2006 - <[email protected]>
|
|
120 |
- created
|