]> git.pld-linux.org Git - packages/admesh.git/blame - admesh.spec
- initial
[packages/admesh.git] / admesh.spec
CommitLineData
a1f5c078
AM
1Summary: Diagnose and/or repair problems with STereo Lithography files
2Name: admesh
3Version: 0.98.2
4Release: 1
5License: GPL v2+
6Group: Applications/Engineering
7URL: http://github.com/admesh/admesh/
8Source0: http://github.com/admesh/admesh/releases/download/v%{version}/%{name}-%{version}.tar.gz
9# Source0-md5: a90692eb6dc5289e95949bbbca3e37e9
10Requires: %{name}-libs%{?_isa} = %{version}-%{release}
11
12%description
13ADMesh is a program for diagnosing and/or repairing commonly
14encountered problems with STL (STereo Lithography) data files. It can
15remove degenerate and unconnected facets, connect nearby facets, fill
16holes by adding facets, and repair facet normals. Simple
17transformations such as scaling, translation and rotation are also
18supported. ADMesh can read both ASCII and binary format STL files,
19while the output can be in AutoCAD DXF, Geomview OFF, STL, or VRML
20format.
21
22%package devel
23Summary: Development files for the %{name} library
24Group: Development/Libraries
25Requires: %{name}-libs = %{version}-%{release}
26
27%description devel
28ADMesh is a program for diagnosing and/or repairing commonly
29encountered problems with STL (STereo Lithography) data files.
30
31This package contains the development files needed for building new
32applications that utilize the %{name} library.
33
34%package libs
35Summary: Runtime library for the %{name} application
36Group: Development/Libraries
37
38%description libs
39This package contains the %{name} runtime library.
40
41%prep
42%setup -q
43
44%build
45%configure \
46 --disable-silent-rules
47%{__make}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
56rm -f $RPM_BUILD_ROOT%{_libdir}/lib%{name}.la
57
58%post libs -p /sbin/ldconfig
59%postun libs -p /sbin/ldconfig
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
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*
70
71%files devel
72%defattr(644,root,root,755)
73%{_includedir}/admesh
74%{_pkgconfigdir}/libadmesh.pc
75%attr(755,root,root) %{_libdir}/lib%{name}.so
76
77%files libs
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.*.*
This page took 0.068449 seconds and 4 git commands to generate.