]> git.pld-linux.org Git - packages/bmv.git/blob - bmv.spec
b05825d52e384f887a993090f76698317041de6c
[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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 BuildRequires:  svgalib-devel
13 Requires:       ghostscript
14
15 %description
16 BMV is a front end for GhostScript. Using BMV you can now preview your
17 PostScript files comfortably. It uses SVGAlib and it is intended for
18 Linux users who cannot run X. It is particulary suitable for
19 previewing PS files from dvips. It is small and fast.
20
21 %description -l pl
22 Przegl±darka BMV jest fontendem dla GhostScriptu. Korzystaj±c z niej
23 mo¿esz ogl±daæ pliki PostScript poprzez bibliotekê svgalib - bez X.
24 Jest ma³a i szybka.
25
26 %prep
27 %setup -q
28 %patch -p1
29
30 %build
31 %{__make} \
32         CC="%{__cc} -DCOLOUR" \
33         CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_bindir}
38 install bmv $RPM_BUILD_ROOT%{_bindir}
39 gzip -9nf bmv.{CHANGES,README}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc *.gz
47 %attr(755,root,root) %{_bindir}/bmv
This page took 0.083704 seconds and 2 git commands to generate.