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