9397
|
1 |
#
|
|
2 |
# # spec file for package SUNWiso-codes.spec
|
|
3 |
#
|
|
4 |
# includes module(s): iso-codes
|
|
5 |
#
|
|
6 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
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 laca
|
9397
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
|
|
14 |
%use iso_codes = iso-codes.spec
|
|
15 |
|
|
16 |
Name: SUNWiso-codes
|
|
17 |
Summary: ISO code lists and translations
|
|
18 |
Version: %{iso_codes.version}
|
|
19 |
SUNW_BaseDir: %{_basedir}
|
12101
|
20 |
SUNW_Copyright: %{name}.copyright
|
9397
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
%include default-depend.inc
|
|
23 |
BuildRequires: SUNWPython
|
|
24 |
|
|
25 |
%package devel
|
|
26 |
Summary: %{summary} - development files
|
|
27 |
SUNW_BaseDir: %{_basedir}
|
|
28 |
%include default-depend.inc
|
|
29 |
Requires: SUNWiso-codes
|
|
30 |
|
|
31 |
%if %build_l10n
|
|
32 |
%package l10n
|
|
33 |
Summary: %{summary} - l10n files
|
|
34 |
SUNW_BaseDir: %{_basedir}
|
|
35 |
%include default-depend.inc
|
|
36 |
Requires: %{name}
|
|
37 |
%endif
|
|
38 |
|
|
39 |
%prep
|
|
40 |
rm -rf %name-%version
|
|
41 |
mkdir %name-%version
|
|
42 |
%iso_codes.prep -d %name-%version
|
|
43 |
|
|
44 |
%build
|
|
45 |
%iso_codes.build -d %name-%version
|
|
46 |
|
|
47 |
%install
|
|
48 |
%iso_codes.install -d %name-%version
|
|
49 |
|
|
50 |
%if %build_l10n
|
|
51 |
%else
|
|
52 |
# REMOVE l10n FILES
|
|
53 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
54 |
%endif
|
|
55 |
|
|
56 |
%clean
|
|
57 |
rm -rf $RPM_BUILD_ROOT
|
|
58 |
|
|
59 |
%files
|
|
60 |
%defattr (-, root, bin)
|
|
61 |
%dir %attr (0755, root, sys) %{_datadir}
|
15875
|
62 |
%{_datadir}/xml/iso-codes
|
9397
|
63 |
|
|
64 |
%files devel
|
|
65 |
%defattr (-, root, bin)
|
|
66 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
67 |
%dir %attr (0755, root, bin) %{_datadir}/pkgconfig
|
|
68 |
%{_datadir}/pkgconfig/*
|
|
69 |
|
|
70 |
%if %build_l10n
|
|
71 |
%files l10n
|
|
72 |
%defattr (-, root, bin)
|
|
73 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
74 |
%attr (-, root, other) %{_datadir}/locale
|
|
75 |
%endif
|
|
76 |
|
|
77 |
%changelog
|
|
78 |
* Mon Feb 5 2007 - [email protected]
|
|
79 |
- add Python dependency
|
|
80 |
* Sun Jan 21 2007 - [email protected]
|
|
81 |
- update %files for version 1.0
|
|
82 |
* Sun Jun 11 2006 - [email protected]
|
|
83 |
- change group from other to bin/sys
|
|
84 |
- Fri Jun 9 2006 - [email protected]
|
|
85 |
- separate the l10n stuff, fixes CR 6436771
|
|
86 |
* Thu Sep 15 2005 - [email protected]
|
|
87 |
- created
|