]> git.pld-linux.org Git - packages/bmv.git/blob - bmv.spec
- adapted for PLD
[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 Group(de):      Applikationen/Publizieren
9 Group(pl):      Aplikacje/Publikowanie
10 License:        GPL
11 Source0:        ftp://sunsite.unc.edu/pub/Linux/apps/graphics/viewers/svga/%{name}-%{version}.tgz
12 Patch0:         %{name}-glibc.patch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 BuildRequires:  svgalib-devel
15 Requires:       ghostscript
16
17 %description
18 BMV is a front end for GhostScript. Using BMV you can now preview your
19 PostScript files comfortably. It uses SVGAlib and it is intended for
20 Linux users who cannot run X. It is particulary suitable for
21 previewing PS files from dvips. It is small and fast.
22
23 %prep
24 %setup -q
25 %patch -p1
26
27 %build
28 %{__make} \
29         CC="cc -DCOLOUR" \
30         CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS -fomit-frame-pointer}"
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_bindir}
35 install bmv $RPM_BUILD_ROOT%{_bindir}
36 gzip -9nf bmv.{CHANGES,README}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc *.gz
44 %attr(755,root,root) %{_bindir}/bmv
This page took 0.072142 seconds and 3 git commands to generate.