1 | %define apiver 1.4 |
---|
2 | %define _unpackaged_files_terminate_build 1 |
---|
3 | |
---|
4 | Name: pangomm |
---|
5 | Version: 2.42.1 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | Summary: C++ interface for Pango |
---|
8 | Summary(ja): Pango の C++ インターフェース |
---|
9 | Vendor: Project Vine |
---|
10 | Distribution: Vine Linux |
---|
11 | |
---|
12 | License: LGPLv2+ |
---|
13 | URL: https://www.gtkmm.org/ |
---|
14 | %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//') |
---|
15 | Source: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | BuildRequires: glibmm-devel >= 2.14.1 |
---|
19 | BuildRequires: cairomm-devel >= 1.2.2 |
---|
20 | BuildRequires: pango-devel >= 1.23.0 |
---|
21 | #BuildRequires: doxygen graphviz |
---|
22 | |
---|
23 | Obsoletes: gtkmm2 < 2.13.5 |
---|
24 | |
---|
25 | |
---|
26 | %description |
---|
27 | pangomm provides a C++ interface to the Pango library. Highlights |
---|
28 | include typesafe callbacks, widgets extensible via inheritance and a |
---|
29 | comprehensive set of widget classes that can be freely combined to |
---|
30 | quickly create complex user interfaces. |
---|
31 | |
---|
32 | |
---|
33 | %package devel |
---|
34 | Summary: Headers for developing programs that will use %{name} |
---|
35 | Summary(ja): %{name} を使用するプログラムを開発するためのファイル |
---|
36 | Group: Development/Libraries |
---|
37 | Requires: %{name} = %{version}-%{release} |
---|
38 | Requires: glibmm-devel >= 2.14.1 |
---|
39 | Requires: cairomm-devel >= 1.2.2 |
---|
40 | Requires: pango-devel >= 1.23.0 |
---|
41 | Requires: pkgconfig gtk-doc |
---|
42 | Obsoletes: gtkmm2-devel < 2.13.5 |
---|
43 | |
---|
44 | %description devel |
---|
45 | This package contains the libraries and header files needed for |
---|
46 | developing pangomm applications. |
---|
47 | |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q |
---|
51 | |
---|
52 | |
---|
53 | %build |
---|
54 | %configure --disable-static |
---|
55 | make %{?_smp_mflags} |
---|
56 | |
---|
57 | |
---|
58 | %install |
---|
59 | rm -rf %{buildroot} |
---|
60 | make install DESTDIR=%{buildroot} |
---|
61 | |
---|
62 | #rm -rf %{buildroot}%{_libdir}/pangomm-%{apiver} |
---|
63 | find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' |
---|
64 | |
---|
65 | # Fix documentation installation, put everything under gtk-doc and fix |
---|
66 | # relative paths. |
---|
67 | mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/pangomm-%{apiver} |
---|
68 | mv %{buildroot}%{_docdir}/pangomm-%{apiver}/* %{buildroot}%{_datadir}/gtk-doc/html/pangomm-%{apiver}/ |
---|
69 | rm -r ${RPM_BUILD_ROOT}%{_docdir}/pangomm-%{apiver} |
---|
70 | |
---|
71 | # Fix devhelp relative path |
---|
72 | sed -i 's:doc/pangomm-%{apiver}:gtk-doc/html/pangomm-%{apiver}:g' %{buildroot}%{_datadir}/devhelp/books/pangomm-%{apiver}/pangomm-%{apiver}.devhelp2 |
---|
73 | |
---|
74 | |
---|
75 | %clean |
---|
76 | rm -rf %{buildroot} |
---|
77 | |
---|
78 | |
---|
79 | %post -p /sbin/ldconfig |
---|
80 | |
---|
81 | %postun -p /sbin/ldconfig |
---|
82 | |
---|
83 | |
---|
84 | %files |
---|
85 | %defattr(-, root, root, -) |
---|
86 | %license COPYING |
---|
87 | %doc AUTHORS ChangeLog NEWS README |
---|
88 | %{_libdir}/*.so.* |
---|
89 | |
---|
90 | %files devel |
---|
91 | %defattr(-, root, root, -) |
---|
92 | %{_includedir}/pangomm-%{apiver} |
---|
93 | %{_libdir}/*.so |
---|
94 | %{_libdir}/pangomm-%{apiver}/* |
---|
95 | %{_libdir}/pkgconfig/*.pc |
---|
96 | %{_datadir}/gtk-doc/html/pangomm-%{apiver} |
---|
97 | %{_datadir}/devhelp/books/pangomm-%{apiver} |
---|
98 | |
---|
99 | %changelog |
---|
100 | * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.42.1-1 |
---|
101 | - new upstream release. |
---|
102 | |
---|
103 | * Sun Jan 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.40.1-1 |
---|
104 | - new upstream release. |
---|
105 | |
---|
106 | * Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.40.0-1 |
---|
107 | - new upstream release |
---|
108 | |
---|
109 | * Wed Jun 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.38.1-2 |
---|
110 | - rebuild with gcc-5.4.0 |
---|
111 | |
---|
112 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.38.1-1 |
---|
113 | - new usptream release |
---|
114 | |
---|
115 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.36.0-1 |
---|
116 | - new usptream release |
---|
117 | |
---|
118 | * Sun Feb 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.34.0-2 |
---|
119 | - rebuild with VineSeed environment |
---|
120 | |
---|
121 | * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.34.0-1 |
---|
122 | - new upstream release |
---|
123 | |
---|
124 | * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.28.4-1 |
---|
125 | - new upstream release |
---|
126 | |
---|
127 | * Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.28.3-1 |
---|
128 | - new upstream release |
---|
129 | |
---|
130 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.28.2-1 |
---|
131 | - new upstream release |
---|
132 | |
---|
133 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> - 2.26.2-2 |
---|
134 | - build with rpm-4.8.1-1 for pkg-config file |
---|
135 | |
---|
136 | * Sun Jul 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.26.2-1 |
---|
137 | - new upstream release |
---|
138 | |
---|
139 | * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.26.1-1 |
---|
140 | - new upstream release |
---|
141 | |
---|
142 | * Sun Sep 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.26.0-1 |
---|
143 | - new upstream release |
---|
144 | |
---|
145 | * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.24.0-1 |
---|
146 | - new upstream release |
---|
147 | - dropped Patch0 |
---|
148 | |
---|
149 | * Sat Oct 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.14.0-1 |
---|
150 | - Initial build for Vine Linux |
---|
151 | - added Patch0 for documentation path fix |
---|
152 | |
---|
153 | * Fri Aug 29 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-3 |
---|
154 | - Obsoletes older gtkmm to avoid libpangomm conflict |
---|
155 | |
---|
156 | * Wed Aug 27 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-2 |
---|
157 | - Spec review fixes |
---|
158 | |
---|
159 | * Mon Aug 25 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-1 |
---|
160 | - First version |
---|