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