head	1.17;
access;
symbols;
locks; strict;
comment	@-- @;


1.17
date	2009.09.26.15.23.23;	author rse;	state Exp;
branches;
next	1.16;
commitid	Io20UxW0SfgPBc5u;

1.16
date	2009.04.18.13.11.13;	author rse;	state Exp;
branches;
next	1.15;
commitid	4pHXU27WTIGCZuKt;

1.15
date	2009.02.26.21.17.38;	author rse;	state Exp;
branches;
next	1.14;
commitid	HhtbZ4yQorpQnZDt;

1.14
date	2009.02.21.21.24.29;	author rse;	state Exp;
branches;
next	1.13;
commitid	FTHyapU4z4jaAlDt;

1.13
date	2008.06.15.07.44.23;	author rse;	state Exp;
branches;
next	1.12;
commitid	NMHB2wIB5Y42717t;

1.12
date	2008.01.27.08.37.51;	author rse;	state Exp;
branches;
next	1.11;
commitid	85KzPi1arVpnU1Ps;

1.11
date	2008.01.01.14.55.34;	author rse;	state Exp;
branches;
next	1.10;
commitid	B8esaHJHoduuKILs;

1.10
date	2007.12.03.06.48.57;	author rse;	state Exp;
branches;
next	1.9;
commitid	VfsD6hlzZNNC4XHs;

1.9
date	2007.10.08.06.34.20;	author rse;	state Exp;
branches;
next	1.8;
commitid	dVrZQA48YWFdNKAs;

1.8
date	2007.08.28.16.34.16;	author cs;	state Exp;
branches;
next	1.7;
commitid	EiBeZ60bjC8Jqxvs;

1.7
date	2007.08.28.08.21.01;	author rse;	state Exp;
branches;
next	1.6;
commitid	6pVxwC3bVdAwHuvs;

1.6
date	2007.08.18.15.06.15;	author cs;	state Exp;
branches;
next	1.5;
commitid	iixI1YNmISktgfus;

1.5
date	2007.08.14.05.05.29;	author cs;	state Exp;
branches;
next	1.4;
commitid	jcTSIPazYAfl4Gts;

1.4
date	2007.08.03.18.06.51;	author rse;	state Exp;
branches;
next	1.3;
commitid	Ya0CfdZk63EjKkss;

1.3
date	2007.07.31.08.08.53;	author rse;	state Exp;
branches;
next	1.2;
commitid	WkGZfHoeI0kaxTrs;

1.2
date	2007.07.30.21.53.36;	author rse;	state Exp;
branches;
next	1.1;
commitid	S4KMUeIVRl958Qrs;

1.1
date	2007.07.30.21.43.19;	author rse;	state Exp;
branches;
next	;
commitid	vNzitSXFW1Dy4Qrs;


desc
@@


1.17
log
@modifying package: icon-theme-0 20090226 -> 20090926
@
text
@##
##  icon-theme.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_hicolor_icon_theme     0.11
%define       V_icon_naming_utils      0.8.90
%define       V_gnome_icon_theme_major 2.19
%define       V_gnome_icon_theme_minor 91
%define       V_tango_icon_theme       0.8.90
%define       V_xfce_icon_theme        4.4.2

#   package information
Name:         icon-theme
Summary:      Icon Theme
URL:          http://icon-theme.freedesktop.org/
Vendor:       FreeDesktop Project
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        XWindow
License:      GPL
Version:      0
Release:      20090926

#   list of sources
Source0:      http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-%{V_hicolor_icon_theme}.tar.gz
Source1:      http://tango.freedesktop.org/releases/icon-naming-utils-%{V_icon_naming_utils}.tar.gz
Source2:      http://tango.freedesktop.org/releases/tango-icon-theme-%{V_tango_icon_theme}.tar.gz
Source3:      http://ftp.gnome.org/pub/gnome/sources/gnome-icon-theme/%{V_gnome_icon_theme_major}/gnome-icon-theme-%{V_gnome_icon_theme_major}.%{V_gnome_icon_theme_minor}.tar.gz
Source4:      http://www.xfce.org/archive/xfce-%{V_xfce_icon_theme}/src/xfce4-icon-theme-%{V_xfce_icon_theme}.tar.bz2

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20060823, make, perl, perl-xml, pkgconfig
PreReq:       OpenPKG, openpkg >= 20060823
AutoReq:      no
AutoReqProv:  no

%description
    This is a bundle of icons themes following the FreeDesktop Icon
    Theme standard. Currently it provides the Hicolor Fallback icon
    theme ("hicolor"), the Tango icon theme ("Tango"), the GNOME icon
    theme ("gnome") and the XFCE icon theme ("Rodent").

%track
    prog icon-theme:hicolor-icon-theme = {
        version   = %{V_hicolor_icon_theme}
        url       = http://icon-theme.freedesktop.org/releases/
        regex     = hicolor-icon-theme-(__VER__)\.tar\.gz
    }
    prog icon-theme:icon-naming-utils = {
        version   = %{V_icon_naming_utils}
        url       = http://tango.freedesktop.org/releases/
        regex     = icon-naming-utils-(__VER__)\.tar\.gz
    }
    prog icon-theme:tango-icon-theme = {
        version   = %{V_tango_icon_theme}
        url       = http://tango.freedesktop.org/releases/
        regex     = tango-icon-theme-(__VER__).tar.gz
    }
    prog icon-theme:gnome-icon-theme = {
        version   = %{V_gnome_icon_theme_major}.%{V_gnome_icon_theme_minor}
        url       = http://ftp.gnome.org/pub/gnome/sources/gnome-icon-theme/%{V_gnome_icon_theme_major}/
        regex     = gnome-icon-theme-(__VER__).tar.gz
    }
    prog icon-theme:xfce-icon-theme = {
        version   = %{V_xfce_icon_theme}
        url       = http://www.xfce.org/archive/
        regex     = xfce-(\d+\.\d+(?:\.\d+)*)
        url       = http://www.xfce.org/archive/xfce-__NEWVER__/src/
        regex     = xfce4-icon-theme-(__VER__).tar.bz2
    }

%prep
    %setup -q -c
    %setup -q -T -D -a 1
    %setup -q -T -D -a 2
    %setup -q -T -D -a 3
    %setup -q -T -D -a 4

%build

%install
    #   create common directories
    rm -rf $RPM_BUILD_ROOT
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig

    #   install filesystem layout
    ( cd hicolor-icon-theme-%{V_hicolor_icon_theme}
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      CPPFLAGS="%{l_cppflags}" \
      LDFLAGS="%{l_ldflags}" \
      ./configure \
          --prefix=%{l_prefix} \
          --datadir=%{l_prefix}/share/icon-theme
      %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
    ) || exit $?

    #   install icon naming utilities
    ( cd icon-naming-utils-%{V_icon_naming_utils}
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      CPPFLAGS="%{l_cppflags}" \
      LDFLAGS="%{l_ldflags}" \
      ./configure \
          --prefix=%{l_prefix} \
          --libexecdir=%{l_prefix}/libexec/icon-theme \
          --datadir=%{l_prefix}/share/icon-theme
      %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
      mv  $RPM_BUILD_ROOT%{l_prefix}/share/icon-theme/pkgconfig/* \
          $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/
      rmdir $RPM_BUILD_ROOT%{l_prefix}/share/icon-theme/pkgconfig 2>&1 || true
    ) || exit $?

    #   install Tango icon theme
    ( cd tango-icon-theme-%{V_tango_icon_theme}
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      CPPFLAGS="%{l_cppflags}" \
      LDFLAGS="%{l_ldflags}" \
      PKG_CONFIG_PATH="$RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig:%{l_prefix}/lib/pkgconfig" \
      ./configure \
          --prefix=%{l_prefix} \
          --datadir=%{l_prefix}/share/icon-theme
      export INU_DATA_DIR="$RPM_BUILD_ROOT%{l_prefix}/share/icon-theme/icon-naming-utils"
      %{l_make} %{l_mflags} install \
          AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" \
          ICONMAP="$RPM_BUILD_ROOT%{l_prefix}/libexec/icon-theme/icon-name-mapping"
    ) || exit $?

    #   install GNOME icon theme
    ( cd gnome-icon-theme-%{V_gnome_icon_theme_major}.%{V_gnome_icon_theme_minor}
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      CPPFLAGS="%{l_cppflags}" \
      LDFLAGS="%{l_ldflags}" \
      PKG_CONFIG_PATH="$RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig:%{l_prefix}/lib/pkgconfig" \
      ./configure \
          --prefix=%{l_prefix} \
          --datadir=%{l_prefix}/share/icon-theme
      export INU_DATA_DIR="$RPM_BUILD_ROOT%{l_prefix}/share/icon-theme/icon-naming-utils"
      %{l_make} %{l_mflags} install \
          AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" \
          ICONMAP="$RPM_BUILD_ROOT%{l_prefix}/libexec/icon-theme/icon-name-mapping"
      mv  $RPM_BUILD_ROOT%{l_prefix}/share/icon-theme/pkgconfig/* \
          $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/
      rmdir $RPM_BUILD_ROOT%{l_prefix}/share/icon-theme/pkgconfig 2>&1 || true
    ) || exit $?

    #   install XFCE icon theme
    ( cd xfce4-icon-theme-%{V_xfce_icon_theme}
      CC="%{l_cc}" \
      CFLAGS="%{l_cflags -O}" \
      CPPFLAGS="%{l_cppflags}" \
      LDFLAGS="%{l_ldflags}" \
      PKG_CONFIG_PATH="$RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig:%{l_prefix}/lib/pkgconfig" \
      ./configure \
          --prefix=%{l_prefix} \
          --datadir=%{l_prefix}/share/icon-theme
      export INU_DATA_DIR="$RPM_BUILD_ROOT%{l_prefix}/share/icon-theme/icon-naming-utils"
      %{l_make} %{l_mflags} install \
          AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" \
          ICONMAP="$RPM_BUILD_ROOT%{l_prefix}/libexec/icon-theme/icon-name-mapping"
    ) || exit $?

    #   strip down installation
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale 2>&1 || true

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.16
log
@bump years in copyright messages
@
text
@d25 1
a25 1
%define       V_hicolor_icon_theme     0.10
d43 1
a43 1
Release:      20090226
@


1.15
log
@modifying package: icon-theme-0 20090221 -> 20090226
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.14
log
@modifying package: icon-theme-0 20080615 -> 20090221
@
text
@d29 1
a29 1
%define       V_tango_icon_theme       0.8.1
d43 1
a43 1
Release:      20090221
@


1.13
log
@modifying package: icon-theme-0 20080127 -> 20080615
@
text
@d26 1
a26 1
%define       V_icon_naming_utils      0.8.7
d43 1
a43 1
Release:      20080615
@


1.12
log
@fix URLs
@
text
@d26 1
a26 1
%define       V_icon_naming_utils      0.8.6
d43 1
a43 1
Release:      20080127
@


1.11
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d43 1
a43 1
Release:      20080101
d50 1
a50 1
Source4:      http://www.ca-us.xfce.org/archive/xfce-%{V_xfce_icon_theme}/src/xfce4-icon-theme-%{V_xfce_icon_theme}.tar.bz2
d89 1
a89 1
        url       = http://www.ca-us.xfce.org/archive/
d91 1
a91 1
        url       = http://www.ca-us.xfce.org/archive/xfce-__NEWVER__/src/
@


1.10
log
@modifying package: icon-theme-0 20071008 -> 20071203
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d43 1
a43 1
Release:      20071203
@


1.9
log
@fix Group
@
text
@d31 1
a31 1
%define       V_xfce_icon_theme        4.4.1
d44 1
a44 1
Release:      20071008
@


1.8
log
@modifying package: icon-theme-0 20070828 again
@
text
@d41 1
a41 1
Group:        X11
d44 1
a44 1
Release:      20070828
@


1.7
log
@modifying package: icon-theme-0 20070818 -> 20070828
@
text
@d29 1
a29 1
%define       V_gnome_icon_theme_minor 90
@


1.6
log
@modifying package: icon-theme-0 20070814 -> 20070818
@
text
@d27 1
a27 1
%define       V_icon_naming_utils      0.8.5
d44 1
a44 1
Release:      20070818
@


1.5
log
@modifying package: icon-theme-0 20070803 -> 20070814
@
text
@d27 1
a27 1
%define       V_icon_naming_utils      0.8.3
d44 1
a44 1
Release:      20070814
@


1.4
log
@modifying package: icon-theme-0 20070731 -> 20070803
@
text
@d27 1
a27 1
%define       V_icon_naming_utils      0.8.2
d29 2
a30 2
%define       V_gnome_icon_theme_minor 6
%define       V_tango_icon_theme       0.8.0
d44 1
a44 1
Release:      20070803
@


1.3
log
@add XFCE icon theme, too
@
text
@d29 1
a29 1
%define       V_gnome_icon_theme_minor 1
d44 1
a44 1
Release:      20070731
@


1.2
log
@add Tango icon theme, too
@
text
@d31 1
d44 1
a44 1
Release:      20070730
d51 1
d64 2
a65 1
    theme, the Tango icon theme and the GNOME icon theme.
d88 7
d101 1
d136 1
d171 17
@


1.1
log
@new package: icon-theme 0 (Icon Theme)
@
text
@d30 1
d48 2
a49 1
Source2:      http://ftp.gnome.org/pub/gnome/sources/gnome-icon-theme/%{V_gnome_icon_theme_major}/gnome-icon-theme-%{V_gnome_icon_theme_major}.%{V_gnome_icon_theme_minor}.tar.gz
d61 2
a62 2
    Theme standard. Currently it provides the Icon Theme framework plus
    the GNOME Icon Theme.
d75 5
d90 1
d95 1
d99 2
d111 2
d126 18
d160 2
d163 2
@

