SUNWgnome-backgrounds.spec
author erwannc
Tue, 24 Nov 2009 08:42:20 +0000
branchgnome-2-28
changeset 18400 5613b4277952
child 18431 ef296c6db922
permissions -rw-r--r--
2009-11-24 Erwann Chenede - <[email protected]> SUNWgnome-themes refactoring. Splitted SUNWgnome-themes into individual components to be able to distribute theme more granularly. (e.g. save space on the LiveCD). * SUNWneutral-plus-cursors.spec * SUNWgnome-icon-theme.spec * SUNWsun-gdm-themes.spec * SUNWgnome-media-player.spec * SUNWgnome-themes.spec * SUNWnimbus.spec * SUNWopensolaris-backgrounds.spec * SUNWgnome-backgrounds.spec * SUNWgnome-themes-only.spec * SUNWdmz-cursor.spec * SUNWsun-backgrounds.spec * SUNWdmz-cursor-aa.spec * SUNWhicolor-icon-theme.spec * SUNWopensolaris-gdm-themes.spec * SUNWgtk2-engines.spec * SUNWicon-naming-utils.spec * SUNWtango-icon-theme.spec * SUNWblueprint.spec : New pkg resulting from the SUNWgnome-themes split * copyright/SUNWopensolaris-backgrounds.copyright * copyright/SUNWdmz-cursor-aa.copyright * copyright/SUNWhicolor-icon-theme.copyright * copyright/SUNWgnome-themes-only.copyright * copyright/SUNWgnome-icon-theme.copyright * copyright/SUNWsun-gdm-themes.copyright * copyright/SUNWblueprint.copyright * copyright/SUNWopensolaris-gdm-themes.copyright * copyright/SUNWnimbus.copyright * copyright/SUNWtango-icon-theme.copyright * copyright/SUNWgnome-backgrounds.copyright * copyright/SUNWneutral-plus-cursors.copyright * copyright/SUNWicon-naming-utils.copyright * copyright/SUNWgtk2-engines.copyright * copyright/SUNWdmz-cursor.copyright : associated copyright files * SUNWevolution-libs.spec * SUNWgnome-system-monitor.spec * SUNWgnome-img-viewer.spec * SUNWgnome-print.spec : replaced dependencies SUNWgnome-themes to SUNWgnome-icon-theme * patches/tango-icon-theme-01-pkgconfig_ver.diff * patches/nimbus-01-icon-name-mapping-hack.diff * patches/gnome-icon-theme-02-pkgconfig-dir.diff: removed unneeded patch * base-specs/tango-icon-theme.spec * base-specs/nimbus.spec * base-specs/gnome-icon-theme.spec : removed unneeded patch * base-specs/neutral-plus-cursors.spec : made it build
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18400
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     1
#
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     2
# spec file for package SUNWgnome-backgrounds
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     3
#
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     4
# includes module(s): gnome-backgrounds
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     5
#
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     6
# Copyright 2009 Sun Microsystems, Inc.
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     8
# package are under the same license as the package itself.
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     9
#
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    10
%define owner erwannc
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    11
#
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    12
%include Solaris.inc
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    13
%include base.inc
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    14
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    15
%use backgrounds = gnome-backgrounds.spec
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    16
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    17
Name:                    SUNWgnome-backgrounds
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    18
Summary:                 Selection of backgrounds for the GNOME desktop
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    19
Version:                 %{backgrounds.version}
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    20
SUNW_BaseDir:            %{_basedir}
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    21
SUNW_Copyright:          %{name}.copyright
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    22
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    23
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    24
%include default-depend.inc
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    25
BuildRequires: SUNWgtk2
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    26
BuildRequires: SUNWgtk2-devel
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    27
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    28
%if %build_l10n
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    29
%package l10n
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    30
Summary:                 %{summary} - l10n files
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    31
SUNW_BaseDir:            %{_basedir}
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    32
%include default-depend.inc
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    33
Requires:                %{name}
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    34
%endif
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    35
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    36
%prep
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    37
rm -rf %name-%version
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    38
mkdir %name-%version
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    39
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    40
mkdir %name-%version/%{base_arch}
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    41
%backgrounds.prep -d %name-%version/%{base_arch}
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    42
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    43
%build
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    44
export PKG_CONFIG=/usr/bin/pkg-config
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    45
PKG_CONFIG_DISABLE_UNINSTALLED=
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    46
unset PKG_CONFIG_DISABLE_UNINSTALLED
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    47
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    48
%backgrounds.build -d %name-%version/%{base_arch}
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    49
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    50
%install
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    51
rm -rf $RPM_BUILD_ROOT
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    52
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    53
%backgrounds.install -d %name-%version/%{base_arch}
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    54
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    55
%if %build_l10n
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    56
%else
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    57
# REMOVE l10n FILES
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    58
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    59
%endif
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    60
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    61
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    62
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    63
%clean
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    64
rm -rf $RPM_BUILD_ROOT
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    65
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    66
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    67
%files
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    68
%defattr(-, root, root)
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    69
%dir %attr (0755, root, sys) %{_datadir}
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    70
%dir %attr (0755, root, other) %{_datadir}/pixmaps
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    71
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    72
%{_datadir}/gnome-background-properties
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    73
%{_datadir}/pixmaps/backgrounds/
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    74
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    75
%doc -d %{base_arch} gnome-backgrounds-%{backgrounds.version}/README
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    76
%doc -d %{base_arch} gnome-backgrounds-%{backgrounds.version}/AUTHORS
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    77
%doc(bzip2) -d %{base_arch} gnome-backgrounds-%{backgrounds.version}/COPYING
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    78
%doc(bzip2) -d %{base_arch} gnome-backgrounds-%{backgrounds.version}/NEWS
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    79
%doc(bzip2) -d %{base_arch} gnome-backgrounds-%{backgrounds.version}/ChangeLog
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    80
%doc(bzip2) -d %{base_arch} gnome-backgrounds-%{backgrounds.version}/po/ChangeLog
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    81
%dir %attr (0755, root, other) %{_datadir}/doc
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    82
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    83
%if %build_l10n
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    84
%files l10n
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    85
%defattr (-, root, bin)
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    86
%dir %attr (0755, root, sys) %{_datadir}
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    87
%attr (-, root, other) %{_datadir}/locale
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    88
%endif
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    89
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    90
%changelog
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    91
* Thu Nov 19 2009 - [email protected]
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    92
- Adding a %changelog. Fixing directory permissions in %files.
5613b4277952 2009-11-24 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    93