source: projects/specs/trunk/g/gtkmm3/gtkmm3-vl.spec @ 6078

Revision 6078, 3.4 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1%define ver 3.0
2
3Summary: A C++ interface for the GTK+ (a GUI library for X).
4Summary(ja): GTK+ の C++ インターフェイス
5Name: gtkmm3
6Version: 3.4.0
7Release: 1%{?_dist_release}
8License: LGPL
9Group: System Environment/Libraries
10Source: ftp://ftp.gnome.org/pub/GNOME/sources/gtkmm/3.4/gtkmm-%{version}.tar.xz
11
12URL: http://gtkmm.sourceforge.net/
13Buildroot: %{_tmppath}/%{name}-%{version}-root
14Requires: glibmm >= 2.21.2
15Requires: pangomm >= 2.25.1.3
16Requires: atk >= 1.9.0
17Requires: gtk3 >= 3.0.0
18BuildRequires: glibmm-devel >= 2.21.2
19BuildRequires: cairomm-devel
20BuildRequires: pangomm-devel >= 2.25.1.3
21BuildRequires: atkmm-devel
22BuildRequires: gtk3-devel >= 3.0.0
23BuildRequires: libsigc++-devel >= 2.0.0
24
25Vendor: Project Vine
26Distribution: Vine Linux
27
28%description
29gtkmm (previously known as Gtk--) is the official C++ interface for the
30popular GUI library GTK+. Highlights include typesafe callbacks, widgets
31extensible via inheritance and a comprehensive set of widget classes that
32can be freely combined to quickly create complex user interfaces.
33
34The gtkmm devel package contains the static libraries and header files
35needed for developing GTK+ (GIMP ToolKit) applications in C++.
36
37
38%package        devel
39Summary:        Development tools for gtkmm applications.
40Summary(ja):    gtkmm アプリケーションの開発用ファイル
41Group:          Development/Libraries
42Requires:       %{name} = %{version}
43Requires:       gtk3-devel >= 3.0.0
44Requires:       glibmm-devel >= 2.21.2
45Requires:       cairomm-devel
46Requires:       pangomm-devel >= 2.25.1.3
47
48%description devel
49This package contains the headers that programmers will need to develop
50applications which will use Gtk--, the C++ interface to the GTK+
51(the Gimp ToolKit) GUI library.
52
53%prep
54%setup -q -n gtkmm-%{version}
55#patch0 -p1
56
57%build
58%configure --disable-static
59make %{?_smp_mflags}
60
61%install
62[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
63
64make install DESTDIR=$RPM_BUILD_ROOT
65
66find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
67
68# Fix documentation installation, put everything under gtk-doc
69mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gtkmm-%{ver}
70mv ${RPM_BUILD_ROOT}%{_docdir}/gtkmm-%{ver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gtkmm-%{ver}/
71
72# devhelp path fix
73sed -i 's:doc/gtkmm-%{ver}:gtk-doc/html/gtkmm-%{ver}:g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/gtkmm-%{ver}/gtkmm-%{ver}.devhelp2
74
75# remove demos, examples
76rm -rf $RPM_BUILD_ROOT%{_datadir}/gtkmm-%{ver}/demo
77rm -rf $RPM_BUILD_ROOT%{_datadir}/gtkmm-%{ver}/examples
78
79%post -p /sbin/ldconfig
80
81%postun -p /sbin/ldconfig
82
83%clean
84[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
85
86%files
87%defattr(-, root, root)
88%doc AUTHORS COPYING ChangeLog NEWS README
89%{_libdir}/lib*.so.*
90
91%files  devel
92%defattr(-, root, root)
93%{_includedir}/*
94#{_libdir}/*.la
95#{_libdir}/*.a
96%{_libdir}/*.so
97%{_libdir}/gtkmm-*
98%{_libdir}/gdkmm-*
99%{_libdir}/pkgconfig/*.pc
100
101%{_datadir}/gtk-doc/html/*
102%{_datadir}/devhelp/books/*
103
104%changelog
105* Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
106- new upstream release
107
108* Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
109- new upstream release
110
111* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
112- new upstream release
113
114* Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.16-1
115- new upstream release
116
117* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.10-1
118- initial build for Vine Linux
119
Note: See TracBrowser for help on using the repository browser.