]>
Commit | Line | Data |
---|---|---|
9bd01504 | 1 | Summary: Useful routines for 'C' programming - Ming32 cross version |
ab514c36 ER |
2 | Summary(cs.UTF-8): Šikovná knihovna s funkcemi pro pomocné programy |
3 | Summary(da.UTF-8): Nyttige biblioteksfunktioner | |
4 | Summary(de.UTF-8): Eine nützliche Library von Dienstprogramm-Funktionen | |
5 | Summary(es.UTF-8): Conjunto de funciones gráficas utilitarias | |
6 | Summary(fi.UTF-8): Kirjasto, jossa on työkalufunktioita | |
7 | Summary(fr.UTF-8): Bibliothèque de fonctions utilitaires | |
8 | Summary(ja.UTF-8): 便利なユーティリティ関数のライブラリ | |
9 | Summary(pl.UTF-8): Biblioteka zawierająca wiele użytecznych funkcji C - wersja skrośna dla Ming32 | |
10 | Summary(pt_BR.UTF-8): Conjunto de funções gráficas utilitárias | |
11 | Summary(tr.UTF-8): Yararlı ufak yordamlar kitaplığı | |
12 | Summary(zh_CN.UTF-8): 实用工具函数库 | |
328832ab | 13 | %define _realname glib |
14 | Name: crossmingw32-%{_realname}2 | |
4b2b03ab | 15 | Version: 2.12.9 |
07551a26 | 16 | Release: 1 |
c6b9b5e4 | 17 | License: LGPL |
18 | Group: Libraries | |
328832ab | 19 | #Source0: ftp://ftp.gtk.org/pub/glib/2.12/win32/glib-dev-%{version}.zip |
20 | Source0: ftp://ftp.gtk.org/pub/glib/2.12/%{_realname}-%{version}.tar.bz2 | |
21 | # Source0-md5: b3f6a2a318610af6398b3445f1a2d6c6 | |
22 | Patch0: %{name}-stacktest.patch | |
c6b9b5e4 | 23 | URL: http://www.gtk.org/ |
c9a1f2ad | 24 | BuildRequires: crossmingw32-libiconv |
25 | BuildRequires: crossmingw32-gettext | |
879bfd86 | 26 | BuildRequires: unzip |
07551a26 JB |
27 | Requires: crossmingw32-binutils |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
c6b9b5e4 | 29 | |
30 | %define no_install_post_strip 1 | |
31 | ||
32 | %define target i386-mingw32 | |
c9a1f2ad | 33 | %define host %{target} |
34 | %define target_platform %{target} | |
c6b9b5e4 | 35 | %define arch %{_prefix}/%{target} |
36 | %define gccarch %{_prefix}/lib/gcc-lib/%{target} | |
37 | %define gcclib %{_prefix}/lib/gcc-lib/%{target}/%{version} | |
38 | ||
328832ab | 39 | %define _sysprefix /usr |
40 | %define _prefix %{_sysprefix}/%{target} | |
41 | %define _pkgconfigdir %{_prefix}/lib/pkgconfig | |
c6b9b5e4 | 42 | %define __cc %{target}-gcc |
43 | %define __cxx %{target}-g++ | |
44 | ||
45 | %description | |
46 | GLib, is a library which includes support routines for C such as | |
47 | lists, trees, hashes, memory allocation, and many other things. GLIB | |
48 | includes also generally useful data structures used by GIMP and many | |
49 | other. | |
50 | ||
9bd01504 | 51 | This package contains the cross version for Win32. |
52 | ||
411499f2 JR |
53 | %description -l cs.UTF-8 |
54 | Šikovná knihovna s funkcemi pro pomocné programy. Vývojové knihovny a | |
55 | hlavičky jsou v balíčku glib-devel. | |
c6b9b5e4 | 56 | |
411499f2 | 57 | %description -l da.UTF-8 |
c6b9b5e4 | 58 | Nyttigt bibliotek med forskellige funktioner. Udviklings- biblioteker |
59 | og headerfiler er i glib-devel pakken. | |
60 | ||
411499f2 JR |
61 | %description -l de.UTF-8 |
62 | Eine nützliche Library von Dienstprogramm-Funktionen. | |
c6b9b5e4 | 63 | Entwicklungs-Libraries und Header befinden sich in glib-devel. |
64 | ||
411499f2 | 65 | %description -l es.UTF-8 |
c6b9b5e4 | 66 | Conjunto de funciones utilitarias. Bibliotecas de desarrollo y |
411499f2 | 67 | archivos de inclusión están en glib-devel. |
c6b9b5e4 | 68 | |
411499f2 JR |
69 | %description -l fi.UTF-8 |
70 | Kirjasto, jossa on työkalufunktioita. Kehitysversiot ja | |
c6b9b5e4 | 71 | header-tiedostot ovat glib-devel-paketissa. |
72 | ||
411499f2 | 73 | %description -l ja.UTF-8 |
c6b9b5e4 | 74 | |
411499f2 JR |
75 | GLibはユーティリティ関数を集めた便利なライブラリです。このC言語用ライブラリは、 |
76 | いくつかの問題を解決するよう設計されており、多くのプログラムから要求される使いやすい | |
77 | 関数を提供します。 | |
c6b9b5e4 | 78 | |
411499f2 JR |
79 | GLibはGDK, |
80 | GTK+他多くのアプリケーションで利用される。このライブラリに依存するアプリケーション | |
81 | 等のためにこのglibパッケージをインストールしてください。 | |
c6b9b5e4 | 82 | |
411499f2 JR |
83 | %description -l pl.UTF-8 |
84 | Glib jest zestawem bibliotek zawierających funkcje do obsługi list i | |
85 | drzew, funkcje mieszające, funkcje do alokacji pamięci i dużo innych | |
86 | podstawowych funkcji i różnych struktur danych używanych przez program | |
c6b9b5e4 | 87 | GIMP i wiele innych. |
88 | ||
411499f2 | 89 | Ten pakiet zawiera wersję skrośną dla Win32. |
9bd01504 | 90 | |
411499f2 JR |
91 | %description -l pt_BR.UTF-8 |
92 | Conjunto de funções utilitárias. Bibliotecas de desenvolvimento e | |
93 | arquivos de inclusão estão em glib-devel. | |
c6b9b5e4 | 94 | |
411499f2 JR |
95 | %description -l tr.UTF-8 |
96 | Yararlı yordamlar kitaplığı. Geliştirme kitaplıkları ve başlık | |
97 | dosyaları glib-devel paketinde yer almaktadır. | |
c6b9b5e4 | 98 | |
99 | %prep | |
328832ab | 100 | %setup -q -n %{_realname}-%{version} |
101 | %patch0 -p1 | |
102 | ||
103 | %build | |
104 | export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig | |
328832ab | 105 | %{__libtoolize} |
106 | %{__aclocal} | |
107 | %{__automake} | |
108 | %{__autoconf} | |
109 | %configure \ | |
c9a1f2ad | 110 | --target=%{target} \ |
111 | --host=%{target} \ | |
112 | --disable-gtk-doc \ | |
113 | --enable-shared | |
328832ab | 114 | |
115 | %{__make} | |
c6b9b5e4 | 116 | |
117 | %install | |
118 | rm -rf $RPM_BUILD_ROOT | |
328832ab | 119 | #install -d $RPM_BUILD_ROOT%{arch}/share |
120 | # | |
121 | %{__make} install \ | |
122 | DESTDIR=$RPM_BUILD_ROOT | |
c6b9b5e4 | 123 | |
328832ab | 124 | %find_lang glib20 --with-gnome |
c6b9b5e4 | 125 | |
126 | %clean | |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
328832ab | 129 | %files -f glib20.lang |
37a1690c | 130 | %defattr(644,root,root,755) |
328832ab | 131 | %dir %{_includedir}/glib-2.0 |
132 | %{_includedir}/glib-2.0 | |
133 | %{_libdir}/*.la | |
134 | %{_libdir}/*.a | |
c9a1f2ad | 135 | %{_bindir}/*.dll |
328832ab | 136 | %dir %{_libdir}/glib-2.0/include |
137 | %{_libdir}/glib-2.0/include/glibconfig.h | |
138 | %{_pkgconfigdir}/*.pc | |
139 | %{_datadir}/aclocal/glib* | |
140 | %dir %{_datadir}/glib-2.0/gettext | |
141 | %attr(755,root,root) %{_datadir}/glib-2.0/gettext/mkinstalldirs | |
142 | %dir %{_datadir}/glib-2.0/gettext/po | |
143 | %{_datadir}/glib-2.0/gettext/po/* |