1 | %define ver 3.0 |
---|
2 | |
---|
3 | Summary: A C++ wrapper for gdl |
---|
4 | Summary(ja): gdl の C++ ラッパー |
---|
5 | Name: gdlmm |
---|
6 | Version: 3.7.3 |
---|
7 | Release: 2%{?_dist_release} |
---|
8 | License: LGPLv2 |
---|
9 | Group: System Environment/Libraries |
---|
10 | Source: ftp://ftp.gnome.org/pub/GNOME/sources/gdlmm/3.7/%{name}-%{version}.tar.xz |
---|
11 | |
---|
12 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: gdl-devel >= 3.7 |
---|
14 | BuildRequires: glibmm-devel >= 2.16 |
---|
15 | BuildRequires: gtkmm3-devel >= 3.0 |
---|
16 | BuildRequires: autoconf |
---|
17 | Requires: gdl >= 3.7 |
---|
18 | Requires: glibmm >= 2.16 |
---|
19 | Requires: gtkmm3 >= 3.0 |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | Packager: Takemikaduchi |
---|
24 | |
---|
25 | # from upstream |
---|
26 | Patch0: gdlmm-3.7.3-c++11.patch |
---|
27 | |
---|
28 | %description |
---|
29 | Gdlmm is a C++ wrapper for gdl. |
---|
30 | |
---|
31 | |
---|
32 | %package devel |
---|
33 | Summary: Development tools for gdlmm applications. |
---|
34 | Summary(ja): gdlmm アプリケーションの開発用ファイル |
---|
35 | Group: Development/Libraries |
---|
36 | Requires: %{name} = %{version}-%{release} |
---|
37 | Requires: gdl-devel >= 3.7 |
---|
38 | Requires: glibmm-devel >= 2.16 |
---|
39 | Requires: gtkmm3-devel >= 3.0 |
---|
40 | |
---|
41 | %description devel |
---|
42 | Header files and libraries for building a extension library for the gdlmm. |
---|
43 | |
---|
44 | %prep |
---|
45 | %setup -q |
---|
46 | %patch0 -p1 |
---|
47 | |
---|
48 | %build |
---|
49 | autoreconf -if |
---|
50 | %configure --disable-static |
---|
51 | make %{?_smp_mflags} |
---|
52 | |
---|
53 | %install |
---|
54 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
55 | |
---|
56 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
57 | |
---|
58 | find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' |
---|
59 | find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
---|
60 | |
---|
61 | # remove demos, examples |
---|
62 | rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/demo |
---|
63 | rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/examples |
---|
64 | |
---|
65 | %post -p /sbin/ldconfig |
---|
66 | |
---|
67 | %postun -p /sbin/ldconfig |
---|
68 | |
---|
69 | %clean |
---|
70 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
71 | |
---|
72 | %files |
---|
73 | %defattr(-, root, root) |
---|
74 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
75 | %{_libdir}/lib*.so.* |
---|
76 | |
---|
77 | %files devel |
---|
78 | %defattr(-, root, root) |
---|
79 | %{_includedir}/* |
---|
80 | %{_libdir}/*.so |
---|
81 | %{_libdir}/%{name}-* |
---|
82 | %{_libdir}/pkgconfig/*.pc |
---|
83 | %{_datadir}/devhelp/books/gdlmm-3.0/gdlmm-3.0.devhelp2 |
---|
84 | %{_datadir}/doc/gdlmm-%{ver} |
---|
85 | |
---|
86 | %changelog |
---|
87 | * Wed Jun 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.7.3-2 |
---|
88 | - rebuild with gcc-5.4.0 |
---|
89 | - add Patch0 (gdlmm-3.7.3-c++11.patch) |
---|
90 | |
---|
91 | * Thu Dec 18 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.7.3-1 |
---|
92 | - updated to 3.7.3 |
---|
93 | |
---|
94 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
95 | - new upstream release |
---|
96 | |
---|
97 | * Sun Oct 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
98 | - new upstream release |
---|
99 | - change BuildRequires: gtkmm3-devel instead of gtkmm2-devel |
---|
100 | |
---|
101 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-2 |
---|
102 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
103 | |
---|
104 | * Thu Jul 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
105 | - initial build for Vine Linux |
---|
106 | |
---|