[libdxfrw] initial package
Tom Callaway
spot at fedoraproject.org
Wed Apr 24 19:52:18 UTC 2013
commit 8b0364a13c4cd5e5c48bfb860f7e38b87e0c1a31
Author: Tom Callaway <spot at fedoraproject.org>
Date: Wed Apr 24 15:51:41 2013 -0400
initial package
.gitignore | 1 +
libdxfrw.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f1da008 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libdxfrw-0.5.7.tar.bz2
diff --git a/libdxfrw.spec b/libdxfrw.spec
new file mode 100644
index 0000000..343fdd3
--- /dev/null
+++ b/libdxfrw.spec
@@ -0,0 +1,50 @@
+Name: libdxfrw
+Version: 0.5.7
+Release: 2%{?dist}
+Summary: Library to read/write DXF files
+License: GPLv2+
+URL: http://sourceforge.net/p/libdxfrw/home/Home/
+Source0: http://downloads.sourceforge.net/project/libdxfrw/%{name}-%{version}.tar.bz2
+
+%description
+libdxfrw is a free C++ library to read and write DXF files in both formats,
+ASCII and binary form.
+
+%package devel
+Summary: Development files for libdxfrw
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Development files for libdxfrw.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot} INSTALL="/usr/bin/install -c -p"
+rm -rf %{buildroot}%{_libdir}/*.la
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%doc AUTHORS ChangeLog COPYING README
+%{_libdir}/*.so.*
+
+%files devel
+%{_includedir}/libdxfrw0
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libdxfrw0.pc
+
+%changelog
+* Wed Apr 24 2013 Tom Callaway <spot at fedoraproject.org> - 0.5.7-2
+- drop empty NEWS and TODO files
+- force INSTALL to use -p to preseve timestamps
+
+* Sun Feb 24 2013 Tom Callaway <spot at fedoraproject.org> - 0.5.7-1
+- initial package
diff --git a/sources b/sources
index e69de29..d66155e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1a43f4be6881d381a31a1e41bb4dc0cd libdxfrw-0.5.7.tar.bz2
More information about the scm-commits
mailing list