10139N/A#
10139N/A#
10139N/A# spec file for package SUNWlibgtop
10139N/A#
10139N/A# includes module(s): libgtop
10139N/A#
12173N/A# Copyright 2008 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#
20895N/A%define owner migi
10139N/A#
10139N/A%include Solaris.inc
10139N/A%use libgtop = libgtop.spec
10139N/A
10139N/AName: SUNWlibgtop
18688N/AIPS_package_name: library/libgtop
18688N/AMeta(info.classification): %{classification_prefix}:System/Libraries
10139N/ASummary: Library to get system specific data
19013N/AVersion: %{libgtop.version}
10139N/ASUNW_BaseDir: %{_basedir}
12695N/ASUNW_Copyright: %{name}.copyright
19140N/ALicense: %{libgtop.license}
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13685N/ASource: %{name}-manpages-0.1.tar.gz
13685N/A
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
16401N/ARequires: SUNWglib2
10139N/ARequires: SUNWgnome-component
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWlibms
10139N/ARequires: SUNWlibpopt
20239N/ABuildRequires: SUNWxwrtl
16401N/ABuildRequires: SUNWglib2-devel
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWlibpopt-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/A
10139N/A%package devel
10139N/ASummary: Library to get system specific data - developer files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
10139N/ARequires: %name
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ARequires: %{name}
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%libgtop.prep -d %name-%version
13685N/Acd %{_builddir}/%name-%version
13685N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
10139N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport LDFLAGS="%_ldflags"
12173N/Aexport ACLOCAL_FLAGS="-I /usr/share/aclocal"
10139N/A
10139N/A%libgtop.build -d %name-%version
10139N/Aexport PATH=%{_builddir}/%name-%version:$PATH
10139N/Aexport CFLAGS="`echo %optflags | sed -e 's/-xregs=no.frameptr//'`"
10139N/A
10139N/A%install
10139N/A%libgtop.install -d %name-%version
10139N/A# Remove the libgtop2.info file. No other modules install .info files.
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/info
10139N/A# delete files don't need
10139N/Arm -rf $RPM_BUILD_ROOT%{_bindir}
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}
13685N/A# install man page
13685N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
13685N/Acd %{_builddir}/%name-%version/sun-manpages
13685N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
14371N/A%doc -d libgtop-%{libgtop.version} README AUTHORS
14371N/A%doc(bzip2) -d libgtop-%{libgtop.version} COPYING NEWS ChangeLog
14371N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%defattr(-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/lib*.so*
13685N/A%dir %attr (0755, root, sys) %{_datadir}
13685N/A%dir %attr(0755, root, bin) %{_mandir}
13685N/A%{_mandir}/*/*
10139N/A
10139N/A%files devel
10139N/A%defattr(-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_includedir}
10139N/A%{_includedir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%{_datadir}/gtk-doc/html/*
10139N/A
10139N/A%files l10n
10139N/A%defattr (-, root, other)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%{_datadir}/locale
10139N/A
10139N/A%changelog
17286N/A* Fri Sep 11 2009 - jedy.wang@sun.com
17286N/A- Remove SUNWmlib dependency.
16228N/A* Mon Mar 23 2009 - Niall Power <niall.power@sun.com>
16228N/A- Take ownership of spec file
14372N/A* Wed Sep 17 2008 - Henry Zhang <hua.zhang@sun.com>
14372N/A- Add %doc to %files for copyright
13685N/A* Mon July 28 2008 - hua.zhang@sun.com
13685N/A- Add manpage
12173N/A* Thu Jan 10 2008 - damien.carbery@sun.com
12173N/A- Set ACLOCAL_FLAGS to pick up the modified intltool.m4.
11311N/A* Fri Sep 28 2007 - laca@sun.com
11311N/A- delete some unnecessary env variables that break the indiana build
10139N/A* Wed Dec 06 2006 - damien.carbery@sun.com
10139N/A- Add gtk-docs to the devel package.
10139N/A* Fri Sep 22 2006 - hua.zhang@sun.com
10139N/A- Shorten the summary according to Shirley comments.
10139N/A- Delete unuseful binary files from /usr/bin
10139N/A* Thu Aug 23 2006 - damien.carbery@sun.com
10139N/A- Remove the %{_datadir}/info dir as no other modules install .info files.
10139N/A* Thu May 11 2006 - hua.zhang@sun.com
10139N/A- initial version
16401N/A
19346N/A
19663N/A