]> git.pld-linux.org Git - packages/bmv.git/commitdiff
- adapted for PLD
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 13 Feb 2001 02:22:06 +0000 (02:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bmv.spec -> 1.1

bmv.spec [new file with mode: 0644]

diff --git a/bmv.spec b/bmv.spec
new file mode 100644 (file)
index 0000000..d08721f
--- /dev/null
+++ b/bmv.spec
@@ -0,0 +1,44 @@
+Summary:       Simple viewer of images (pbm-raw) and front end for GhostScript based on SVGAlib 
+Summary(pl):   Prosta przegl±darka plików graficznych (pbm-raw) oraz frontend do GhostScriptu bazuj±cy na SVGAlib
+Name:          bmv
+Version:       1.2
+Release:       2
+Vendor:                Jan Kybic <kybic@earn.cvut.cz>
+Group:         Applications/Publishing
+Group(de):     Applikationen/Publizieren
+Group(pl):     Aplikacje/Publikowanie
+License:       GPL
+Source0:       ftp://sunsite.unc.edu/pub/Linux/apps/graphics/viewers/svga/%{name}-%{version}.tgz
+Patch0:                %{name}-glibc.patch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: svgalib-devel
+Requires:      ghostscript
+
+%description
+BMV is a front end for GhostScript. Using BMV you can now preview your
+PostScript files comfortably. It uses SVGAlib and it is intended for
+Linux users who cannot run X. It is particulary suitable for
+previewing PS files from dvips. It is small and fast.
+
+%prep
+%setup -q
+%patch -p1
+
+%build
+%{__make} \
+       CC="cc -DCOLOUR" \
+       CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS -fomit-frame-pointer}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install bmv $RPM_BUILD_ROOT%{_bindir}
+gzip -9nf bmv.{CHANGES,README}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_bindir}/bmv
This page took 0.082407 seconds and 4 git commands to generate.