]> git.pld-linux.org Git - packages/aview.git/blobdiff - aview.spec
- BuildRequires: autoconf
[packages/aview.git] / aview.spec
index 3acfe47bd997fb685bc59b5ef81f43c50717e8c7..6ca654e57e9b85d0a3dac229c906bd43b18ac65e 100644 (file)
@@ -1,17 +1,20 @@
-Summary:       ASCII-Art image browser and animation player
-Summary(pl):   Przegl±darka obrazków i animacji w formacie ASCII
-Name:          aview
-Version:       1.2
-Release:       2
-Copyright:     GPL
-Group:                 Applications/Graphics
+Summary:       ASCII-Art image browser and animation player
+Summary(pl):   Przegl±darka obrazków i animacji jako ASCII Art
+Name:          aview
+Version:       1.3.0rc1
+Release:       1
+License:       GPL
+Group:         Applications/Graphics
+Group(de):     Applikationen/Grafik
 Group(pl):     Aplikacje/Grafika
-Source:        ftp://ftp.ta.jcu.cz/pub/aa/%{name}-%{version}.tar.gz
-BuildPrereq:   aalib-devel
-BuildPrereq:   gpm-devel
-BuildPrereq:   ncurses-devel
-BuildPrereq:   XFree86-libs
-BuildRoot:     /tmp/%{name}-%{version}-root
+Source0:       ftp://download.sourceforge.net/pub/sourceforge/aa-project/%{name}-%{version}.tar.gz
+URL:           http://aa-project.sourceforge.net/aview/
+BuildRequires: autoconf
+BuildRequires: aalib-devel
+BuildRequires: gpm-devel
+BuildRequires: ncurses-devel >= 5.0
+BuildRequires: XFree86-libs
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 aview is an high quality ascii-art image(pnm) browser and
@@ -20,46 +23,46 @@ animation(fli/flc) player usefull especially with lynx browser.
 Supports: stdio, curses, slang, X11, gpm, linux-console.
 
 Features: Save into many formats (html, text, ansi, more/less etc...),
-Contrast, Bright, Gamma control,Image zooming/unzooming, Three dithering
-modes, Hidden "bonus" features :), Inversion, Support for bright, dim,
-inverse attributes/extended character set
+Contrast, Bright, Gamma control,Image zooming/unzooming, Three
+dithering modes, Hidden "bonus" features :), Inversion, Support for
+bright, dim, inverse attributes/extended character set
 
 %description -l pl
-aview jest wysokiej jako¶ci przegl±dark± obrazków (pnm) i animacji (fli/flc) 
-w formacie ASCII, u¿yteczn± zw³aszcza w po³±czeniu z przegl±dark± lynx.
+aview jest wysokiej jako¶ci przegl±dark± obrazków (pnm) i animacji
+(fli/flc) w formacie ASCII, u¿yteczn± zw³aszcza w po³±czeniu z
+przegl±dark± lynx.
 
 Wspiera: stdio, curses, slang, X11, gpm, linux-console.
 
-Opcje: zapisywanie w wielu formatach (html, txt, ansi, more/less, etc...), 
-mo¿liwo¶æ ustawienia kontrastu, jasno¶ci i nasycenia, zoom, trzy poziomy 
-ditheringu, itp. oraz ukryte opcje "bonusowe" :)
+Opcje: zapisywanie w wielu formatach (html, txt, ansi, more/less,
+etc...), mo¿liwo¶æ ustawienia kontrastu, jasno¶ci i nasycenia, zoom,
+trzy poziomy ditheringu, itp. oraz ukryte opcje "bonusowe" :)
 
 %prep
-%setup -q
+%setup -q -n %{name}-1.3.0
 
 %build
+autoconf
 %configure
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
 
-make install \
-       bindir=$RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf README ANNOUNCE README.flip ChangeLog TODO
+# groff link instead of full copy
+echo ".so aview.1" > $RPM_BUILD_ROOT%{_mandir}/man1/asciiview.1
+
+gzip -9nf ANNOUNCE ChangeLog AUTHORS NEWS README README.flip TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {README,ANNOUNCE,README.flip,ChangeLog,TODO}.gz
+%doc *.gz
 %attr(755,root,root) %{_bindir}/*
-
-%changelog
-* Mon Jun 21 1999 Piotr Czerwiñski <pius@pld.org.pl> 
-  [1.2-2]
-- spec file rewritten for PLD use,
-- based on spec file from unknown source.
+%{_mandir}/man1/*
This page took 0.304759 seconds and 4 git commands to generate.