]> git.pld-linux.org Git - packages/aalib.git/blobdiff - aalib.spec
- release 15,
[packages/aalib.git] / aalib.spec
index d9c84085e7b91d07e20422f85550498ae606500a..9b24b304390a5b27119400f836999cdb97af52e9 100644 (file)
@@ -3,43 +3,46 @@ Summary(fr):  Biblioth
 Summary(pl):   Biblioteka GFX sztuki w ASCII
 Name:          aalib
 Version:       1.2
-Release:       13
+Release:       15
 License:       LGPL
 Group:         Libraries
 Group(fr):     Librairies
 Group(pl):     Biblioteki
 Source0:       ftp://ftp.ta.jcu.cz/pub/aa/%{name}-%{version}.tar.gz
-Patch0:                aalib-xref.patch
-Patch1:                aalib-info.patch
-Patch2:                aalib-autoconf.patch
+Patch0:                %{name}-xref.patch
+Patch1:                %{name}-info.patch
+Patch2:                %{name}-autoconf.patch
 URL:           http://horac.ta.jcu.cz/aa/aalib/
+BuildRequires: automake
+BuildRequires: autoconf
 BuildRequires: gpm-devel
+BuildRequires: libtool
 BuildRequires: slang-devel
 BuildRequires: XFree86-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-AA-lib is a low level gfx library just as many other libraries are. The
-main difference is that AA-lib does not require graphics device. In fact,
-there is no graphical output possible. AA-lib replaces those old-fashioned
-output methods with powerful ascii-art renderer. Now my linux boots with a
-nice penguin logo at secondary display (yes! Like Win95 does:) AA-lib API
-is designed to be similar to other graphics libraries. Learning a new API
-would be a piece of cake!
+AA-lib is a low level gfx library just as many other libraries are.
+The main difference is that AA-lib does not require graphics device.
+In fact, there is no graphical output possible. AA-lib replaces those
+old-fashioned output methods with powerful ascii-art renderer. Now my
+linux boots with a nice penguin logo at secondary display (yes! Like
+Win95 does:) AA-lib API is designed to be similar to other graphics
+libraries. Learning a new API would be a piece of cake!
 
 %description -l fr
-La bibliothèque AA est nécessaire pour GIMP. Elle offre la possibilité de
-travailler dans des contextes graphiques sans affichage.
+La bibliothèque AA est nécessaire pour GIMP. Elle offre la possibilité
+de travailler dans des contextes graphiques sans affichage.
 
 %description -l pl
 AA-lib jest niskopoziomow± bibliotek± gfx podobnie jak wiele innych
-bibliotek. G³ówna ró¿nica pomiêdzy nimi jest taka, ¿e AA-lib nie wymaga
-trybu graficznego. W³a¶ciwie nie ma mo¿liwo¶ci wy¶wietlenia czego¶ w trybie
-graficznym. AA-lib zastêpuje te staromodne metody wysoko wydajnym
-narzêdziem do renderowania ascii-art. Teraz mój linux startuje z ³adnym
-logo pingwina na drugim monitorze. AA-lib API jest zaprojektowane tak by
-byæ podobnym do innych graficznych bibliotek. Nauka nowego API bêdzie bu³k±
-z mas³em!
+bibliotek. G³ówna ró¿nica pomiêdzy nimi jest taka, ¿e AA-lib nie
+wymaga trybu graficznego. W³a¶ciwie nie ma mo¿liwo¶ci wy¶wietlenia
+czego¶ w trybie graficznym. AA-lib zastêpuje te staromodne metody
+wysoko wydajnym narzêdziem do renderowania ascii-art. Teraz mój linux
+startuje z ³adnym logo pingwina na drugim monitorze. AA-lib API jest
+zaprojektowane tak by byæ podobnym do innych graficznych bibliotek.
+Nauka nowego API bêdzie bu³k± z mas³em!
 
 %package devel
 Summary:       Header files libraries for aalib
@@ -89,46 +92,49 @@ Narz
 %patch2 -p1
 
 %build
-LDFLAGS="-s"; export LDFLAGS
-automake
+aclocal
 autoconf
+automake -a -c
+libtoolize --copy --force
 %configure
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*.info \
-       README NEWS AUTHORS ANNOUNCE ChangeLog
+gzip -9nf README NEWS AUTHORS ANNOUNCE ChangeLog
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %post devel
-[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun devel
-[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc {README,NEWS,AUTHORS,ANNOUNCE,ChangeLog}.gz
+%doc *.gz
 %attr(755,root,root) %{_libdir}/lib*.so
 %attr(755,root,root) %{_libdir}/lib*.la
 %{_includedir}/*.h
-%{_infodir}/*.info.gz
+%{_infodir}/*.info.*
 
 %files static
-%attr(644,root,root) %{_libdir}/lib*.a
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
 
 %files progs
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
This page took 0.051309 seconds and 4 git commands to generate.