Summary: Useful routines for 'C' programming Summary(pl): Biblioteka zawierająca wiele użytecznych funkcji C Name: glib Version: 1.2.3 Release: 1 Copyright: LGPL Group: Libraries Group(pl): Biblioteki Source: ftp://ftp.gimp.org/pub/gtk/v1.1/%{name}-%{version}.tar.gz Patch0: glib-info.patch URL: http://www.gtk.org/ BuildRoot: /tmp/%{name}-%{version}-root %description GLib, is a library which includes support routines for C such as lists, trees, hashes, memory allocation, and many other things. GLIB includes also generally useful data structures used by GIMP and many other. %description -l pl Glib jest zestawem bibliotek zawierających funkcje do obsługi list, drzewek, funkcji mieszających, funkcji do alokacji pamięci i wielu innych podstawowych funkcji i różnych struktur danych używanych przez program GIMP i wiele innch. %package devel Summary: Glib heades files, documentation Summary(pl): Pliki nagłówkowe i dokumentacja do glib Group: Development/Libraries Group(pl): Programowanie/Biblioteki Prereq: /sbin/install-info Requires: %{name} = %{version} Requires: autoconf >= 2.13 Requires: automake >= 1.4 Requires: libtool >= 1.2d %description devel Header files for the support library for the GIMP's X libraries, which are available as public libraries. GLIB includes generally useful data structures. %description -l pl devel Pliki nagłówkowe i dokumentacja do glib przydatna przy pisaniu programów wykorzystujących tę bibliotekę. %package static Summary: Static glib libraries Summary(pl): Biblioteki statyczne do glib Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} %description static Static glib libraries. %description -l pl static Biblioteki statyczne do glib. %prep %setup -q %patch0 -p1 %build autoconf CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ ./configure %{_target} \ --prefix=/usr \ --enable-threads make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT strip $RPM_BUILD_ROOT/usr/lib/lib*.so.*.* gzip -9nf $RPM_BUILD_ROOT%{_infodir}/glib* \ $RPM_BUILD_ROOT%{_mandir}/man1/* \ AUTHORS ChangeLog NEWS README %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel /sbin/install-info %{_infodir}/glib.info.gz /etc/info-dir %preun devel if [ "$1" = "0" ]; then /sbin/install-info --delete %{_infodir}/glib.info.gz /etc/info-dir fi %clean rm -rf $RPM_BUILD_ROOT %files %attr(755,root,root) /usr/lib/libg*.so.*.* %files devel %defattr(644,root,root,755) %doc {AUTHORS,ChangeLog,NEWS,README}.gz %attr(755,root,root) /usr/lib/lib*.so /usr/lib/glib /usr/include/* /usr/share/aclocal/* %{_infodir}/glib.info* %attr(755,root,root) /usr/bin/* %{_mandir}/man1/glib-config.1.* %files static %attr(644,root,root) /usr/lib/lib*.a %changelog * Mon May 10 1999 Tomasz Kłoczko [1.2.2-2] - FHS 2.0 compilant changes. * Thu Mar 25 1999 Tomasz Kłoczko [1.2.1-1] - gzipping %doc. * Sat Feb 27 1999 Tomasz Kłoczko [1.2.0-1] - changed Group fields to Libraries, Development/Libraries and prefix to /usr (glib is not X11 library), - added "Conflicts: glibc <= 2.0.7" for prevent install glib with proper version glibc. * Wed Feb 24 1999 Tomasz Kłoczko [1.1.16-1] - removed man group from man pages. * Mon Jan 18 1999 Tomasz Kłoczko [1.1.13-1d] - added Group(pl) and changed all Group fields, - added "Requires: autoconf >= 2.13, automake >= 1.4, libtool >= 1.2d" for devel subpackage. * Sat Jan 01 1999 Tomasz Kłoczko [1.1.11-1] - standarized {un}registering info pages (added glib-info.patch). * Sat Dec 19 1998 Tomasz Kłoczko [1.1.9-1] - added gzipping man pages, - /sbin/install-info moved to Prereq in devel, - standarized {un}registering info pages, - added --enable-threads ./confogure parameter. - added using LDFLAGS="-s" to ./configure enviroment. * Tue Nov 24 1998 Tomasz Kłoczko [1.1.5-1] - added pl translation, - added /usr/X11R6/man/man1/glib-config.1 and glib info to devel, - changes in Summary and %description. * Fri Sep 18 1998 Tomasz Kłoczko [1.1.2-2] - changed prefix to /usr/X11R6. * Mon Aug 10 1998 Tomasz Kłoczko [1.1.2-1] - added -q %setup parameter, - added using %%{name} and %%{version} macros in Source, - Buildroot changed to /tmp/%%{name}-%%{version}-root, - added static subpackage, - added stripping shared libs, - build against GNU libc-2.1. * Mon Apr 13 1998 Marc Ewing - Split out glib package