1 Summary: Diagnose and/or repair problems with STereo Lithography files
6 Group: Applications/Engineering
7 URL: http://github.com/admesh/admesh/
8 Source0: http://github.com/admesh/admesh/releases/download/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5: a90692eb6dc5289e95949bbbca3e37e9
10 Requires: %{name}-libs%{?_isa} = %{version}-%{release}
13 ADMesh is a program for diagnosing and/or repairing commonly
14 encountered problems with STL (STereo Lithography) data files. It can
15 remove degenerate and unconnected facets, connect nearby facets, fill
16 holes by adding facets, and repair facet normals. Simple
17 transformations such as scaling, translation and rotation are also
18 supported. ADMesh can read both ASCII and binary format STL files,
19 while the output can be in AutoCAD DXF, Geomview OFF, STL, or VRML
23 Summary: Development files for the %{name} library
24 Group: Development/Libraries
25 Requires: %{name}-libs = %{version}-%{release}
28 ADMesh is a program for diagnosing and/or repairing commonly
29 encountered problems with STL (STereo Lithography) data files.
31 This package contains the development files needed for building new
32 applications that utilize the %{name} library.
35 Summary: Runtime library for the %{name} application
36 Group: Development/Libraries
39 This package contains the %{name} runtime library.
46 --disable-silent-rules
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
56 rm -f $RPM_BUILD_ROOT%{_libdir}/lib%{name}.la
58 %post libs -p /sbin/ldconfig
59 %postun libs -p /sbin/ldconfig
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
66 %doc ChangeLog ChangeLog.old README.md AUTHORS
67 %doc %{name}-doc.txt block.stl
68 %attr(755,root,root) %{_bindir}/%{name}
69 %{_mandir}/man1/admesh.1*
72 %defattr(644,root,root,755)
74 %{_pkgconfigdir}/libadmesh.pc
75 %attr(755,root,root) %{_libdir}/lib%{name}.so
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %ghost %{_libdir}/lib%{name}.so.1
80 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*