%{?mingw_package_header} Name: mingw-admesh Version: 0.98.2 Release: 7%{?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 * Fri Jul 13 2018 Fedora Release Engineering - 0.98.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.98.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.98.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.98.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.98.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.98.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri May 22 2015 Miro Hrončok - 0.98.2-1 - Updated to 0.98.2 * Wed Sep 24 2014 Miro Hrončok - 0.98.1-1 - Updated to 0.98.1 * Tue Jul 29 2014 Miro Hrončok - 0.98.0-1 - Initial package