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