SPECS: varkon.spec - updated to 1.19D, updated patch

chomar chomar at pld-linux.org
Fri Apr 17 14:10:15 CEST 2009


Author: chomar                       Date: Fri Apr 17 12:10:15 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.19D, updated patch

---- Files affected:
SPECS:
   varkon.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/varkon.spec
diff -u SPECS/varkon.spec:1.13 SPECS/varkon.spec:1.14
--- SPECS/varkon.spec:1.13	Mon Feb 12 23:09:19 2007
+++ SPECS/varkon.spec	Fri Apr 17 14:10:10 2009
@@ -2,29 +2,39 @@
 Summary:	VARKON - a free CAD system
 Summary(pl.UTF-8):	VARKON - ogolnodostępny program typu CAD
 Name:		varkon
-Version:	1.17D
+Version:	1.19D
 Release:	1
 License:	GPL
 Group:		Applications/Engineering
-#Source0Download: http://www.tech.oru.se/cad/varkon/sources.htm
-Source0:	http://www.tech.oru.se/cad/varkon/pub/linux/%{name}_sources_%{version}.tar.gz
-# Source0-md5:	4a7e4573cc525b9e39428df6f97c036f
-Source1:	http://www.tech.oru.se/cad/varkon/v_man.zip
-# Source1-md5:	9bb474690c3c778fb361f2e487737ae3
-Source2:	http://www.tech.oru.se/cad/varkon/m_man.zip
-# Source2-md5:	95471415f387326ea105ea068a6bb175
-Source3:	%{name}-run
+Source0:	http://dfn.dl.sourceforge.net/sourceforge/%{name}/%{_name}_sources_%{version}.tar.gz
+# Source0-md5:	1bbdf0c1b29393aa3bbaaccda43b21bc
+Source1:	%{name}-run
 Patch0:		%{name}-make.patch
+Patch1:		%{name}-h_addr.patch
 URL:		http://www.tech.oru.se/cad/varkon/
 BuildRequires:	OpenGL-devel
-BuildRequires:	XFree86-devel
-BuildRequires:	unzip
+BuildRequires:	OpenGL-GLU-devel
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xorg-lib-libXext-devel
+BuildRequires:	xorg-lib-libXpm-devel
+BuildRequires:	xorg-lib-libXxf86vm-devel
+BuildRequires:	libtiff-devel
+BuildRequires:	libjpeg-devel
+BuildRequires:	zlib-devel
 Requires:	OpenGL
+Requires:	xorg-lib-libX11
+Requires:	xorg-lib-libXext
+Requires:	xorg-lib-libXpm
+Requires:	xorg-lib-libXxf86vm
+Requires:	libtiff
+Requires:	libjpeg
+Requires:	zlib
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_noautoreqdep	libGL.so.1 libGLU.so.1
 # /usr/lib/varkon used in varkon-run
 %define		_libdir		%{_prefix}/lib
+%define		_name	Varkon
 
 %description
 VARKON - a free CAD system and high level development tool for
@@ -40,13 +50,9 @@
 Pakiet zawiera dokumentację.
 
 %prep
-%setup -q -n %{name}_%{version}
+%setup -q -n %{_name}_%{version}
 %patch0 -p1
-
-mkdir man
-cd man
-unzip -q %{SOURCE1}
-unzip -n -q %{SOURCE2}
+%patch1 -p1
 
 %build
 CC="%{__cc}"
@@ -55,13 +61,13 @@
 VARKON_ROOT="`pwd`"
 export CC OPTFLAGS LDFLAGS VARKON_ROOT
 cd sources
-./make_varkon
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/varkon}
 
-install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/varkon
+install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/varkon
 cp -pr bin cnf erm lib man mdf $RPM_BUILD_ROOT%{_libdir}/varkon
 
 %clean
@@ -75,6 +81,7 @@
 %attr(755,root,root) %{_libdir}/varkon/bin/*
 %dir %{_libdir}/varkon/cnf
 %{_libdir}/varkon/cnf/fnt
+%{_libdir}/varkon/cnf/snd
 %{_libdir}/varkon/cnf/icons
 %dir %{_libdir}/varkon/cnf/ini
 %{_libdir}/varkon/cnf/ini/english
@@ -95,6 +102,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2009/04/17 12:10:10  chomar
+- updated to 1.19D, updated patch
+
 Revision 1.13  2007/02/12 22:09:19  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/varkon.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list