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