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