SUNWgnome-themes-standard.spec revision 20824
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#
10139N/A%define owner yippi
10139N/A
10139N/A%include Solaris.inc
10139N/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.5
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
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
10139N/A
10542N/A%if %build_l10n
10464N/A%package l10n
10542N/AIPS_package_name: gnome/theme/gnome-icon-theme-standard/l10n
10542N/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
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
10542N/A
10542N/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
10464N/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
10541N/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
10541N/A%files
10542N/A%defattr (-, root, bin)
10542N/A%doc COPYING ChangeLog NEWS README
10542N/A%dir %attr (0755, root, bin) %{_libdir}
10542N/A%{_libdir}/gtk-3.0
10542N/A%dir %attr (0755, root, sys) %{_datadir}
10542N/A%{_datadir}/gnome-background-properties
10541N/A%dir %attr (-, root, other) %{_datadir}/icons
10541N/A%{_datadir}/icons/Adwaita
10541N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast
10541N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast/*
10481N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast/*/*
10481N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast/*/*/*
10481N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse
10464N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*
10471N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*/*
10471N/A%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*/*/*
10471N/A%dir %attr (0755, root, other) %{_datadir}/icons/LowContrast
10464N/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
10471N/A%dir %attr (0755, root, other) %{_docdir}
10139N/A
10471N/A%if %build_l10n
10471N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
%endif
%changelog
* Thu Aug 18 2011 - brian.cameorn@oracle.com
- Bump to 3.1.5.
* Sat Aug 06 2011 - brian.cameron@oracle.com
- Bump to 3.1.4.
* Thu Jul 07 2011 - brian.cameron@oracle.com
- Created with 3.1.3.