]> git.pld-linux.org Git - packages/glib2.git/blob - glib2.spec
- updated to 1.3.10
[packages/glib2.git] / glib2.spec
1 Summary:        Useful routines for 'C' programming
2 Summary(cs):    ©ikovná knihovna s funkcemi pro pomocné programy
3 Summary(da):    Nyttige biblioteksfunktioner
4 Summary(de):    Eine nützliche Library von Dienstprogramm-Funktionen
5 Summary(fi):    Kirjasto, jossa on työkalufunktioita
6 Summary(fr):    Bibliothèque de fonctions utilitaires
7 Summary(pl):    Biblioteka zawieraj±ca wiele u¿ytecznych funkcji C
8 Summary(tr):    Yararlý ufak yordamlar kitaplýðý
9 Name:           glib2
10 Version:        1.3.10
11 Release:        1
12 License:        LGPL
13 Group:          Libraries
14 Group(de):      Libraries
15 Group(es):      Bibliotecas
16 Group(fr):      Librairies
17 Group(pl):      Biblioteki
18 Group(pt_BR):   Bibliotecas
19 Group(ru):      âÉÂÌÉÏÔÅËÉ
20 Group(uk):      â¦Â̦ÏÔÅËÉ
21 Source0:        ftp://ftp.gtk.org/pub/gtk/v1.3/glib-%{version}.tar.gz
22 URL:            http://www.gtk.org/
23 BuildRequires:  pkgconfig
24 BuildRequires:  autoconf
25 BuildRequires:  automake
26 BuildRequires:  libtool
27 BuildRequires:  gettext-devel
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 GLib, is a library which includes support routines for C such as
32 lists, trees, hashes, memory allocation, and many other things. GLIB
33 includes also generally useful data structures used by GIMP and many
34 other.
35
36 %description -l cs
37 ©ikovná knihovna s funkcemi pro pomocné programy. Vývojové knihovny a
38 hlavièky jsou v balíèku glib-devel.
39
40 %description -l da
41 Nyttigt bibliotek med forskellige funktioner. Udviklings- biblioteker
42 og headerfiler er i glib-devel pakken.
43
44 %description -l de
45 Eine nützliche Library von Dienstprogramm-Funktionen.
46 Entwicklungs-Libraries und Header befinden sich in glib-devel.
47
48 %description -l fi
49 Kirjasto, jossa on työkalufunktioita. Kehitysversiot ja
50 header-tiedostot ovat glib-devel-paketissa.
51
52 %description -l pl
53 Glib jest zestawem bibliotek zawieraj±cych funkcje do obs³ugi list,
54 drzewek, funkcji mieszaj±cych, funkcji do alokacji pamiêci i wielu
55 innych podstawowych funkcji i ró¿nych struktur danych u¿ywanych przez
56 program GIMP i wiele innch.
57
58 %description -l tr
59 Yararlý yordamlar kitaplýðý. Geliþtirme kitaplýklarý ve baþlýk
60 dosyalarý glib-devel paketinde yer almaktadýr.
61
62 %package devel
63 Summary:        Glib heades files, documentation
64 Summary(pl):    Pliki nag³ówkowe i dokumentacja do glib
65 Group:          Development/Libraries
66 Group(de):      Entwicklung/Libraries
67 Group(es):      Desarrollo/Bibliotecas
68 Group(fr):      Development/Librairies
69 Group(pl):      Programowanie/Biblioteki
70 Group(pt_BR):   Desenvolvimento/Bibliotecas
71 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
72 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
73 Requires:       %{name} = %{version}
74
75 %description devel
76 Header files for the support library for the GIMP's X libraries, which
77 are available as public libraries. GLIB includes generally useful data
78 structures.
79
80 %description -l pl devel
81 Pliki nag³ówkowe i dokumentacja do glib przydatna przy pisaniu
82 programów wykorzystuj±cych tê bibliotekê.
83
84 %package static
85 Summary:        Static glib libraries
86 Summary(pl):    Biblioteki statyczne do glib
87 Group:          Development/Libraries
88 Group(de):      Entwicklung/Libraries
89 Group(es):      Desarrollo/Bibliotecas
90 Group(fr):      Development/Librairies
91 Group(pl):      Programowanie/Biblioteki
92 Group(pt_BR):   Desenvolvimento/Bibliotecas
93 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
94 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
95 Requires:       %{name}-devel = %{version}
96
97 %description static
98 Static glib libraries.
99
100 %description -l pl static
101 Biblioteki statyczne do glib.
102
103 %prep
104 %setup -q -n glib-%{version}
105
106 %build
107 #libtoolize --copy --force
108 gettextize --copy --force
109 aclocal
110 autoconf
111 #automake -a -c
112
113 # Inside %%install gobject is linked against just built (installed)
114 # version of glib.
115 CFLAGS="-L%{buildroot}%{_libdir}"
116 export CFLAGS
117 %configure \
118         --enable-threads
119 %{__make}
120
121 %install
122 rm -rf $RPM_BUILD_ROOT
123
124 %{__make} install \
125         DESTDIR=$RPM_BUILD_ROOT \
126         m4datadir=%{_aclocaldir} \
127         pkgconfigdir=%{_pkgconfigdir}
128         
129 mv $RPM_BUILD_ROOT%{_mandir}/man1/glib{,2}-mkenums.1
130 mv $RPM_BUILD_ROOT%{_mandir}/man1/glib{,2}-genmarshal.1
131
132 gzip -9nf AUTHORS ChangeLog NEWS README
133
134 %find_lang glib --with-gnome --all-name
135
136 %post   -p /sbin/ldconfig
137 %postun -p /sbin/ldconfig
138
139 %clean
140 rm -rf $RPM_BUILD_ROOT
141
142 %files -f glib.lang
143 %defattr(644,root,root,755)
144 %attr(755,root,root) %{_libdir}/libg*.so.*.*
145
146 %files devel
147 %defattr(644,root,root,755)
148 %doc *.gz
149 %attr(755,root,root) %{_bindir}/*
150 %attr(755,root,root) %{_libdir}/lib*.so
151 %attr(755,root,root) %{_libdir}/lib*.la
152 %{_pkgconfigdir}/*
153 %{_libdir}/glib-2.0
154 %{_includedir}/*
155 %{_datadir}/gtk-doc/html/glib
156 %{_datadir}/gtk-doc/html/gobject
157 %{_aclocaldir}/*
158 %{_mandir}/man?/glib*
159
160 %files static
161 %defattr(644,root,root,755)
162 %{_libdir}/lib*.a
This page took 0.038239 seconds and 3 git commands to generate.