package created by silvan using the webbuild interface [release 3.10a-1mamba;Fri Feb 01 2013]

This commit is contained in:
Silvan Calarco 2024-01-05 19:57:43 +01:00
parent ccb3ace418
commit e43834c561
3 changed files with 84 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# xv # xv
xv is an interactive image manipulation program for the X Window System. It can operate on images in the GIF, JPEG, TIFF, PBM, PGM, PPM, XPM, X11 bitmap, Sun Rasterfile, Targa, RLE, RGB, BMP, PCX, FITS, and PM formats on all known types of X displays. It can generate PostScript files, and if you have ghostscript (version 2.6 or above) installed on your machine, it can also display them.

24
xv-3.10a-glibc-2.13.patch Normal file
View File

@ -0,0 +1,24 @@
--- xv-3.10a/tiff/Makefile.ewt Thu Aug 29 16:42:28 1996
+++ xv-3.10a/tiff/Makefile Thu Aug 29 16:42:33 1996
@@ -36,7 +36,7 @@
IPATH= -I.
COPTS= -O
-CFLAGS= ${COPTS} ${IPATH}
+CFLAGS= ${COPTS} ${IPATH} -D_BSD_SOURCE
INCS= tiff.h tiffio.h
--- xv-3.10a/xv.h.ewt Thu Aug 29 16:44:24 1996
+++ xv-3.10a/xv.h Thu Aug 29 16:44:46 1996
@@ -114,8 +114,8 @@
#ifndef VMS
# include <errno.h>
- extern int errno; /* SHOULD be in errno.h, but often isn't */
-# ifndef __NetBSD__
+# if !defined(__NetBSD__) && !defined(__GNU_LIBRARY__)
+ extern int errno; /* SHOULD be in errno.h, but often isn't */
extern char *sys_errlist[]; /* this too... */
# endif
#endif

58
xv.spec Normal file
View File

@ -0,0 +1,58 @@
Name: xv
Version: 3.10a
Release: 1mamba
Summary: An interactive image manipulation program for the X Window System
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.trilon.com/xv/
Source: ftp://ftp.trilon.com/pub/xv/xv-%{version}.tar.gz
Patch0: xv-3.10a-glibc-2.13.patch
License: Distributable
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
xv is an interactive image manipulation program for the X Window System. It can operate on images in the GIF, JPEG, TIFF, PBM, PGM, PPM, XPM, X11 bitmap, Sun Rasterfile, Targa, RLE, RGB, BMP, PCX, FITS, and PM formats on all known types of X displays. It can generate PostScript files, and if you have ghostscript (version 2.6 or above) installed on your machine, it can also display them.
%debug_package
%prep
%setup -q
%patch0 -p1
%build
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}{%{_bindir},%{_mandir}/man1,%{_libdir}}
%makeinstall \
BINDIR=%{buildroot}%{_bindir} \
MANDIR=%{buildroot}%{_mandir}/man1 \
LIBDIR=%{buildroot}%{_libdir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/bggen
%{_bindir}/vdcomp
%{_bindir}/xcmap
%{_bindir}/xv
%{_bindir}/xvpictoppm
%{_libdir}/xvdocs.ps
%{_mandir}/man1/bggen.1.gz
%{_mandir}/man1/vdcomp.1.gz
%{_mandir}/man1/xcmap.1.gz
%{_mandir}/man1/xv.1.gz
%{_mandir}/man1/xvpictoppm.1.gz
%changelog
* Fri Feb 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10a-1mamba
- package created by silvan using the webbuild interface