John C. Peterson dd2d1a6
Name:           admesh
5b50d6b
Version:        0.98.4
1c7096e
Release:        4%{?dist}
John C. Peterson dd2d1a6
Summary:        Diagnose and/or repair problems with STereo Lithography files
John C. Peterson dd2d1a6
License:        GPLv2+
9150999
URL:            http://github.com/admesh/admesh/
9150999
Source0:        http://github.com/admesh/admesh/releases/download/v%{version}/admesh-%{version}.tar.gz
c15f2a2
BuildRequires:  gcc
ad5458d
BuildRequires: make
John C. Peterson dd2d1a6
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%description
John C. Peterson dd2d1a6
ADMesh is a program for diagnosing and/or repairing commonly encountered
John C. Peterson dd2d1a6
problems with STL (STereo Lithography) data files. It can remove degenerate
John C. Peterson dd2d1a6
and unconnected facets, connect nearby facets, fill holes by adding facets,
John C. Peterson dd2d1a6
and repair facet normals. Simple transformations such as scaling,
John C. Peterson dd2d1a6
translation and rotation are also supported. ADMesh can read both
John C. Peterson dd2d1a6
ASCII and binary format STL files, while the output can be in
John C. Peterson dd2d1a6
AutoCAD DXF, Geomview OFF, STL, or VRML format.
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%package devel
John C. Peterson dd2d1a6
Summary:        Development files for the %{name} library
John C. Peterson dd2d1a6
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%description devel
John C. Peterson dd2d1a6
ADMesh is a program for diagnosing and/or repairing commonly encountered
John C. Peterson dd2d1a6
problems with STL (STereo Lithography) data files.
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
This package contains the development files needed for building new
John C. Peterson dd2d1a6
applications that utilize the %{name} library.
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%package libs
John C. Peterson dd2d1a6
Summary:        Runtime library for the %{name} application
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%description libs
John C. Peterson dd2d1a6
This package contains the %{name} runtime library.
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%prep
John C. Peterson dd2d1a6
%setup -q
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%build
John C. Peterson dd2d1a6
%configure
John C. Peterson dd2d1a6
# Pass the -v option to libtool so we can better see what's going on
John C. Peterson dd2d1a6
make %{?_smp_mflags} CFLAGS="%{optflags}" LIBTOOLFLAGS="-v"
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%install
John C. Peterson dd2d1a6
%{make_install}
John C. Peterson dd2d1a6
# Remove the documentation installed by "make install" (rpm will handle that)
John C. Peterson dd2d1a6
rm -rf %{buildroot}%{_defaultdocdir}/%{name}
John C. Peterson dd2d1a6
# Remove the libtool archive installed by "make install"
John C. Peterson dd2d1a6
rm -f %{buildroot}%{_libdir}/lib%{name}.la
John C. Peterson dd2d1a6
aabab0b
%ldconfig_scriptlets libs
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%files
1ed1760
%doc ChangeLog ChangeLog.old COPYING README.md AUTHORS
1ed1760
%doc %{name}-doc.txt block.stl
John C. Peterson dd2d1a6
%{_bindir}/%{name}
John C. Peterson dd2d1a6
%{_mandir}/man1/*
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%files devel
5b50d6b
%dir %{_includedir}/admesh/
5b50d6b
%{_includedir}/admesh/stl.h
John C. Peterson dd2d1a6
%{_libdir}/lib%{name}.so
John C. Peterson dd2d1a6
%{_libdir}/pkgconfig/*
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%files libs
1ed1760
%doc COPYING AUTHORS
31cbf50
%{_libdir}/lib%{name}.so.1*
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
%changelog
1c7096e
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.4-4
1c7096e
- Second attempt - Rebuilt for
1c7096e
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1c7096e
ed65312
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.4-3
ed65312
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ed65312
6cfb686
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.4-2
6cfb686
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6cfb686
5b50d6b
* Sat Oct 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.98.4-1
5b50d6b
- Update to 0.98.4
5b50d6b
8dbb8b4
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.3-5
8dbb8b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8dbb8b4
1f7b7a4
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.3-4
1f7b7a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1f7b7a4
6ccf770
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.3-3
6ccf770
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6ccf770
3610048
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.3-2
3610048
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3610048
cf99b40
* Mon Sep 18 2017 Miro Hrončok <mhroncok@redhat.com> - 0.98.3-1
cf99b40
- Updated to 0.98.3
cf99b40
93208e6
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.2-6
93208e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
93208e6
e7960fd
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.2-5
e7960fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e7960fd
3129376
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.2-4
3129376
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3129376
f6aac21
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.2-3
f6aac21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f6aac21
adced70
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98.2-2
adced70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
adced70
64dea2a
* Fri May 22 2015 Miro Hrončok <mhroncok@redhat.com> - 0.98.2-1
64dea2a
- Updated to 0.98.2
64dea2a
8c4af59
* Tue Sep 23 2014 Miro Hrončok <mhroncok@redhat.com> - 0.98.1-1
8c4af59
- Updated to 0.98.1
8c4af59
de2236e
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98.0-2
de2236e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
de2236e
6ac2843
* Tue Jul 29 2014 Miro Hrončok <mhroncok@redhat.com> - 0.98.0-1
6ac2843
- Update to 0.98.0
6ac2843
2b694bd
* Sun Jun 29 2014 Miro Hrončok <mhroncok@redhat.com> - 0.97.5-1
2b694bd
- Update to 0.97.5
2b694bd
1ed1760
* Sun Jun 29 2014 Miro Hrončok <mhroncok@redhat.com> - 0.97.4-1
1ed1760
- Update to 0.97.4
1ed1760
415ab89
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.97.2-2
415ab89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
415ab89
John C. Peterson dd2d1a6
* Wed Oct 23 2013 John C. Peterson <jcp[at]eskimo.com> - 0.97.2-1
John C. Peterson dd2d1a6
- Fixed the post and postun scriptlets (needed only for the libs subpackage)
John C. Peterson dd2d1a6
- Fixed the requires for the devel package (namely the libs subpackage)
John C. Peterson dd2d1a6
- Added the license file to the docs of the libs package
John C. Peterson dd2d1a6
- Fixed the inconsistent use of spaces vs. tabs
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
* Tue Oct 22 2013 John C. Peterson <jcp[at]eskimo.com> - 0.97.2-1
John C. Peterson dd2d1a6
- Added a README.Fedora file. It references the Masters Thesis associated with
John C. Peterson dd2d1a6
  the source code (because it can't be packaged due to an ambiguous copyright)
John C. Peterson dd2d1a6
- Moved the versioned runtime libraries to a libs subpackage
John C. Peterson dd2d1a6
- Modified the install section to use the make_install macro
John C. Peterson dd2d1a6
- Some minor additions to the package descriptions
John C. Peterson dd2d1a6
- Removed some extraneous info from the changelog
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
* Mon Oct 21 2013 John C. Peterson <jcp[at]eskimo.com> - 0.97.2-1
John C. Peterson dd2d1a6
- Switched over to a fork of admesh that is being actively maintained.
John C. Peterson dd2d1a6
John C. Peterson dd2d1a6
* Sun Sep 15 2013 John C. Peterson <jcp[at]eskimo.com> - 0.97.2-1
John C. Peterson dd2d1a6
- Initial spec file (for code from http://www.varlog.com/admesh-htm).
John C. Peterson dd2d1a6