author | gman |
Thu, 30 Sep 2010 21:37:28 +0000 | |
branch | gnome-2-30 |
changeset 20130 | c7dfc176dcbd |
parent 17908 | 1cbee2c5f96e |
child 18263 | f0658ff8af6e |
permissions | -rw-r--r-- |
11624 | 1 |
# |
2 |
# spec file for package gtkmm |
|
3 |
# |
|
11642
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
4 |
# Copyright 2008 Sun Microsystems, Inc. |
11624 | 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 |
11624 | 9 |
# |
10 |
||
17852 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16430 | 12 |
|
11624 | 13 |
Name: gtkmm |
14 |
License: LGPL |
|
15 |
Group: System/Libraries |
|
17908 | 16 |
Version: 2.20.2 |
11624 | 17 |
Release: 1 |
18 |
Distribution: Java Desktop System |
|
17864 | 19 |
Vendor: Gnome Community |
11624 | 20 |
Summary: gtkmm - C++ Interfaces for GTK+ and GNOME |
17792 | 21 |
Source: http://download.gnome.org/sources/gtkmm/2.20/gtkmm-%{version}.tar.bz2 |
15987 | 22 |
|
16110 | 23 |
#date:2009-07-02 owner:gheet type:branding doo:10178 |
16834 | 24 |
Patch1: gtkmm-01-std-advance.diff |
16110 | 25 |
|
11624 | 26 |
URL: http://www.gtkmm.org/ |
27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
28 |
||
29 |
%prep |
|
30 |
%setup -q -n gtkmm-%version |
|
11642
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
31 |
%patch1 -p1 |
14611 | 32 |
|
11624 | 33 |
%build |
34 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
35 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
36 |
CPUS=1 |
|
37 |
fi |
|
38 |
%if %cc_is_gcc |
|
39 |
%else |
|
40 |
export CXX="${CXX} -norunpath" |
|
41 |
%endif |
|
14611 | 42 |
export CXXFLAGS="%cxx_optflags -D_XPG4_2 -D_RWSTD_NO_WSTR -D__EXTENSIONS__" |
11624 | 43 |
|
12658 | 44 |
# Recreate aclocal.m4 because of automake version mismatch (CBE: 1.10, |
45 |
# gtkmm: 1.10.1) |
|
16110 | 46 |
libtoolize --force |
16834 | 47 |
aclocal $ACLOCAL_FLAGS -Ibuild |
11642
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
48 |
automake --add-missing |
11624 | 49 |
autoconf |
50 |
./configure --prefix=%{_prefix} --mandir=%{_mandir} \ |
|
51 |
--libdir=%{_libdir} \ |
|
52 |
--libexecdir=%{_libexecdir} \ |
|
53 |
--sysconfdir=%{_sysconfdir} |
|
54 |
make -j$CPUS |
|
55 |
||
56 |
%install |
|
57 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
58 |
||
59 |
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a |
|
60 |
||
61 |
%clean |
|
62 |
rm -rf $RPM_BUILD_ROOT |
|
63 |
||
11642
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
64 |
%files |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
65 |
%defattr (-, root, bin) |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
66 |
%dir %attr (0755, root, bin) %{_libdir} |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
67 |
%{_libdir}/lib* |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
68 |
|
11624 | 69 |
|
70 |
%changelog |
|
17908 | 71 |
* Thu Apr 22 2010 - [email protected] |
72 |
- Bump to 2.20.2. |
|
17823 | 73 |
* Mon Apr 12 2010 - [email protected] |
74 |
- Bump to 2.20.1. |
|
17764 | 75 |
* Fri Mar 26 2010 - [email protected] |
76 |
- Bump to 2.19.7. |
|
17711 | 77 |
* Sun Mar 14 2010 - [email protected] |
78 |
- Bump to 2.19.6. |
|
16834 | 79 |
* Thu Oct 22 2009 - [email protected] |
80 |
- Bump to 2.18.2 |
|
81 |
- Removed 01-ignore-defs.diff. |
|
82 |
- Removed 02-const-char.diff. |
|
83 |
- Reordered patch. |
|
16110 | 84 |
* Fri Jul 24 2009 - [email protected] |
85 |
- Bumped to 2.17.2 and added gtkmm-03-std-advance.diff which replace usage of C++ std template. |
|
16081 | 86 |
* Tue Jul 21 2009 - [email protected] |
87 |
- Un-bump to 2.16.0, build issues. |
|
16050 | 88 |
* Fri Jul 17 2009 - [email protected] |
89 |
- Bump to 2.17.2. |
|
15988 | 90 |
* Thu Jul 02 2009 - [email protected] |
91 |
- Add gtkmm-02-const-char to fix build issue. |
|
15966 | 92 |
* Fri Jun 26 2009 - [email protected] |
93 |
- Change spec and patch owner to gheet |
|
15440 | 94 |
* Tue Mar 17 2009 - [email protected] |
95 |
- Bump to 2.16.0 |
|
15394 | 96 |
* Fri Mar 13 2009 - [email protected] |
97 |
- Bump to 2.15.5 |
|
15093 | 98 |
* Mon Feb 16 2009 - [email protected] |
99 |
- Bump to 2.15.3 |
|
14883 | 100 |
* Thu Jan 08 2009 - [email protected] |
101 |
- Bump to 2.15.0. |
|
14611 | 102 |
* Mon Nov 17 2008 - [email protected] |
103 |
- Add _RWSTD_NO_WSTR to CXXFLAG |
|
13619 | 104 |
* Fri Sep 12 2008 - chris,[email protected] |
105 |
- Bump to 2.13.8 |
|
106 |
- remove patch 02-widget, as the community has revert the code |
|
13248 | 107 |
* Thu Aug 21 2008 - [email protected] |
108 |
- Bump to 2.13.7 |
|
13087 | 109 |
* Fri Aug 08 2008 - [email protected] |
110 |
- Remove reference to upstream patch glibmm-02-m4-macro.diff. Rename remainder. |
|
13038 | 111 |
* Tue Aug 05 2008 - [email protected] |
112 |
- Bump to 2.13.6. |
|
12955 | 113 |
* Thu Jul 30 2008 - [email protected] |
114 |
- Bump to 2.13.5, we added pangomm spec |
|
12852 | 115 |
* Fri Jul 18 2008 - [email protected] |
116 |
- Add patch gtkmm-03-widget, fix build issue, widget.cc use of & operator. |
|
12847
51154c527d73
Add missing ChangeLog entry. Fix typo in %changelog entry.
dcarbery
parents:
12842
diff
changeset
|
117 |
* Thu Jul 17 2008 - [email protected] |
12842 | 118 |
- Bump to 2.13.4. |
119 |
- Remove patch 02-gtk-deprecated, fix upstream. |
|
12791 | 120 |
* Thu Jul 10 2008 - [email protected] |
121 |
- Add patch 02-gtk-deprecated. |
|
12004 | 122 |
* Wed Apr 03 2008 - [email protected] |
123 |
- Bump to 2.12.7. |
|
11796 | 124 |
* Wed Mar 05 2008 - [email protected] |
125 |
- Don't need to rename 'demo' to 'gtkmm-demo' as the installed file is now |
|
126 |
called 'gtkmm-demo'. |
|
11709 | 127 |
* Mon Feb 25 2008 - [email protected] |
128 |
- Bump to 2.12.5. Remove upstream patches, 02-demo and 03-demo-installation. |
|
129 |
* Fri Feb 22 2008 - [email protected] |
|
11702 | 130 |
- Add glibmm-02-m4-macro to fix #423990. Use glibmm patch as issue is identical. |
11642
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
131 |
* Thu Feb 14 2008 - [email protected] |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
132 |
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
133 |
on /usr/demo/jds/bin and resource files on /usr/share/gtkmm-2.4/demo |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
134 |
* Thu Feb 14 2008 - [email protected] |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
135 |
- Add patch gtkmm-01-ignore-defs to remove the build of defs files since they |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
136 |
are delivered with tarball and libglibmm_generate_extra_defs.so is not |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
137 |
delivered. We have raise this issue to module owner, and will remove the |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
138 |
patch if the module owner agree to remove .def file from tarball |
25ab97488db2
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents:
11624
diff
changeset
|
139 |
* Tue Jan 29 2008 - [email protected] |
11624 | 140 |
- create |