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