]> git.pld-linux.org Git - packages/fnlib.git/blobdiff - fnlib.spec
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
[packages/fnlib.git] / fnlib.spec
index a7e48a45fc6699dc9dd5062730a949f20edb5e10..e4935aefa6da311d7fafefe13aab774b78966fee 100644 (file)
@@ -1,28 +1,47 @@
-Summary:       Color Font rendering lobrary for X11R6
+Summary:       Color Font rendering library for X11R6
 Summary(pl):   Biblioteki do renderowania fontów pod X11R6
 Name:          fnlib
-Version:       0.4
-Release:       2
-Copyright:     LGPL
+Version:       0.5
+Release:       6
+License:       LGPL
 Group:         X11/Libraries
+Group(de):     X11/Libraries
+Group(es):     X11/Bibliotecas
+Group(fr):     X11/Librairies
 Group(pl):     X11/Biblioteki
-Source:                ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.gz
-Requires:      imlib >= 1.9.2
-BuildRoot:     /tmp/%{name}-%{version}-root
+Group(pt_BR):  X11/Bibliotecas
+Group(ru):     X11/âÉÂÌÉÏÔÅËÉ
+Group(uk):     X11/â¦Â̦ÏÔÅËÉ
+Source0:       ftp://www.rasterman.com/pub/enlightenment/libs/fnlib/%{name}-%{version}.tar.gz
+BuildRequires: XFree86-devel
+BuildRequires: imlib-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _sysconfdir     /etc/X11
 
 %description
-Fnlib is a library that provides full scalable 24-bit Color font rendering
-abilities for X.
+Fnlib is a library that provides full scalable 24-bit Color font
+rendering abilities for X.
 
 %description -l pl
-Fnlib jest bibliotek±, która umo¿liwia renderowanie fontów skalowalnych pod
-X11.
+Fnlib jest bibliotek±, która umo¿liwia renderowanie fontów
+skalowalnych pod X11.
 
-%package       devel
+%package devel
 Summary:       Fnlib headers and documentation
 Summary(pl):   Pliki nag³ówkowe oraz dokumentacja
 Group:         X11/Development/Libraries
+Group(de):     X11/Entwicklung/Libraries
+Group(es):     X11/Desarrollo/Bibliotecas
+Group(fr):     X11/Development/Librairies
 Group(pl):     X11/Programowanie/Biblioteki
+Group(pt_BR):  X11/Desenvolvimento/Bibliotecas
+Group(ru):     X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 Requires:      %{name} = %{version}
 
 %description devel
@@ -35,82 +54,63 @@ Pliki nag
 Summary:       Fnlib static libraries 
 Summary(pl):   Biblioteki statyczne fnlib
 Group:         X11/Development/Libraries
+Group(de):     X11/Entwicklung/Libraries
+Group(es):     X11/Desarrollo/Bibliotecas
+Group(fr):     X11/Development/Librairies
 Group(pl):     X11/Programowanie/Biblioteki
+Group(pt_BR):  X11/Desenvolvimento/Bibliotecas
+Group(ru):     X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 Requires:      %{name}-devel = %{version}
 
 %description static
-Fnlib static libraries 
+Fnlib static libraries.
 
 %description -l pl static
-Biblioteki statyczne fnlib
+Biblioteki statyczne fnlib.
 
 %prep
 %setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr/X11R6 \
-       --sysconfdir=/etc/X11
-make fontsdir=/usr/X11R6/share/fnlib_fonts
+rm -f missing
+libtoolize --copy --force
+aclocal
+autoconf
+autoheader
+automake -a -c
+%configure
+
+%{__make} fontsdir=%{_datadir}/fnlib_fonts
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
-
-strip --strip-unneeded $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
 
-gzip -9nf README
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+gzip -9nf README doc/fontinfo.README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc README.gz
 
-%attr(755,root,root) /usr/X11R6/lib/lib*.so.*.*
-%config /etc/X11/*
-/usr/X11R6/share/fnlib_fonts
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%config %{_sysconfdir}/*
+%{_datadir}/fnlib_fonts
 
 %files devel
 %defattr(644,root,root,755)
-%doc doc/index.html doc/fontinfo.README.bz2
+%doc doc/index.html doc/fontinfo.README.gz
 
-%attr(755,root,root) /usr/X11R6/lib/lib*.so
-/usr/X11R6/include/*
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/*
 
 %files static
 %defattr(644,root,root,755)
-/usr/X11R6/lib/lib*.a
-
-%changelog
-* Sun Mar 21 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.4-2]
-- strip with --strip-unneeded shared libraries.
-
-* Tue Jan 05 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.4-1]
-- changed base Source Url to ftp://ftp.gnome.org/pub/GNOME/sources/,
-- sysconfdir changed to /etc/X11,
-- removed HACKING from %doc,
-- added useing DESTDIR in "make install",
-- added LDFLAGS="-s" to ./configure enviroment.
-
-* Mon Oct 26 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.3-4]
-- header files moved to /usr/X11R6/include,
-- fontsdir changed to /usr/X11R6/share/fnlib_fonts.
-
-* Sat Sep 26 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
-  [0.3-3]
-- added pl translation.
-
-* Tue Jul 07 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [0.3-2]
-- start at Raster spec,
-- added %changelog,
-- build against GNU libc-2.1.
+%{_libdir}/lib*.a
This page took 0.095843 seconds and 4 git commands to generate.