]> git.pld-linux.org Git - packages/bmv.git/blob - bmv.spec
- new %%doc, ExclusiveArch: x86 alpha
[packages/bmv.git] / bmv.spec
1 Summary:        Simple viewer of images (pbm-raw) and front end for GhostScript based on SVGAlib
2 Summary(pl):    Prosta przegl±darka plików graficznych (pbm-raw) oraz frontend do GhostScriptu bazuj±cy na SVGAlib
3 Name:           bmv
4 Version:        1.2
5 Release:        2
6 Vendor:         Jan Kybic <kybic@earn.cvut.cz>
7 Group:          Applications/Publishing
8 License:        GPL
9 Source0:        ftp://sunsite.unc.edu/pub/Linux/apps/graphics/viewers/svga/%{name}-%{version}.tgz
10 Patch0:         %{name}-glibc.patch
11 BuildRequires:  svgalib-devel
12 Requires:       ghostscript
13 ExclusiveArch:  %{ix86} alpha
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 BMV is a front end for GhostScript. Using BMV you can now preview your
18 PostScript files comfortably. It uses SVGAlib and it is intended for
19 Linux users who cannot run X. It is particulary suitable for
20 previewing PS files from dvips. It is small and fast.
21
22 %description -l pl
23 Przegl±darka BMV jest fontendem dla GhostScriptu. Korzystaj±c z niej
24 mo¿esz ogl±daæ pliki PostScript poprzez bibliotekê svgalib - bez X.
25 Jest ma³a i szybka.
26
27 %prep
28 %setup -q
29 %patch -p1
30
31 %build
32 %{__make} \
33         CC="%{__cc} -DCOLOUR" \
34         CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_bindir}
39 install bmv $RPM_BUILD_ROOT%{_bindir}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc bmv.{CHANGES,README}
47 %attr(755,root,root) %{_bindir}/bmv
This page took 0.065691 seconds and 3 git commands to generate.