base-specs/pangomm.spec
author dcarbery
Fri, 08 Aug 2008 12:23:07 +0000
changeset 13087 a53dbc79facd
parent 13027 4d26853c826b
child 13791 ddfcbf96aca8
permissions -rw-r--r--
2008-08-08 Damien Carbery <[email protected]> * base-specs/gtkmm.spec: Remove reference to upstream patch glibmm-02-m4-macro.diff. Rename remainder. * base-specs/pangomm.spec: Remove reference to upstream patch glibmm-02-m4-macro.diff.

#
# spec file for package 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.
#
# Owner: bewitche
#

Name:         pangomm
License:      LGPL
Group:        System/Libraries
Version:      2.13.7
Release:      1
Distribution: Java Desktop System
Vendor:       Sun Microsystems, Inc.
Summary:      pangomm - C++ Interfaces for pango 
Source:       http://download.gnome.org/sources/pangomm/2.13/pangomm-%{version}.tar.bz2
#date 2008-07-24 owner:bewitche type:feature
Patch1:      pangomm-01-ignore-defs.diff
URL:          http://www.gtkmm.org/
BuildRoot:               %{_tmppath}/%{name}-%{version}-build

%prep
%setup -q -n pangomm-%version
%patch1 -p1

%build
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
if test "x$CPUS" = "x" -o $CPUS = 0; then
    CPUS=1
fi
%if %cc_is_gcc
%else
export CXX="${CXX} -norunpath"
%endif
export CXXFLAGS="%cxx_optflags -D_XPG4_2 -D__EXTENSIONS__"

aclocal -Iscripts
automake --add-missing
autoconf
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
            --libdir=%{_libdir}              \
            --libexecdir=%{_libexecdir}      \
            --sysconfdir=%{_sysconfdir}
make -j$CPUS 

%install
make install DESTDIR=$RPM_BUILD_ROOT

rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a

%clean
rm -rf $RPM_BUILD_ROOT

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


%changelog
* Fri Aug 08 2008 - [email protected]
- Remove reference to upstream patch glibmm-02-m4-macro.diff.
* Tue Aug 05 2008 - [email protected]
- Bump to 2.13.7.
* Thu Jul 24 2008 - [email protected]
- create