specs/OIopenindiana-backgrounds.spec
author Jon Tibble <meths@btinternet.com>
Sat Oct 06 16:11:50 2012 +0100 (2012-10-06)
branchs11express-2010-11
changeset 22109 db10202d5f6d
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca
     1 #
     2 # spec file for package OIopenindiana-backgrounds
     3 #
     4 # Copyright 2010 Guido Berhoerster
     5 # This file and all modifications and additions to the pristine
     6 # package are under the same license as the package itself.
     7 #
     8 %include Solaris.inc
     9 
    10 Name:           OIopenindiana-backgrounds
    11 IPS_package_name:   gnome/theme/background/openindiana-backgrounds
    12 Meta(info.classification):  %{classification_prefix}:Desktop (GNOME)/Theming
    13 Summary:        Selection of OpenIndiana backgrounds for the GNOME desktop
    14 Version:        0.1.1
    15 Release:        0
    16 License:        BSD
    17 Source:         http://dlc.openindiana.org/oi/jds/downloads/sources/openindiana-backgrounds-%{version}.tar.bz2
    18 Vendor:         OpenIndiana
    19 BuildRequires:  SUNWperl-xml-parser
    20 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    21 BuildArchitectures: noarch
    22 Docdir:         %{_defaultdocdir}/%{name}
    23 SUNW_Basedir:   %{_basedir}
    24 SUNW_Copyright: %{name}.copyright
    25 %include default-depend.inc
    26 
    27 %package xtra
    28 IPS_package_name:        gnome/theme/background/openindiana-backgrounds-extra
    29 Meta(info.classification): %{classification_prefix}:Desktop (GNOME)/Theming
    30 Summary:        %{summary} - extra backgrounds
    31 Requires:       %name
    32 
    33 %prep
    34 %setup -q -n openindiana-backgrounds-%{version}
    35 
    36 %build
    37 ./configure --prefix=%{_prefix} \
    38             --datadir=%{_datadir} \
    39             --libdir=%{_bindir}
    40 
    41 %install
    42 make install DESTDIR=$RPM_BUILD_ROOT
    43 
    44 %{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
    45 
    46 %clean
    47 rm -rf $RPM_BUILD_ROOT
    48 
    49 %files
    50 %defattr(-, root, bin, -)
    51 %dir %attr (0755, root, sys) %{_datadir}
    52 %dir %attr (0755, root, other) %{_datadir}/pixmaps
    53 %{_datadir}/gnome-background-properties/openindiana-backgrounds.xml
    54 %{_datadir}/pixmaps/backgrounds/openindiana/openindiana-default.jpg
    55 
    56 %files xtra
    57 %defattr(-, root, bin, -)
    58 %dir %attr (0755, root, sys) %{_datadir}
    59 %dir %attr (0755, root, other) %{_datadir}/pixmaps
    60 %{_datadir}/pixmaps/backgrounds/openindiana/blue-sky.jpg
    61 %{_datadir}/pixmaps/backgrounds/openindiana/sparkle.jpg
    62 %{_datadir}/pixmaps/backgrounds/openindiana/purple-haze.jpg
    63 %{_datadir}/pixmaps/backgrounds/openindiana/dandelion.jpg
    64 %{_datadir}/pixmaps/backgrounds/openindiana/daisy.jpg
    65 
    66 %doc README AUTHORS NEWS
    67 %doc(bzip2) COPYING ChangeLog
    68 %dir %attr (0755, root, other) %{_datadir}/doc
    69 
    70 %changelog
    71 * Sun Oct  3 2010 - gber@openindiana.org
    72 - Update to version 0.1.1
    73 * Thu Sep 02 2010 - guido+openindiana@berhoerster.name
    74 - Initial revision.