SUNWpangomm.spec
author hawklu
Fri, 26 Feb 2010 03:26:31 +0000
branchgnome-2-28
changeset 18643 8c2f88f3d983
parent 16434 f21f22550fe9
permissions -rw-r--r--
2010-02-26 Brian Lu <[email protected]> * SUNWsqlite3.spec: * base-specs/sqlite.spec: * copyright/SUNWsqlite3.copyright: * ext-sources/mapfile-libsqlite3: * ext-sources/pkgIndex.tcl: * manpages/Makefile: * manpages/man1/sqlite3.1: * patches/sqlite3-01-using-mapfile.diff: Ship sqlite3 packages

#
#
# spec file for package SUNWpangomm
#
# includes module(s): pangomm
#
# Copyright 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define owner gheet

%include Solaris.inc

%use pangomm = pangomm.spec

Name:                    SUNWpangomm
Summary:                 pangomm - C++ Wrapper for the pango Library
Version:                 %{pangomm.version}
Source:			 %{name}-manpages-0.1.tar.gz
SUNW_BaseDir:            %{_basedir}
SUNW_Copyright:          %{name}.copyright
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
Requires: SUNWpango
Requires: SUNWsigcpp
Requires: SUNWcairomm
Requires: SUNWglibmm
BuildRequires: SUNWpango-devel
BuildRequires: SUNWsigcpp-devel
BuildRequires: SUNWcairomm-devel
BuildRequires: SUNWglibmm-devel

%package devel
Summary:                 pangomm - C++ Wrapper for the pango Library - developer files
SUNW_BaseDir:            %{_basedir}
%include default-depend.inc
Requires: %name
Requires: SUNWpango-devel
Requires: SUNWsigcpp-devel

%prep
rm -rf %name-%version
mkdir %name-%version
%pangomm.prep -d %name-%version
cd %{_builddir}/%name-%version
gzcat %SOURCE0 | tar -xf -

%build
export CFLAGS="%optflags"
export RPM_OPT_FLAGS="$CFLAGS"
export LDFLAGS="%_ldflags"
%pangomm.build -d %name-%version

%install
%pangomm.install -d %name-%version
cd %{_builddir}/%name-%version/sun-manpages
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/lib*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr(0755, root, bin) %{_mandir}
%{_mandir}/*/*

%files devel
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*
%{_libdir}/pangomm*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/doc
%{_datadir}/doc/*
%{_datadir}/devhelp
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*

%changelog
* Fri Jun 26 2009 - [email protected]
- Change owner to gheet
* Mon Mar 25 2009 - [email protected]
- Remove dependency on SUNWgtkmm
* Tue Mar 24 2009 - [email protected]
- Add dependency on SUNWgtkmm(CR#6821116).
* Fri Aug 22 2008 - [email protected]
- Fixed /usr/share attribute issue.
* Mon Aug 18 2008 - [email protected]
- add manpage
* Fri Aug 01 2008 - [email protected]
- set copyright to gtkmm.copyright, Chris Wang will update later.
* Thu Jul 24 2008 - [email protected]
- create