]> git.pld-linux.org Git - packages/crossmingw32-gtkmm.git/blame - crossmingw32-gtkmm.spec
- updated to 2.10.8
[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
ae8f43dd 3%define _realname gtkmm
4Name: crossmingw32-%{_realname}
db814cdf 5Version: 2.10.8
ae8f43dd 6Release: 1
7License: LGPL
db814cdf 8Group: Development/Libraries
ae8f43dd 9Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.10/%{_realname}-%{version}.tar.bz2
db814cdf 10# Source0-md5: 761f5dc92db90ee507e5d07227bc7c95
ae8f43dd 11URL: http://gtkmm.sourceforge.net/
12BuildRequires: autoconf >= 2.59
13BuildRequires: automake >= 1:1.9
14BuildRequires: crossmingw32-atk >= 1.12.3
15BuildRequires: crossmingw32-cairomm >= 1.2.2
db814cdf 16BuildRequires: crossmingw32-gcc-c++ >= 3.3.1
ae8f43dd 17BuildRequires: crossmingw32-glibmm >= 2.12.5
18BuildRequires: crossmingw32-gtk+2 >= 2.10.6
ae8f43dd 19BuildRequires: crossmingw32-pango >= 1.14.7
db814cdf 20BuildRequires: libtool >= 2:1.5
ae8f43dd 21BuildRequires: perl-base >= 1:5.6.0
db814cdf 22BuildRequires: pkgconfig
ae8f43dd 23Requires: %{name}-atk = %{version}-%{release}
24Requires: %{name}-pango = %{version}-%{release}
ae8f43dd 25Requires: crossmingw32-gtk+2 >= 2.10.6
26BuildRoot: %{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}
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}
76Requires: crossmingw32-gtk+2-dll >= 2.10.6
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
89Requires: crossmingw32-atk >= 1:1.12.3
90Requires: crossmingw32-glibmm >= 2.12.5
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
114Requires: crossmingw32-atk-dll >= 1:1.12.3
115Requires: crossmingw32-glibmm-dll >= 2.12.5
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
128Requires: crossmingw32-cairomm >= 1.2.2
129Requires: crossmingw32-glibmm >= 2.12.5
130Requires: crossmingw32-pango >= 1:1.14.7
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
154Requires: crossmingw32-cairomm-dll >= 1.2.2
155Requires: crossmingw32-glibmm-dll >= 2.12.5
156Requires: crossmingw32-pango-dll >= 1:1.14.7
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
166%setup -q -n %{_realname}-%{version}
ae8f43dd 167
168%build
169export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig
170%{__libtoolize}
171%{__aclocal} -I scripts
172%{__autoconf}
173%{__automake}
ae8f43dd 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
185rm -rf $RPM_BUILD_ROOT
ae8f43dd 186
187%{__make} install \
db814cdf
JB
188 DESTDIR=$RPM_BUILD_ROOT
189
190install -d $RPM_BUILD_ROOT%{_dlldir}
191mv -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
198rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
199rm -rf $RPM_BUILD_ROOT%{_libdir}/gtkmm-2.4/proc
ae8f43dd 200
201%clean
202rm -rf $RPM_BUILD_ROOT
203
204%files
205%defattr(644,root,root,755)
206%doc AUTHORS ChangeLog CHANGES NEWS PORTING README
db814cdf
JB
207%{_libdir}/libg[dt]kmm-2.4.dll.a
208%{_libdir}/libg[dt]kmm-2.4.la
ae8f43dd 209%{_libdir}/g[dt]kmm-2.4
ae8f43dd 210%{_includedir}/g[dt]kmm-2.4
db814cdf
JB
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
ae8f43dd 220
221%files atk
222%defattr(644,root,root,755)
db814cdf
JB
223%{_libdir}/libatkmm-1.6.dll.a
224%{_libdir}/libatkmm-1.6.la
ae8f43dd 225%{_includedir}/atkmm-1.6
db814cdf
JB
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
ae8f43dd 235
236%files pango
237%defattr(644,root,root,755)
db814cdf
JB
238%{_libdir}/libpangomm-1.4.dll.a
239%{_libdir}/libpangomm-1.4.la
ae8f43dd 240%{_includedir}/pangomm-1.4
db814cdf
JB
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.133847 seconds and 4 git commands to generate.