]> git.pld-linux.org Git - packages/glib.git/blob - glib.spec
- removed Prereq: /usr/sbin/fix-info-dir
[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.7
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:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
63 %description devel
64 Header files for the support library for the GIMP's X libraries, which are
65 available as public libraries. GLIB includes generally useful data
66 structures.
67
68 %description -l pl devel
69 Pliki nag³ówkowe i dokumentacja do glib przydatna przy pisaniu programów
70 wykorzystuj±cych tê bibliotekê.
71
72 %package static
73 Summary:        Static glib libraries
74 Summary(pl):    Biblioteki statyczne do glib
75 Group:          Development/Libraries
76 Group(pl):      Programowanie/Biblioteki
77 Requires:       %{name}-devel = %{version}
78
79 %description static
80 Static glib libraries.
81
82 %description -l pl static
83 Biblioteki statyczne do glib.
84
85 %prep
86 %setup -q
87 %patch -p1
88
89 %build
90 %configure \
91         --enable-threads
92 make
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96 make install DESTDIR=$RPM_BUILD_ROOT
97
98 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
99
100 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/glib* \
101         $RPM_BUILD_ROOT%{_mandir}/man1/* \
102         AUTHORS ChangeLog NEWS README
103
104 %post   -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
106
107 %post devel
108 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
109
110 %postun devel
111 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %files
117 %attr(755,root,root) %{_libdir}/libg*.so.*.*
118
119 %files devel
120 %defattr(644,root,root,755)
121 %doc {AUTHORS,ChangeLog,NEWS,README}.gz
122
123 %attr(755,root,root) %{_libdir}/lib*.so
124
125 %{_libdir}/glib
126 %{_includedir}/*
127 %{_datadir}/aclocal/*
128
129 %{_infodir}/glib.info*
130
131 %attr(755,root,root) %{_bindir}/*
132 %{_mandir}/man1/glib-config.1.*
133
134 %files static
135 %attr(644,root,root) %{_libdir}/lib*.a
This page took 0.044527 seconds and 4 git commands to generate.