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