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