]> git.pld-linux.org Git - packages/aalib.git/blobdiff - aalib.spec
- spec adapterized.
[packages/aalib.git] / aalib.spec
index fc7afcab2521c761e9ca1445a787915969f82a6f..0ae683c62f1107187ed1c94260c9e31d8b7bc495 100644 (file)
@@ -1,46 +1,53 @@
 Summary:       An ASCII art GFX library
+Summary(fr):   Bibliothèque AA (Ascii Art)
 Summary(pl):   Biblioteka GFX sztuki w ASCII
 Name:          aalib
 Version:       1.2
-Release:       11
-Copyright:     LGPL
+Release:       14
+License:       LGPL
 Group:         Libraries
+Group(fr):     Librairies
 Group(pl):     Biblioteki
-Source:                ftp://ftp.ta.jcu.cz/pub/aa/%{name}-%{version}.tar.gz
-Patch0:                aalib-xref.patch
-Patch1:                aalib-info.patch
-Patch2:                aalib-autoconf.patch
+Source0:       ftp://ftp.ta.jcu.cz/pub/aa/%{name}-%{version}.tar.gz
+Patch0:                %{name}-xref.patch
+Patch1:                %{name}-info.patch
+Patch2:                %{name}-autoconf.patch
 URL:           http://horac.ta.jcu.cz/aa/aalib/
 BuildRequires: gpm-devel
 BuildRequires: slang-devel
 BuildRequires: XFree86-devel
-BuildRoot:     /tmp/%{name}-%{version}-root
+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
+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.
+
 %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!
+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!
 
 %package devel
 Summary:       Header files libraries for aalib
 Summary(pl):   Pliki nag³ówkowe dla aalib
 Group:         Libraries
+Group(fr):     Librairies
 Group(pl):     Biblioteki
 Requires:      %{name} = %{version}
-Prereq:                /usr/sbin/fix-info-dir
 
 %description devel
 The header files for development of programs using the AAlib.
@@ -52,6 +59,7 @@ Pliki nag
 Summary:       Static aalib library
 Summary(pl):   Statyczna biblioteka aalib
 Group:         Libraries
+Group(fr):     Librairies
 Group(pl):     Biblioteki
 Requires:      %{name}-devel = %{version}
 
@@ -62,11 +70,11 @@ Static aalib library.
 Statyczna biblioteka aalib.
 
 %package progs
-Summary:     AA-lib tools
-Summary(pl): Narzêdzia AA-lib
-Group:       Utilities/Terminal
-Group(pl):   Narzêdzia/Terminal
-Requires:    %{name} = %{version}
+Summary:       AA-lib tools
+Summary(pl):   Narzêdzia AA-lib
+Group:         Utilities/Terminal
+Group(pl):     Narzêdzia/Terminal
+Requires:      %{name} = %{version}
 
 %description progs
 AA-lib tools.
@@ -85,11 +93,11 @@ LDFLAGS="-s"; export LDFLAGS
 automake
 autoconf
 %configure
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
 
@@ -100,15 +108,16 @@ gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*.info \
 %postun -p /sbin/ldconfig
 
 %post devel
-/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
-/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
@@ -120,7 +129,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_infodir}/*.info.gz
 
 %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.055339 seconds and 4 git commands to generate.