packages: dxflib/dxflib.spec - release 0.3, - updated %patch, %build, %clea...

cieciwa cieciwa at pld-linux.org
Wed Mar 16 11:02:52 CET 2011


Author: cieciwa                      Date: Wed Mar 16 10:02:52 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- release 0.3,
- updated %patch, %build, %clean, %install, %files.

---- Files affected:
packages/dxflib:
   dxflib.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/dxflib/dxflib.spec
diff -u packages/dxflib/dxflib.spec:1.3 packages/dxflib/dxflib.spec:1.4
--- packages/dxflib/dxflib.spec:1.3	Wed Mar 16 10:22:04 2011
+++ packages/dxflib/dxflib.spec	Wed Mar 16 11:02:47 2011
@@ -1,8 +1,8 @@
-Summary:	XX
-Summary(pl):	Biblioteka do obslugi plikow DXF (AutoCAD)
+Summary:	Open source C++ library mainly for parsing DXFTM files.
+Summary(pl):	Otwarta biblioteka w C++ do obslugi plikow DXF.
 Name:		dxflib
 Version:	2.2.0.0
-Release:	0.1
+Release:	0.3
 License:	GPL
 Group:		Libraries
 Source0:	ftp://anonymous:anonymous@ribbonsoft.com/archives/dxflib/dxflib-%{version}-1.src.tar.gz
@@ -14,7 +14,7 @@
 
 
 %description
-
+dxflib is an open source C++ library mainly for parsing DXFTM files. QCAD, CAM Expert and vec2web all use dxflib to import DXF files. dxflib can also write DXF files, but you need to have good knowledge of the DXF format to produce valid output.
 %description(pl)
 
 %prep
@@ -26,6 +26,26 @@
 %{__autoconf}
 %configure 
 %{__make}
+
+%{__make} -C test
+
 %install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
+	INCDIR=$RPM_BUILD_ROOT%{_includedir}/dxflib
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files
+%defattr(644,root,root,755)
+%{_libdir}/libdxflib.a
+%{_includedir}/dxflib/*.h
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dxflib/dxflib.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list