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