]> git.pld-linux.org Git - packages/crossmingw32-gtk+2.git/blob - crossmingw32-gtk+2.spec
- tabs in preamble
[packages/crossmingw32-gtk+2.git] / crossmingw32-gtk+2.spec
1 Summary:        The Gimp Toolkit - Ming32 cross version
2 Summary(cs.UTF-8):      Sada nástrojů pro Gimp
3 Summary(de.UTF-8):      Der Gimp-Toolkit
4 Summary(es.UTF-8):      Conjunto de herramientas Gimp
5 Summary(fi.UTF-8):      Gimp-työkalukokoelma
6 Summary(fr.UTF-8):      Le toolkit de Gimp
7 Summary(it.UTF-8):      Il toolkit per Gimp
8 Summary(pl.UTF-8):      Gimp Toolkit - wersja skrośna dla Ming32
9 Summary(pt_BR.UTF-8):   Kit de ferramentas Gimp
10 Summary(tr.UTF-8):      Gimp ToolKit arayüz kitaplığı
11 Name:           crossmingw32-gtk+2
12 Version:        2.4.13
13 Release:        1
14 License:        LGPL
15 Group:          Libraries
16 Source0:        http://www.gimp.org/~tml/gimp/win32/gtk+-dev-%{version}.zip
17 # Source0-md5:  36542202e50d8f3a9551072ae72188bf
18 URL:            http://www.gtk.org/
19 BuildRequires:  unzip
20 Requires:       crossmingw32-glib2 >= 2.4.7
21 Requires:       crossmingw32-atk >= 1.6.0
22 Requires:       crossmingw32-pango >= 1.4.1
23 Requires:       crossmingw32-pango < 1.6.0
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         no_install_post_strip   1
27
28 %define         target                  i386-mingw32
29 %define         target_platform         i386-pc-mingw32
30 %define         arch                    %{_prefix}/%{target}
31 %define         gccarch                 %{_prefix}/lib/gcc-lib/%{target}
32 %define         gcclib                  %{_prefix}/lib/gcc-lib/%{target}/%{version}
33
34 %define         __cc                    %{target}-gcc
35 %define         __cxx                   %{target}-g++
36
37 %description
38 GTK+, which stands for the Gimp ToolKit, is a library for creating
39 graphical user interfaces for the X Window System. It is designed to
40 be small, efficient, and flexible. GTK+ is written in C with a very
41 object-oriented approach. GDK (part of GTK+) is a drawing toolkit
42 which provides a thin layer over Xlib to help automate things like
43 dealing with different color depths, and GTK is a widget set for
44 creating user interfaces.
45
46 %description -l cs.UTF-8
47 Knihovny X původně psané pro GIMP, které nyní používá také řada jiných
48 programů.
49
50 %description -l da.UTF-8
51 X biblioteker, oprindeligt udviklet til GIMP, men anvendes nu af flere
52 forskellige programmer.
53
54 %description -l de.UTF-8
55 Die X-Libraries, die ursprünglich für GIMP geschrieben wurden und
56 mittlerweile für eine ganze Reihe anderer Programme benutzt werden.
57
58 %description -l fr.UTF-8
59 X-kirjastot, jotka alunperin kirjoitettiin GIMP:lle, mutta joita
60 käytetään nyt myös useissa muissakin ohjelmissa.
61
62 %description -l it.UTF-8
63 Libreria X scritta per GIMP. Viene usata da diversi programmi.
64
65 %description -l pl.UTF-8
66 GTK+, która to biblioteka stała się podstawą programu Gimp, zawiera
67 funkcje do tworzenia graficznego interfejsu użytkownika pod X Window.
68 Była tworzona z założeniem żeby była mała, efektywna i wygodna. GTK+
69 jest napisane w C z podejściem zorientowanym bardzo obiektowo. GDK
70 (część GTK+) jest warstwą pośrednią pomiędzy Xlib i resztą toolkitu
71 zapewniającą pracę niezależnie od głębi koloru (ilości bitów na
72 piksel). GTK (druga część GTK+) jest natomiast już zbiorem różnego
73 rodzaju kontrolek służących do tworzenia interfejsu użytkownika.
74
75 %description -l pt_BR.UTF-8
76 Bibliotecas X originalmente escritas para o GIMP, que agora estão
77 sendo também usadas por vários outros programas.
78
79 %description -l tr.UTF-8
80 Başlangıçta GIMP için yazılmış X kitaplıkları. Şu anda başka
81 programlarca da kullanılmaktadır.
82
83 %prep
84 %setup -q -c
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT%{arch}/share
89
90 # omit man,share/aclocal,share/gtk-doc (they are system-wide)
91 cp -rf bin include lib $RPM_BUILD_ROOT%{arch}
92 cp -rf share/gtk-2.0 $RPM_BUILD_ROOT%{arch}/share
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files
98 %defattr(644,root,root,755)
99 %{arch}/include/gtk-2.0
100 %{arch}/lib/*.lib
101 %{arch}/lib/*.dll.a
102 %{arch}/lib/gtk-2.0
103 %{arch}/lib/pkgconfig/*.pc
104 # XXX: missing dir
105 %{arch}/share/gtk-2.0
This page took 0.569392 seconds and 3 git commands to generate.