]> git.pld-linux.org Git - packages/glib2.git/blob - glib2.spec
- Updated to 1.3.6.
[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.6
11 Release:        1
12 License:        LGPL
13 Group:          Libraries
14 Group(de):      Libraries
15 Group(fr):      Librairies
16 Group(pl):      Biblioteki
17 Source0:        ftp://ftp.gtk.org/pub/gtk/v1.3/glib-%{version}.tar.gz
18 URL:            http://www.gtk.org/
19 BuildRequires:  pkgconfig
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _prefix         /usr
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 header-tiedostot
44 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 Group(de):      Entwicklung/Libraries
61 Group(fr):      Development/Librairies
62 Group(pl):      Programowanie/Biblioteki
63 Requires:       %{name} = %{version}
64 Requires:       autoconf >= 2.13
65 Requires:       automake >= 1.4
66 Requires:       libtool  >= 1.3.2 
67
68 %description devel
69 Header files for the support library for the GIMP's X libraries, which
70 are available as public libraries. GLIB includes generally useful data
71 structures.
72
73 %description -l pl devel
74 Pliki nag³ówkowe i dokumentacja do glib przydatna przy pisaniu
75 programów wykorzystuj±cych tê bibliotekê.
76
77 %package static
78 Summary:        Static glib libraries
79 Summary(pl):    Biblioteki statyczne do glib
80 Group:          Development/Libraries
81 Group(de):      Entwicklung/Libraries
82 Group(fr):      Development/Librairies
83 Group(pl):      Programowanie/Biblioteki
84 Requires:       %{name}-devel = %{version}
85
86 %description static
87 Static glib libraries.
88
89 %description -l pl static
90 Biblioteki statyczne do glib.
91
92 %prep
93 %setup -q -n glib-%{version}
94
95 %build
96 gettextize --copy --force
97 autoconf
98 # Inside %%install gobject is linked against just built (installed)
99 # version of glib.
100 CFLAGS="-L%{buildroot}%{_libdir}"
101 export CFLAGS
102 %configure \
103         --enable-threads
104 %{__make}
105
106 %install
107 rm -rf $RPM_BUILD_ROOT
108
109 %{__make} install \
110         DESTDIR=$RPM_BUILD_ROOT \
111         m4datadir=%{_aclocaldir} \
112         pkgconfigdir=%{_pkgconfigdir}
113         
114 mv $RPM_BUILD_ROOT%{_mandir}/man1/glib{,2}-mkenums.1
115 mv $RPM_BUILD_ROOT%{_mandir}/man1/glib{,2}-genmarshal.1
116
117 gzip -9nf AUTHORS ChangeLog NEWS README
118
119 %post   -p /sbin/ldconfig
120 %postun -p /sbin/ldconfig
121
122 %post devel
123 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
124
125 %postun devel
126 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
127
128 %clean
129 rm -rf $RPM_BUILD_ROOT
130
131 %files
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_libdir}/libg*.so.*.*
134
135 %files devel
136 %defattr(644,root,root,755)
137 %doc *.gz
138 %attr(755,root,root) %{_bindir}/*
139 %attr(755,root,root) %{_libdir}/lib*.so
140 %attr(755,root,root) %{_libdir}/lib*.la
141 %{_pkgconfigdir}/*
142 %{_libdir}/glib-2.0
143 %{_includedir}/*
144 %{_datadir}/gtk-doc/html/glib
145 %{_datadir}/gtk-doc/html/gobject
146 %{_aclocaldir}/*
147
148 #%{_infodir}/glib.info*
149
150 %{_mandir}/man1/glib*
151
152 %files static
153 %defattr(644,root,root,755)
154 %{_libdir}/lib*.a
This page took 0.034223 seconds and 3 git commands to generate.