]> git.pld-linux.org Git - packages/assimp.git/blob - assimp.spec
- Initial package version, propably needs some touch.
[packages/assimp.git] / assimp.spec
1 Summary:        Open Asset Import Library
2 Name:           assimp
3 Version:        3.1.1
4 Release:        0.1
5 License:        distributable
6 Group:          Libraries
7 Source0:        http://netix.dl.sourceforge.net/project/%{name}/%{name}-3.1/%{name}-%{version}_no_test_models.zip
8 # Source0-md5:  ccd4788204509da58a3a53c7aeda7a8b
9 URL:            http://sourceforge.net/projects/assimp/
10 BuildRequires:  rpmbuild(macros) >= 1.213
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Importer library to import assets from different common 3D file formats
15 such as Collada, Blend, Obj, X, 3DS, LWO, MD5, MD2, MD3, MDL, MS3D
16 and a lot of other formats. The data is stored in an own in-memory
17 data-format, which can be easily processed.
18
19 %package devel
20 Summary:        Header files for assimp
21 Group:          Development/Libraries
22 Requires:       %{name} = %{epoch}:%{version}-%{release}
23
24 %description devel
25 The header files are only needed for development of programs using the
26 assimplibrary.
27
28 %prep
29 %setup -q
30
31 %build
32 mkdir build
33 cd build
34 %cmake \
35         CMAKE_HOME_DIR=/usr \
36         ..
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 cd build
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post   -p /sbin/ldconfig
49 %postun -p /sbin/ldconfig
50
51 %files
52 %defattr(644,root,root,755)
53 %doc CHANGES CREDITS LICENSE README Readme.md
54 %attr(755,root,root) %{_libdir}/libassimp.so.3.1.*
55 %attr(755,root,root) %ghost %{_libdir}/libassimp.so.3
56
57 %files devel
58 %defattr(644,root,root,755)
59 %attr(755,root,root) %{_bindir}/assimp
60 %attr(755,root,root) %{_libdir}/libassimp.so
61 %{_libdir}/cmake/assimp-3.1
62 %{_includedir}/assimp
63 %{_pkgconfigdir}/assimp.pc
64
This page took 0.072407 seconds and 3 git commands to generate.