Solaris/SUNWgnome-themes.spec
author niall
Thu, 26 Feb 2004 21:34:04 +0000
changeset 2044 3b411a670c45
parent 1714 d34c2c5987ec
child 2186 a5f978c77dbf
permissions -rw-r--r--
2004-02-26 Niall Power <[email protected]> * SUNWgnome-themes.spec: add -R%{_libdir} to LDFLAGS, set PERL5LIB for XML::Parser, and hicolor build stage.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1714
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
     1
#
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
     2
# spec file for package SUNWgnome-themes
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
     3
#
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
     4
# includes module(s): hicolor-icon-theme,  gnome-themes, gtk2-engines,
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
     5
# blueprint, sun-gdm-themes, gnome-icon-theme
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
     6
#
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
     7
# Copyright (c) 2003 Sun Microsystems, Inc.
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
     8
# This file and all modifications and additions to the pristine
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
     9
# package are under the same license as the package itself.
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    10
#
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    11
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    12
#FIXME: AFAICT Xsun does not support X cursor themes. Omitted out for now
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    13
%include Solaris.inc
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    14
%use hicolor = hicolor-icon-theme.spec
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    15
%use engines = gtk2-engines.spec
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    16
%use gthemes = gnome-themes.spec
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    17
%use blueprint = blueprint.spec
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    18
%use gdmtheme = sun-gdm-themes.spec
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    19
%use icontheme = gnome-icon-theme.spec
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    20
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    21
Name:                    SUNWgnome-themes
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    22
Summary:                 GNOME themes and support libraries - platform dependent files, /usr filesystem
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    23
Version:                 2.6.0
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    24
SUNW_BaseDir:            %{_prefix}
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    25
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    26
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    27
%include default-depend.inc
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    28
Requires: SUNWgnome-themes-share
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    29
Requires: SUNWgnome-base-libs-root
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    30
Requires: SUNWgnome-base-libs-share
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    31
Requires: SUNWxwrtl
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    32
Requires: SUNWxwplt
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    33
Requires: SUNWlibms
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    34
Requires: SUNWlxml
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    35
Requires: SUNWfreetype2
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    36
Requires: SUNWlibpopt
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    37
Requires: SUNWpng
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    38
Requires: SUNWTiff
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    39
Requires: SUNWjpg
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    40
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    41
%package share
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    42
Summary:                 GNOME themes and support libraries - platform Independent files, /usr/share
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    43
SUNW_BaseDir:            %{_prefix}
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    44
%include default-depend.inc
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    45
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    46
%prep
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    47
rm -rf %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    48
mkdir %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    49
%hicolor.prep -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    50
%engines.prep -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    51
%gthemes.prep -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    52
%blueprint.prep -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    53
%gdmtheme.prep -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    54
%icontheme.prep -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    55
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    56
%build
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    57
unset PKG_CONFIG_DISABLE_UNINSTALLED
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    58
export PKG_CONFIG_PATH=../gtk-engines-%{engines.version}:%{_libdir}/pkgconfig:/usr/lib/pkgconfig
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    59
export CFLAGS="%optflags -I/usr/sfw/include -DANSICPP"
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    60
export RPM_OPT_FLAGS="$CFLAGS"
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    61
export CPPFLAGS="-I/usr/sfw/include"
2044
3b411a670c45 2004-02-26 Niall Power <[email protected]>
niall
parents: 1714
diff changeset
    62
export LDFLAGS="-L%{_libdir} -R%{_libdir} -L/usr/sfw/lib -R/usr/sfw/lib"
1714
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    63
export MSGFMT="/usr/bin/msgfmt"
2044
3b411a670c45 2004-02-26 Niall Power <[email protected]>
niall
parents: 1714
diff changeset
    64
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int
3b411a670c45 2004-02-26 Niall Power <[email protected]>
niall
parents: 1714
diff changeset
    65
%hicolor.build -d %name-%version
1714
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    66
%engines.build -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    67
%gthemes.build -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    68
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    69
%blueprint.build -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    70
%gdmtheme.build -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    71
%icontheme.build -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    72
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    73
%install
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    74
%hicolor.install -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    75
%engines.install -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    76
%gthemes.install -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    77
%blueprint.install -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    78
%gdmtheme.install -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    79
%icontheme.install -d %name-%version
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    80
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    81
%clean
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    82
rm -rf $RPM_BUILD_ROOT
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    83
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    84
%files
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    85
%defattr (-, root, other)
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    86
%dir %attr (0755, root, bin) %{_libdir}
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    87
%dir %{_libdir}/gtk-2.0
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    88
%dir %{_libdir}/gtk-2.0/2.2.0
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    89
%dir %{_libdir}/gtk-2.0/2.2.0/engines
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    90
%{_libdir}/gtk-2.0/2.2.0/engines/*.so
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    91
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    92
%files share
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    93
%defattr (-, root, other)
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    94
%dir %attr (0755, root, sys) %{_datadir}
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    95
%{_datadir}
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    96
%dir %attr (0755, root, sys) %{_defaultdocdir}
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    97
%doc AUTHORS COPYING ChangeLog NEWS README
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    98
%{_defaultdocdir}/blueprint-engine/ChangeLog
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
    99
%{_defaultdocdir}/blueprint-engine/AUTHORS
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
   100
%{_defaultdocdir}/blueprint-engine/COPYING
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
   101
%{_defaultdocdir}/blueprint-engine/README
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
   102
%{_defaultdocdir}/blueprint-engine/NEWS
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
   103
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
   104
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
   105
%changelog
2044
3b411a670c45 2004-02-26 Niall Power <[email protected]>
niall
parents: 1714
diff changeset
   106
* Thu Feb 26 2004 - [email protected]
3b411a670c45 2004-02-26 Niall Power <[email protected]>
niall
parents: 1714
diff changeset
   107
- add -R%{_libdir} to LDFLAGS
3b411a670c45 2004-02-26 Niall Power <[email protected]>
niall
parents: 1714
diff changeset
   108
- set PERL5LIB for XML:Parser
3b411a670c45 2004-02-26 Niall Power <[email protected]>
niall
parents: 1714
diff changeset
   109
- add hicolor build stage
3b411a670c45 2004-02-26 Niall Power <[email protected]>
niall
parents: 1714
diff changeset
   110
* Thu Feb 19 2004 - [email protected]
1714
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents:
diff changeset
   111
- initial Sun release.