SUNWgnome-themes-standard.spec revision 20862
10139N/A#
10139N/A# spec file for package SUNWgnome-themes-standard
10139N/A#
12219N/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#
10139N/A%define owner yippi
10139N/A
10139N/A%include Solaris.inc
10139N/A
10615N/AName: SUNWgnome-themes-standard
13300N/AIPS_package_name: gnome/theme/gnome-icon-theme-standard
14464N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Theming
10139N/ASummary: Standard GNOME themes
10139N/AVersion: 3.2.1
10139N/ALicense: LGPL v2.1
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/3.2/gnome-themes-standard-%{version}.tar.bz2
14464N/A# date:2011-07-14 owner:yippi type:bug bugzilla:654714
10794N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
10794N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12773N/A
12773N/A%include default-depend.inc
12773N/A%include desktop-incorporation.inc
10794N/A
10139N/A%if %build_l10n
10640N/A%package l10n
10139N/AIPS_package_name: gnome/theme/gnome-icon-theme-standard/l10n
10640N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
10820N/A%include default-depend.inc
10139N/A%include desktop-incorporation.inc
10820N/ARequires: %{name}
10339N/A%endif
10820N/A
10535N/A%prep
10820N/A%setup -q -n gnome-themes-standard-%version
10861N/A
13306N/A%build
12139N/A
12139N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
13379N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
13379N/A CPUS=1
13932N/Afi
13932N/A
14420N/Aexport CFLAGS="%optflags"
14420N/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
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/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
10794N/A
12754N/A%changelog
10139N/A* Wed Oct 19 2011 - brian.cameron@oracle.com
10139N/A- Bump to 3.2.1.
10139N/A* Fri Sep 30 2011 - brian.cameron@oracle.com
11087N/A- Bump to 3.2.0.
11087N/A* Tue Sep 13 2011 - brian.cameron@oracle.com
11087N/A- Bump to 3.1.91.
11087N/A* Thu Aug 18 2011 - brian.cameorn@oracle.com
11087N/A- Bump to 3.1.5.
10139N/A* Sat Aug 06 2011 - brian.cameron@oracle.com
10535N/A- Bump to 3.1.4.
10820N/A* Thu Jul 07 2011 - brian.cameron@oracle.com
10535N/A- Created with 3.1.3.
10535N/A