OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 12-Mar-2003 19:07:47
Branch: HEAD Handle: 2003031218074600
Modified files:
openpkg-src/libwmf libwmf.spec
Log:
flush (BTW removed most of the runtime deps cause I don't see a reason for
them)
Summary:
Revision Changes Path
1.12 +24 -15 openpkg-src/libwmf/libwmf.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/libwmf/libwmf.spec
============================================================================
$ cvs diff -u -r1.11 -r1.12 libwmf.spec
--- openpkg-src/libwmf/libwmf.spec 31 Jan 2003 12:26:03 -0000 1.11
+++ openpkg-src/libwmf/libwmf.spec 12 Mar 2003 18:07:46 -0000 1.12
@@ -23,35 +23,38 @@
## SUCH DAMAGE.
##
+# package versions
+%define V_libwmf 0.2.8
+%define V_ghostscript 8.00
+
# package information
Name: libwmf
-Summary: Windows Metafile Format (WMF) Library
-URL: http://wvware.sourceforge.net/libwmf.html
+Summary: Windows Metafile Format (WMF) conversion library
+URL: http://www.wvware.com/libwmf.html
Vendor: Francis James Franklin
Packager: The OpenPKG Project
Distribution: OpenPKG [PLUS]
Group: Graphics
License: LGPL
-Version: 0.2.8
-Release: 20030114
+Version: %{V_libwmf}
+Release: 20030312
# list of sources
-Source0:
http://osdn.dl.sourceforge.net/sourceforge/wvware/libwmf-%{version}.tar.gz
+Source0:
http://osdn.dl.sourceforge.net/sourceforge/wvware/libwmf-%{V_libwmf}.tar.gz
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20020206, libxml, freetype, zlib, png, jpeg, gd
-PreReq: OpenPKG, openpkg >= 20020206, libxml, freetype, zlib, png, jpeg, gd
+BuildPreReq: OpenPKG, openpkg >= 20020206, X11, make, gcc, libtool, zlib, jpeg,
png, freetype, gd, ghostscript = %{V_ghostscript}, libxml
+PreReq: OpenPKG, openpkg >= 20020206, X11, ghostscript = %{V_ghostscript}
AutoReq: no
AutoReqProv: no
%description
- libwmf is a library for reading vector images in native Windows
- Metafile Format (WMF) and for either (a) displaying them in, e.g.,
- an X window; or (b) converting them to more standard/open file
- formats such as, e.g., the W3C's XML-based Scaleable Vector Graphic
- (SVG) format.
+ Libwmf is a library for reading vector images in Microsoft's native Windows
+ Metafile Format (WMF) and for either displaying them in, e.g., an X window
+ or converting them to more standard/open file formats such as, e.g., the
+ W3C's XML-based Scaleable Vector Graphic (SVG) format.
%prep
%setup -q
@@ -62,12 +65,18 @@
./configure \
--prefix=%{l_prefix} \
--with-docdir=%{l_prefix}/share/libwmf \
- --with-libxml2=%{l_prefix} \
- --with-freetype=%{l_prefix} \
+ --with-x \
+ --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \
+ --x-libraries=`%{l_prefix}/etc/rc --query x11_libdir` \
--with-zlib=%{l_prefix} \
- --with-png=%{l_prefix} \
--with-jpeg=%{l_prefix} \
+ --with-png=%{l_prefix} \
+ --with-freetype=%{l_prefix} \
--with-sys-gd=%{l_prefix} \
+ --with-gsfontmap=%{l_prefix}/share/ghostscript/%{V_ghostscript}/lib/Fontmap
\
+ --with-gsfontdir=%{l_prefix}/share/ghostscript/fonts \
+ --with-libxml2=%{l_prefix} \
+ --enable-static \
--disable-shared
%{l_make} %{l_mflags -O}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]