]> git.pld-linux.org Git - packages/assimp.git/blob - assimp.spec
up to 5.2.5
[packages/assimp.git] / assimp.spec
1 Summary:        Open Asset Import Library
2 Summary(pl.UTF-8):      Asset Import - otwarta biblioteka do importu danych trójwymiarowych
3 Name:           assimp
4 Version:        3.1.1
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/assimp/%{name}-%{version}_no_test_models.zip
9 # Source0-md5:  ccd4788204509da58a3a53c7aeda7a8b
10 URL:            http://sourceforge.net/projects/assimp/
11 BuildRequires:  cmake >= 2.6
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  minizip-devel
14 BuildRequires:  pkgconfig
15 BuildRequires:  rpmbuild(macros) >= 1.213
16 BuildRequires:  unzip
17 BuildRequires:  zlib-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Importer library to import assets from different common 3D file
22 formats such as Collada, Blend, Obj, X, 3DS, LWO, MD5, MD2, MD3, MDL,
23 MS3D and a lot of other formats. The data is stored in an own
24 in-memory data-format, which can be easily processed.
25
26 %description -l pl.UTF-8
27 Biblioteka importująca służąca do odczytu danych trójwymiarowych
28 (assets) z różnych popularnych formatów plików, takich jak Collada,
29 Blend, Obj, X, 3DS, LWO, MD5, MD2, MD3, MDL, MS3D i innych. Dane są
30 przechowywane w pamięci, we własnym formacie, który można łatwo
31 przetworzyć.
32
33 %package devel
34 Summary:        Header files for assimp library
35 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki assimp
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38
39 %description devel
40 The header files needed for development of programs using the assimp
41 library.
42
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe niezbędne do tworzenia programów wykorzystujących
45 bibliotekę assimp.
46
47 %prep
48 %setup -q
49
50 %build
51 install -d build
52 cd build
53 %cmake .. \
54         -DASSIMP_LIB_INSTALL_DIR:PATH=%{_lib}
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 %{__make} -C build install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %doc CHANGES CREDITS LICENSE Readme.md
72 %attr(755,root,root) %{_libdir}/libassimp.so.*.*.*
73 %attr(755,root,root) %ghost %{_libdir}/libassimp.so.3
74
75 %files devel
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/assimp
78 %attr(755,root,root) %{_libdir}/libassimp.so
79 %{_libdir}/cmake/assimp-3.1
80 %{_includedir}/assimp
81 %{_pkgconfigdir}/assimp.pc
This page took 0.098092 seconds and 3 git commands to generate.