12955
|
1 |
#
|
|
2 |
# spec file for package pangomm
|
|
3 |
#
|
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner gheet
|
12955
|
9 |
#
|
|
10 |
|
16431
|
11 |
%define OSR gnome.org:0
|
|
12 |
|
12955
|
13 |
Name: pangomm
|
|
14 |
License: LGPL
|
|
15 |
Group: System/Libraries
|
16834
|
16 |
Version: 2.26.0
|
12955
|
17 |
Release: 1
|
|
18 |
Distribution: Java Desktop System
|
|
19 |
Vendor: Sun Microsystems, Inc.
|
|
20 |
Summary: pangomm - C++ Interfaces for pango
|
16834
|
21 |
Source: http://download.gnome.org/sources/pangomm/2.26/pangomm-%{version}.tar.bz2
|
12955
|
22 |
URL: http://www.gtkmm.org/
|
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
|
|
25 |
%prep
|
|
26 |
%setup -q -n pangomm-%version
|
13087
|
27 |
|
12955
|
28 |
%build
|
|
29 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
30 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
31 |
CPUS=1
|
|
32 |
fi
|
|
33 |
%if %cc_is_gcc
|
|
34 |
%else
|
|
35 |
export CXX="${CXX} -norunpath"
|
|
36 |
%endif
|
14611
|
37 |
export CXXFLAGS="%cxx_optflags -D_XPG4_2 -D_RWSTD_NO_WSTR -D__EXTENSIONS__"
|
12955
|
38 |
|
16834
|
39 |
aclocal -Ibuild
|
12955
|
40 |
automake --add-missing
|
|
41 |
autoconf
|
|
42 |
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
|
|
43 |
--libdir=%{_libdir} \
|
|
44 |
--libexecdir=%{_libexecdir} \
|
|
45 |
--sysconfdir=%{_sysconfdir}
|
|
46 |
make -j$CPUS
|
|
47 |
|
|
48 |
%install
|
|
49 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
50 |
|
|
51 |
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
|
|
52 |
|
|
53 |
%clean
|
|
54 |
rm -rf $RPM_BUILD_ROOT
|
|
55 |
|
|
56 |
%files
|
|
57 |
%defattr (-, root, bin)
|
|
58 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
59 |
%{_libdir}/lib*
|
|
60 |
|
|
61 |
|
|
62 |
%changelog
|
16834
|
63 |
* Thu Oct 22 2009 - [email protected]
|
|
64 |
- Bump to 2.26.0.
|
|
65 |
- Removed the patch 01-ignore-defs.diff.
|
15966
|
66 |
* Fri Jun 26 2009 - [email protected]
|
|
67 |
- Change spec and patch owner to gheet
|
15392
|
68 |
* Fri Mar 13 2009 - [email protected]
|
|
69 |
- Bump to 2.24.0
|
15183
|
70 |
* Mone Feb 16 2009 - [email protected]
|
|
71 |
- Bump to 2.14.1
|
14882
|
72 |
* Thu Jan 08 2009 - [email protected]
|
|
73 |
- Bump to 2.14.0.
|
14611
|
74 |
* Mon Nov 17 2008 - [email protected]
|
|
75 |
- Add _RWSTD_NO_WSTR to CXXFLAG to pass SS12 build
|
13087
|
76 |
* Fri Aug 08 2008 - [email protected]
|
|
77 |
- Remove reference to upstream patch glibmm-02-m4-macro.diff.
|
13027
|
78 |
* Tue Aug 05 2008 - [email protected]
|
|
79 |
- Bump to 2.13.7.
|
12955
|
80 |
* Thu Jul 24 2008 - [email protected]
|
|
81 |
- create
|