]> git.pld-linux.org Git - packages/crossmingw32-gtkmm.git/blob - crossmingw32-gtkmm.spec
- updated to 2.10.8
[packages/crossmingw32-gtkmm.git] / crossmingw32-gtkmm.spec
1 Summary:        A C++ interface for the GTK+ (a GUI library for X) - cross Mingw32 version
2 Summary(pl.UTF-8):      Wrapper C++ dla GTK+ - skrośna wersja Mingw32
3 %define         _realname   gtkmm
4 Name:           crossmingw32-%{_realname}
5 Version:        2.10.8
6 Release:        1
7 License:        LGPL
8 Group:          Development/Libraries
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.10/%{_realname}-%{version}.tar.bz2
10 # Source0-md5:  761f5dc92db90ee507e5d07227bc7c95
11 URL:            http://gtkmm.sourceforge.net/
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  crossmingw32-atk >= 1.12.3
15 BuildRequires:  crossmingw32-cairomm >= 1.2.2
16 BuildRequires:  crossmingw32-gcc-c++ >= 3.3.1
17 BuildRequires:  crossmingw32-glibmm >= 2.12.5
18 BuildRequires:  crossmingw32-gtk+2 >= 2.10.6
19 BuildRequires:  crossmingw32-pango >= 1.14.7
20 BuildRequires:  libtool >= 2:1.5
21 BuildRequires:  perl-base >= 1:5.6.0
22 BuildRequires:  pkgconfig
23 Requires:       %{name}-atk = %{version}-%{release}
24 Requires:       %{name}-pango = %{version}-%{release}
25 Requires:       crossmingw32-gtk+2 >= 2.10.6
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         no_install_post_strip   1
29
30 %define         target                  i386-mingw32
31 %define         target_platform         i386-pc-mingw32
32 %define         arch                    %{_prefix}/%{target}
33
34 %define         _sysprefix              /usr
35 %define         _prefix                 %{_sysprefix}/%{target}
36 %define         _pkgconfigdir           %{_prefix}/lib/pkgconfig
37 %define         _dlldir                 /usr/share/wine/windows/system
38 %define         __cc                    %{target}-gcc
39 %define         __cxx                   %{target}-g++
40
41 %description
42 This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
43 library. The interface provides a convenient interface for C++
44 programmers to create GUIs with GTK+'s flexible object-oriented
45 framework. Features include type safe callbacks, widgets that are
46 extensible using inheritance and over 110 classes that can be freely
47 combined to quickly create complex user interfaces.
48
49 This package contains the cross version for Win32.
50
51 %description -l pl.UTF-8
52 GTK-- jest wrapperem C++ dla Gimp ToolKit (GTK). GTK+ jest biblioteką
53 służącą do tworzenia graficznych interfejsów. W pakiecie znajduje się
54 także biblioteka GDK-- - wrapper C++ dla GDK (General Drawing Kit).
55
56 Ten pakiet zawiera wersję skrośną dla Win32.
57
58 %package static
59 Summary:        Static gtkmm libraries (cross mingw32 version)
60 Summary(pl.UTF-8):      Statyczne biblioteki gtkmm (wersja skrośna mingw32)
61 Group:          Development/Libraries
62 Requires:       %{name} = %{version}-%{release}
63
64 %description static
65 Static gtkmm libraries (cross mingw32 version).
66
67 %description static -l pl.UTF-8
68 Statyczne biblioteki gtkmm (wersja skrośna mingw32).
69
70 %package dll
71 Summary:        DLL gtkmm libraries for Windows
72 Summary(pl.UTF-8):      Biblioteki DLL gtkmm dla Windows
73 Group:          Applications/Emulators
74 Requires:       %{name}-atk-dll = %{version}-%{release}
75 Requires:       %{name}-pango-dll = %{version}-%{release}
76 Requires:       crossmingw32-gtk+2-dll >= 2.10.6
77 Requires:       wine
78
79 %description dll
80 DLL gtkmm libraries for Windows.
81
82 %description dll -l pl.UTF-8
83 Biblioteki DLL gtkmm dla Windows.
84
85 %package atk
86 Summary:        A C++ interface for atk library (cross mingw32 version)
87 Summary(pl.UTF-8):      Interfejs C++ dla biblioteki atk (wersja skrośna mingw32)
88 Group:          Development/Libraries
89 Requires:       crossmingw32-atk >= 1:1.12.3
90 Requires:       crossmingw32-glibmm >= 2.12.5
91
92 %description atk
93 A C++ interface for atk library (cross mingw32 version).
94
95 %description atk -l pl.UTF-8
96 Interfejs C++ dla biblioteki atk (wersja skrośna mingw32).
97
98 %package atk-static
99 Summary:        Static atkmm library (cross mingw32 version)
100 Summary(pl.UTF-8):      Statyczna biblioteka atkmm (wersja skrośna mingw32)
101 Group:          Development/Libraries
102 Requires:       %{name}-atk = %{version}-%{release}
103
104 %description atk-static
105 Static atkmm library (cross mingw32 version).
106
107 %description atk-static -l pl.UTF-8
108 Statyczna biblioteka atkmm (wersja skrośna mingw32).
109
110 %package atk-dll
111 Summary:        DLL atkmm library for Windows
112 Summary(pl.UTF-8):      Biblioteka DLL atkmm dla Windows
113 Group:          Applications/Emulators
114 Requires:       crossmingw32-atk-dll >= 1:1.12.3
115 Requires:       crossmingw32-glibmm-dll >= 2.12.5
116 Requires:       wine
117
118 %description atk-dll
119 DLL atkmm library for Windows.
120
121 %description atk-dll -l pl.UTF-8
122 Biblioteka DLL atkmm dla Windows.
123
124 %package pango
125 Summary:        A C++ interface for pango library (cross mingw32 version)
126 Summary(pl.UTF-8):      Interfejs C++ dla biblioteki pango (wersja skrośna mingw32)
127 Group:          Development/Libraries
128 Requires:       crossmingw32-cairomm >= 1.2.2
129 Requires:       crossmingw32-glibmm >= 2.12.5
130 Requires:       crossmingw32-pango >= 1:1.14.7
131
132 %description pango
133 A C++ interface for pango library (cross mingw32 version).
134
135 %description pango -l pl.UTF-8
136 Interfejs C++ dla biblioteki pango (wersja skrośna mingw32).
137
138 %package pango-static
139 Summary:        Static pangomm library (cross mingw32 version)
140 Summary(pl.UTF-8):      Statyczna biblioteka pangomm (wersja skrośna mingw32)
141 Group:          Development/Libraries
142 Requires:       %{name}-pango = %{version}-%{release}
143
144 %description pango-static
145 Static pangomm library (cross mingw32 version).
146
147 %description pango-static -l pl.UTF-8
148 Statyczna biblioteka pangomm (wersja skrośna mingw32).
149
150 %package pango-dll
151 Summary:        DLL pangomm library for Windows
152 Summary(pl.UTF-8):      Biblioteka DLL pangomm dla Windows
153 Group:          Applications/Emulators
154 Requires:       crossmingw32-cairomm-dll >= 1.2.2
155 Requires:       crossmingw32-glibmm-dll >= 2.12.5
156 Requires:       crossmingw32-pango-dll >= 1:1.14.7
157 Requires:       wine
158
159 %description pango-dll
160 DLL pangomm library for Windows.
161
162 %description pango-dll -l pl.UTF-8
163 Biblioteka DLL pangomm dla Windows.
164
165 %prep
166 %setup -q -n %{_realname}-%{version}
167
168 %build
169 export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig
170 %{__libtoolize}
171 %{__aclocal} -I scripts
172 %{__autoconf}
173 %{__automake}
174 %configure \
175         --targe=%{target} \
176         --host=%{target} \
177         --disable-demos \
178         --disable-docs \
179         --disable-examples \
180         --enable-static
181
182 %{__make}
183
184 %install
185 rm -rf $RPM_BUILD_ROOT
186
187 %{__make} install \
188         DESTDIR=$RPM_BUILD_ROOT
189
190 install -d $RPM_BUILD_ROOT%{_dlldir}
191 mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
192
193 %if 0%{!?debug:1}
194 %{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
195 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
196 %endif
197
198 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
199 rm -rf $RPM_BUILD_ROOT%{_libdir}/gtkmm-2.4/proc
200
201 %clean
202 rm -rf $RPM_BUILD_ROOT
203
204 %files
205 %defattr(644,root,root,755)
206 %doc AUTHORS ChangeLog CHANGES NEWS PORTING README
207 %{_libdir}/libg[dt]kmm-2.4.dll.a
208 %{_libdir}/libg[dt]kmm-2.4.la
209 %{_libdir}/g[dt]kmm-2.4
210 %{_includedir}/g[dt]kmm-2.4
211 %{_pkgconfigdir}/g[dt]kmm-2.4.pc
212
213 %files static
214 %defattr(644,root,root,755)
215 %{_libdir}/libg[dt]kmm-2.4.a
216
217 %files dll
218 %defattr(644,root,root,755)
219 %{_dlldir}/libg[dt]kmm-2.4-*.dll
220
221 %files atk
222 %defattr(644,root,root,755)
223 %{_libdir}/libatkmm-1.6.dll.a
224 %{_libdir}/libatkmm-1.6.la
225 %{_includedir}/atkmm-1.6
226 %{_pkgconfigdir}/atkmm-1.6.pc
227
228 %files atk-static
229 %defattr(644,root,root,755)
230 %{_libdir}/libatkmm-1.6.a
231
232 %files atk-dll
233 %defattr(644,root,root,755)
234 %{_dlldir}/libatkmm-1.6-*.dll
235
236 %files pango
237 %defattr(644,root,root,755)
238 %{_libdir}/libpangomm-1.4.dll.a
239 %{_libdir}/libpangomm-1.4.la
240 %{_includedir}/pangomm-1.4
241 %{_pkgconfigdir}/pangomm-1.4.pc
242
243 %files pango-static
244 %defattr(644,root,root,755)
245 %{_libdir}/libpangomm-1.4.a
246
247 %files pango-dll
248 %defattr(644,root,root,755)
249 %{_dlldir}/libpangomm-1.4-*.dll
This page took 0.07157 seconds and 3 git commands to generate.