-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy path3ds-utils.spec.in
59 lines (44 loc) · 1.46 KB
/
3ds-utils.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Note that this is NOT a relocatable package
%define ver @LIB3DS_VERSION@
%define prefix /usr
BuildRoot: /tmp/lib3ds-%{PACKAGE_VERSION}-root
Summary: 3DS Viewing and Conversion Utilities
Name: lib3ds-utils
Version: %ver
Release: 1
Copyright: LGPL
Group: Aplpications/Multimedia
Source: http://download.sourceforge.net/lib3ds/lib3ds-%{ver}.tar.gz
URL: http://lib3ds.sourceforge.net
Docdir: %{prefix}/share/doc
%description
Lib3ds is a free alternative to Autodesk's 3DS File Toolkit for handling
3DS files It's main goal is to simplify the creation of 3DS import and
export filters.
This package contains some conversion and viewing utilities.
This project is not related in any form to Autodesk. The library is
based on unofficial information about the 3DS format found on the web.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
The official Lib3ds Homepage can be found under:
http://lib3ds.sourceforge.net
%prep
%setup
%build
./configure --prefix=%{prefix}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING TODO
%{prefix}/bin/*
%{prefix}/man/man1/3dsplayer.1
%{prefix}/man/man1/3ds2m.1
%{prefix}/man/man1/3dsdump.1