1 | # ...for those missing static libraries... |
---|
2 | # |
---|
3 | # in order to build devel packages with static libs included you have to |
---|
4 | # change '--disable-static' to '--enable-static' and uncomment the line |
---|
5 | # containing the pattern ".../*.a" at the files section |
---|
6 | Summary: A C++ interface for Gnome libs (a GUI library for X). |
---|
7 | Summary(ja): Gnome ライブラリの C++ インターフェイス |
---|
8 | Name: libgnomemm |
---|
9 | Version: 2.28.0 |
---|
10 | Release: 1%{?_dist_release} |
---|
11 | License: LGPL |
---|
12 | Group: System Environment/Libraries |
---|
13 | Source: ftp://download.sourceforge.net/gtkmm/%{name}-%{version}.tar.bz2 |
---|
14 | URL: http://gtkmm.sourceforge.net/ |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | Requires: gtkmm2 >= 2.8.0 |
---|
17 | Requires: libgnome >= 2.6.0 |
---|
18 | BuildRequires: gtkmm2-devel >= 2.8.0 |
---|
19 | BuildRequires: libgnome-devel >= 2.6.0 |
---|
20 | |
---|
21 | %description |
---|
22 | This package provides a C++ interface for GnomeUI. It is a subpackage |
---|
23 | of the Gtk-- project. The interface provides a convenient interface for C++ |
---|
24 | programmers to create Gnome GUIs with GTK+'s flexible object-oriented |
---|
25 | framework. |
---|
26 | |
---|
27 | #' |
---|
28 | %package devel |
---|
29 | Summary: Headers for developing programs that will use Gnome--. |
---|
30 | Summary(ja): Gnome-- を使うプログラムの開発用ファイル |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name} = %{version} |
---|
33 | Requires: gtkmm2-devel >= 2.8.0 |
---|
34 | Requires: libgnome-devel >= 2.6.0 |
---|
35 | |
---|
36 | %description devel |
---|
37 | This package contains the headers that programmers will need to develop |
---|
38 | applications which will use Gnome--, part of Gtk-- the C++ interface to |
---|
39 | the GTK+ (the Gimp ToolKit) GUI library. |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q |
---|
43 | |
---|
44 | %build |
---|
45 | # ...hope this can be removed soon |
---|
46 | %ifarch alpha |
---|
47 | ARCH_FLAGS="--host=alpha-redhat-linux" |
---|
48 | %endif |
---|
49 | %configure --disable-static $ARCH_FLAGS |
---|
50 | |
---|
51 | export tagname=CC |
---|
52 | make LIBTOOL=/usr/bin/libtool |
---|
53 | |
---|
54 | %install |
---|
55 | if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
---|
56 | export tagname=CC |
---|
57 | %makeinstall LIBTOOL=/usr/bin/libtool |
---|
58 | |
---|
59 | rm -f $RPM_BUILD_ROOT%{_libdir}/libgnomemm-*.a |
---|
60 | |
---|
61 | %post -p /sbin/ldconfig |
---|
62 | |
---|
63 | %postun -p /sbin/ldconfig |
---|
64 | |
---|
65 | %clean |
---|
66 | rm -rf $RPM_BUILD_ROOT |
---|
67 | |
---|
68 | %files |
---|
69 | %defattr(-, root, root) |
---|
70 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README |
---|
71 | %{_libdir}/*.so.* |
---|
72 | |
---|
73 | %files devel |
---|
74 | %defattr(-, root, root) |
---|
75 | %{_includedir}/* |
---|
76 | #{_libdir}/*.a |
---|
77 | %exclude %{_libdir}/*.la |
---|
78 | %{_libdir}/*.so |
---|
79 | %{_libdir}/pkgconfig/*.pc |
---|
80 | %{_libdir}/libgnomemm-2.6 |
---|
81 | |
---|
82 | |
---|
83 | %changelog |
---|
84 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1 |
---|
85 | - new upstream release |
---|
86 | |
---|
87 | * Sat Oct 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1 |
---|
88 | - new upstream release |
---|
89 | |
---|
90 | * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 2.18.0-1vl5 |
---|
91 | - applied new versioning policy, spec in utf-8 |
---|
92 | - excluded *.la |
---|
93 | |
---|
94 | * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-0vl3 |
---|
95 | - rebuilt without libstdc++2_10 |
---|
96 | |
---|
97 | * Fri May 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-0vl2 |
---|
98 | - rebuilt with new toolchains |
---|
99 | |
---|
100 | * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-0vl1 |
---|
101 | - new upstream release |
---|
102 | |
---|
103 | * Sat Nov 4 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-0vl1 |
---|
104 | - new upstream release |
---|
105 | |
---|
106 | * Tue Feb 14 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.12.2-0vl1 |
---|
107 | - new upstream release |
---|
108 | |
---|
109 | * Fri Sep 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.0-0vl1 |
---|
110 | - new upstream release |
---|
111 | |
---|
112 | * Fri Jan 14 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1 |
---|
113 | - new upstream release |
---|
114 | |
---|
115 | * Thu Nov 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-0vl1 |
---|
116 | - new upstream release |
---|
117 | - added Japanese summary |
---|
118 | |
---|
119 | * Sat Jan 31 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-0vl1 |
---|
120 | - rebuild for Vine Linux |
---|
121 | |
---|
122 | * Tue Sep 23 2003 Eric Bourque <ericb@computer.org> |
---|
123 | - updated for changes to libgnomemm-2.0 |
---|
124 | |
---|
125 | * Tue Mar 20 2001 Eric Bourque <ericb@computer.org> |
---|
126 | - added gnome--.m4 to files devel section |
---|
127 | |
---|
128 | * Sat Mar 10 2001 Herbert Valerio Riedel <hvr@gnu.org> |
---|
129 | - improved examples.conf |
---|
130 | - fixed example build problems |
---|
131 | |
---|
132 | * Thu May 11 2000 Herbert Valerio Riedel <hvr@gnu.org> |
---|
133 | - removed lib/gtkmm from files section |
---|
134 | - removed empty obsolete tags |
---|
135 | |
---|
136 | * Sun Jan 30 2000 Karl Einar Nelson <kenelson@sourceforge.net> |
---|
137 | - adapted from gtk--.spec |
---|