SUNWgnome-themes-standard.spec revision 20786
10139N/A#
10139N/A# spec file for package SUNWgnome-themes-standard
10139N/A#
12938N/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
15322N/A
15256N/A%include Solaris.inc
12938N/A
10139N/AName: SUNWgnome-themes-standard
10139N/AIPS_package_name: gnome/theme/gnome-icon-theme-standard
10139N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Theming
10139N/ASummary: Standard GNOME themes
10139N/AVersion: 3.1.3
10139N/ALicense: LGPL v2.1
12773N/ASource: http://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/3.1/gnome-themes-standard-%{version}.tar.bz2
12773N/APatch1: gnome-themes-standard-01-compile.diff
12773N/ASUNW_BaseDir: %{_basedir}
13483N/ASUNW_Copyright: %{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12947N/A
10819N/A%include default-depend.inc
13088N/A
13715N/A%if %build_l10n
15471N/A%package l10n
15289N/AIPS_package_name: gnome/theme/gnome-icon-theme-standard/l10n
15417N/ASummary: %{summary} - l10n files
15417N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
15617N/A%include default-depend.inc
15617N/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
10819N/A%endif
13088N/A
13715N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
15289N/A
15417N/A%clean
15617N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr (-, root, bin)
13088N/A%doc COPYING ChangeLog NEWS README
13088N/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
10165N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast
12773N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast/*
12773N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast/*/*
12773N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast/*/*/*
12773N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse
12773N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*/*
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*/*/*
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/LowContrast
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/LowContrast/*
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/LowContrast/*/*
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/LowContrast/*/*/*
15552N/A%{_datadir}/themes
15552N/A%dir %attr (0755, root, other) %{_docdir}
15552N/A
15552N/A%if %build_l10n
15553N/A%files l10n
15553N/A%defattr (-, root, bin)
15553N/A%dir %attr (0755, root, sys) %{_datadir}
15553N/A%attr (-, root, other) %{_datadir}/locale
10139N/A%endif
10139N/A
10139N/A%changelog
10139N/A* Thu Jul 07 2011 - brian.cameron@oracle.com
10321N/A- Created with 3.1.3.
10321N/A