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

Revision 8369, 4.0 KB checked in by Takemikaduchi, 10 years ago (diff)

GNOME-3.12.1

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