SUNWiso-codes.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 15875 829b16bd534c
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# # spec file for package SUNWiso-codes.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): iso-codes
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2005 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15875
diff changeset
    10
%define owner laca
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%use iso_codes = iso-codes.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:                    SUNWiso-codes
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:                 ISO code lists and translations
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:                 %{iso_codes.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
SUNW_BaseDir:            %{_basedir}
12101
58dc00d60141 2008-04-14 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    20
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRequires: SUNWPython
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires: SUNWiso-codes
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%iso_codes.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%iso_codes.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%iso_codes.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%dir %attr (0755, root, sys) %{_datadir}
15875
829b16bd534c 2009-06-08 Brian Cameron <[email protected]>
yippi
parents: 15874
diff changeset
    62
%{_datadir}/xml/iso-codes
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%dir %attr (0755, root, bin) %{_datadir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%{_datadir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%changelog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
* Mon Feb  5 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
- add Python dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
* Sun Jan 21 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
- update %files for version 1.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
- Fri Jun  9 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
- separate the l10n stuff, fixes CR 6436771
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
* Thu Sep 15 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
- created