SUNWlibglade.spec revision 19339
10139N/A#
10139N/A# spec file for package SUNWlibglade
10139N/A#
12147N/A# includes module(s): libglade
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
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 erwannc
15291N/A#
10139N/A%include Solaris.inc
15298N/A
10139N/A%ifarch amd64 sparcv9
10139N/A%include arch64.inc
10139N/A%use libglade_64 = libglade.spec
15298N/A%endif
10139N/A
14457N/A%include base.inc
12773N/A
15298N/A%use libglade = libglade.spec
12773N/A
10139N/AName: SUNWlibglade
10139N/AIPS_package_name: library/desktop/libglade
10139N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Libraries
10139N/ASummary: GNOME library for loading GLADE interfaces at runtime
10139N/AVersion: %{libglade.version}
10139N/ALicense: %{libglade.license}
10139N/ASource: %{name}-manpages-0.1.tar.gz
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%include gnome-consolidation.inc
10139N/ARequires: SUNWgtk2
10139N/ARequires: SUNWlxml
10139N/ABuildRequires: SUNWgtk2-devel
10139N/ABuildRequires: SUNWlxml-devel
10139N/A
10139N/A%package devel
10139N/ASummary: %{summary} - development files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ARequires: SUNWPython26
10139N/ARequires: SUNWlxml-devel
10139N/ARequires: SUNWgtk2-devel
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A
10139N/A%ifarch amd64 sparcv9
10139N/Amkdir %name-%version/%_arch64
10139N/A
10139N/A%libglade_64.prep -d %name-%version/%_arch64
10139N/A%endif
10139N/A
10139N/Amkdir %name-%version/%{base_arch}
10139N/A%libglade.prep -d %name-%version/%{base_arch}
10139N/A
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
10139N/APKG_CONFIG_DISABLE_UNINSTALLED=
10139N/Aunset PKG_CONFIG_DISABLE_UNINSTALLED
10139N/A
10139N/A%ifarch amd64 sparcv9
10139N/A%libglade_64.build -d %name-%version/%_arch64
10139N/A%endif
10139N/A
10139N/A%libglade.build -d %name-%version/%{base_arch}
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%ifarch amd64 sparcv9
10139N/A%libglade_64.install -d %name-%version/%_arch64
10139N/A%endif
10139N/A
12773N/A%libglade.install -d %name-%version/%{base_arch}
12773N/A
12773N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
12773N/Acd %{_builddir}/%name-%version/sun-manpages
12773N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A%ifarch amd64 sparcv9
10139N/Arm $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/libglade-convert
10139N/Armdir $RPM_BUILD_ROOT%{_bindir}/%{_arch64}
10139N/A%endif
12379N/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
11204N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%doc -d %{base_arch} libglade-%{libglade.version}/README
10139N/A%doc -d %{base_arch} libglade-%{libglade.version}/AUTHORS
10139N/A%doc(bzip2) -d %{base_arch} libglade-%{libglade.version}/ChangeLog
10139N/A%doc(bzip2) -d %{base_arch} libglade-%{libglade.version}/COPYING
10139N/A%doc(bzip2) -d %{base_arch} libglade-%{libglade.version}/NEWS
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
15298N/A%defattr (-, root, bin)
15298N/A%dir %attr (0755, root, bin) %{_libdir}
15298N/A%{_libdir}/lib*.so*
15298N/A%ifarch amd64 sparcv9
15298N/A%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
10139N/A%{_libdir}/%{_arch64}/lib*.so*
12889N/A%endif
12889N/A%dir %attr (0755, root, sys) %{_datadir}
12889N/A%{_datadir}/xml
10139N/A
10139N/A%files devel
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %dir %{_libdir}
10139N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/*
10139N/A%dir %attr (0755, root, bin) %dir %{_bindir}
10139N/A%{_bindir}/libglade-convert
10139N/A%dir %attr (0755, root, bin) %dir %{_includedir}
10139N/A%{_includedir}/*
10139N/A%ifarch amd64 sparcv9
10139N/A%dir %attr (0755, root, bin) %dir %{_libdir}/%{_arch64}
10139N/A%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
10139N/A%{_libdir}/%{_arch64}/pkgconfig/*
10139N/A%endif
10139N/A%dir %attr (0755, root, sys) %dir %{_datadir}
10139N/A%{_datadir}/gtk-doc
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/man3
10139N/A%{_mandir}/man3/*
10139N/A
15298N/A%changelog
15298N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
15298N/A- Updated BuildRequires to fit SourceJuicer.
15291N/A* Tue Jun 02 2009 - dave.lin@sun.com
15291N/A- fixed dependency issue(CR6843654).
15219N/A* Tue Mar 31 2009 - dave.lin@sun.com
15219N/A- initial version(split from SUNWgnome-base-libs)
14457N/A
14457N/A