[mingw-admesh] Initial import (#1124543)

Miro Hrončok churchyard at fedoraproject.org
Wed Sep 3 14:07:36 UTC 2014


commit a8386c8afa12678aca73207a60f741c26ded0f6e
Author: Miro Hrončok <miro at hroncok.cz>
Date:   Wed Sep 3 16:07:19 2014 +0200

    Initial import (#1124543)

 .gitignore        |    1 +
 mingw-admesh.spec |  113 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 115 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b0e4209 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/admesh-0.98.0.tar.gz
diff --git a/mingw-admesh.spec b/mingw-admesh.spec
new file mode 100644
index 0000000..a037080
--- /dev/null
+++ b/mingw-admesh.spec
@@ -0,0 +1,113 @@
+%{?mingw_package_header}
+Name:           mingw-admesh
+Version:        0.98.0
+Release:        1%{?dist}
+Summary:        MinGW compiled ADMesh
+
+License:        GPLv2+
+
+URL:            http://github.com/admesh/admesh/
+Source0:        http://github.com/admesh/admesh/releases/download/v%{version}/admesh-%{version}.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw64-gcc
+
+%description
+MinGW compiled ADMesh. ADMesh is a program for diagnosing and/or repairing
+commonly encountered problems with STL (STereo Lithography) data files.
+
+
+%package -n mingw32-admesh
+Summary:       MinGW compiled ADMesh for the Win32 target
+
+%description -n mingw32-admesh
+MinGW compiled ADMesh for the Win32 target.
+
+ADMesh is a program for diagnosing and/or repairing commonly encountered
+problems with STL (STereo Lithography) data files.
+
+%package -n mingw32-admesh-static
+Summary:       Static version of the MinGW Win32 compiled ADMesh
+Requires:      mingw32-admesh = %{version}-%{release}
+
+%description -n mingw32-admesh-static
+Static version of the MinGW compiled ADMesh for the Win32 target.
+
+ADMesh is a program for diagnosing and/or repairing commonly encountered
+problems with STL (STereo Lithography) data files.
+
+# Win64
+%package -n mingw64-admesh
+Summary:       MinGW compiled ADMesh for the Win64 target
+
+%description -n mingw64-admesh
+MinGW compiled ADMesh for the Win64 target.
+
+ADMesh is a program for diagnosing and/or repairing commonly encountered
+problems with STL (STereo Lithography) data files.
+
+%package -n mingw64-admesh-static
+Summary:       Static version of the MinGW Win64 compiled ADMesh
+Requires:      mingw64-admesh = %{version}-%{release}
+
+%description -n mingw64-admesh-static
+Static version of the MinGW compiled ADMesh for the Win64 target.
+
+ADMesh is a program for diagnosing and/or repairing commonly encountered
+problems with STL (STereo Lithography) data files.
+
+
+%{?mingw_debug_package}
+
+
+%prep
+%setup -q -n admesh-%{version}
+
+
+%build
+%mingw_configure --enable-static
+%mingw_make %{?_smp_mflags} LIBTOOLFLAGS="-v"
+
+
+%install
+%mingw_make_install DESTDIR=%{buildroot}
+
+rm -rf %{buildroot}%{mingw64_datadir}
+rm -rf %{buildroot}%{mingw32_datadir}
+
+# Libtool files don't need to be bundled
+find %{buildroot} -name "*.la" -delete
+
+
+# Win32
+%files -n mingw32-admesh
+%doc ChangeLog ChangeLog.old COPYING README.md AUTHORS
+%doc admesh-doc.txt block.stl
+%{mingw32_bindir}/libadmesh-1.dll
+%{mingw32_bindir}/admesh.exe
+%{mingw32_includedir}/admesh/
+%{mingw32_libdir}/libadmesh.dll.a
+%{mingw32_libdir}/pkgconfig/libadmesh.pc
+
+%files -n mingw32-admesh-static
+%doc COPYING AUTHORS
+%{mingw32_libdir}/libadmesh.a
+
+# Win64
+%files -n mingw64-admesh
+%doc ChangeLog ChangeLog.old COPYING README.md AUTHORS
+%doc admesh-doc.txt block.stl
+%{mingw64_bindir}/libadmesh-1.dll
+%{mingw64_bindir}/admesh.exe
+%{mingw64_includedir}/admesh/
+%{mingw64_libdir}/libadmesh.dll.a
+%{mingw64_libdir}/pkgconfig/libadmesh.pc
+
+%files -n mingw64-admesh-static
+%doc COPYING AUTHORS
+%{mingw64_libdir}/libadmesh.a
+
+%changelog
+* Tue Jul 29 2014 Miro Hrončok <mhroncok at redhat.com> - 0.98.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..4390674 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e88903f8ef7b853093642ddc3a5847fc  admesh-0.98.0.tar.gz


More information about the scm-commits mailing list