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