SUNWgnome-themes-standard.spec revision 20798
10139N/A#
10139N/A# spec file for package SUNWgnome-themes-standard
10139N/A#
10139N/A# includes module(s): gnome-themes-standard
10139N/A#
10139N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17177N/A%define owner yippi
17177N/A
17177N/A%include Solaris.inc
10139N/A
10139N/AName: SUNWgnome-themes-standard
15322N/AIPS_package_name: gnome/theme/gnome-icon-theme-standard
10139N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Theming
16536N/ASummary: Standard GNOME themes
10139N/AVersion: 3.1.3
10139N/ALicense: LGPL v2.1
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/3.1/gnome-themes-standard-%{version}.tar.bz2
10139N/A# date:2011-07-14 owner:yippi type:bug bugzilla:654714
16169N/APatch1: gnome-themes-standard-01-compile.diff
10139N/ASUNW_BaseDir: %{_basedir}
12773N/ASUNW_Copyright: %{name}.copyright
12773N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12773N/A
10139N/A%include default-depend.inc
10139N/A
16196N/A%if %build_l10n
11927N/A%package l10n
10139N/AIPS_package_name: gnome/theme/gnome-icon-theme-standard/l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
10139N/A%include default-depend.inc
10139N/ARequires: %{name}
10139N/A%endif
10139N/A
10139N/A%prep
10139N/A%setup -q -n gnome-themes-standard-%version
10139N/A%patch1 -p1
10139N/A
10139N/A%build
10139N/A
10139N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport LDFLAGS="%{_ldflags}"
10139N/A
10139N/A./configure --prefix=%{_prefix} \
10139N/A --bindir=%{_bindir} \
10139N/A --libdir=%{_libdir} \
10139N/A --includedir=%{_includedir} \
10139N/A --mandir=%{_mandir} \
10139N/A %{gtk_doc_option} \
10139N/A --disable-static
10139N/A
10139N/Agmake -j $CPUS
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/Agmake install DESTDIR=$RPM_BUILD_ROOT
10139N/Arm -f $RPM_BUILD_ROOT%{_libdir}/lib*.*a
10139N/A
10139N/Afind $RPM_BUILD_ROOT%{_libdir} -type f -name "*.a" -exec rm -f {} ';'
10139N/Afind $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';'
10139N/A
10139N/A%if %{!?_without_gtk_doc:0}%{?_without_gtk_doc:1}
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
10139N/A%endif
10139N/A
10139N/A# Do not install generated files.
10139N/Arm -fr $RPM_BUILD_ROOT{%_datadir}/hicolor
10139N/A
10139N/A%if %build_l10n
10139N/A%else
10139N/A# REMOVE l10n FILES
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
10139N/A%endif
10139N/A
12773N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
12773N/A
12773N/A%clean
12773N/Arm -rf $RPM_BUILD_ROOT
12773N/A
10139N/A%files
10139N/A%defattr (-, root, bin)
10139N/A%doc COPYING ChangeLog NEWS README
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/gtk-3.0
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%{_datadir}/gnome-background-properties
10139N/A%dir %attr (-, root, other) %{_datadir}/icons
10139N/A%{_datadir}/icons/Adwaita
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast/*/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast/*/*/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*/*/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/LowContrast
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/LowContrast/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/LowContrast/*/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/LowContrast/*/*/*
10139N/A%{_datadir}/themes
10139N/A%dir %attr (0755, root, other) %{_docdir}
10139N/A
10139N/A%if %build_l10n
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A%endif
10139N/A
10139N/A%changelog
16536N/A* Thu Jul 07 2011 - brian.cameron@oracle.com
16536N/A- Created with 3.1.3.
16285N/A