File: lib3ds.spec.in

package info (click to toggle)
lib3ds 1.3.0-6
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,120 kB
  • sloc: sh: 10,857; ansic: 10,679; makefile: 166; sed: 47
file content (57 lines) | stat: -rw-r--r-- 1,419 bytes parent folder | download | duplicates (6)
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
# Note that this is NOT a relocatable package
%define ver      @LIB3DS_VERSION@
%define prefix   /usr
BuildRoot: /tmp/lib3ds-%{PACKAGE_VERSION}-root

Summary: The 3DS File Format Library
Name: lib3ds
Version: %ver
Release: 1
Copyright: LGPL
Group: Development/Libraries
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 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}/lib/*
%{prefix}/include/lib3ds/*
%{prefix}/share/aclocal/*
%{prefix}/man/man1/lib3ds-config.1