]>
Commit | Line | Data |
---|---|---|
f4c86d93 | 1 | Summary: 3d character animation library |
84926d0b | 2 | Summary(pl.UTF-8): Biblioteka do trójwymiarowej animacji postaci |
f4c86d93 | 3 | Name: cal3d |
91b3cd2b | 4 | Version: 0.11.0 |
ee7af7fc | 5 | Release: 1 |
f4c86d93 | 6 | License: LGPL |
7 | Group: Libraries | |
91b3cd2b RT |
8 | Source0: http://download.gna.org/cal3d/sources/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 82ad09c1c28e73bc9596aec47237bfba | |
cfc092bc | 10 | Patch0: %{name}-fixtag.patch |
be059ffc | 11 | Patch1: %{name}-string.patch |
91b3cd2b | 12 | URL: https://gna.org/projects/cal3d/ |
f4c86d93 | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
9bfe1e3a | 15 | BuildRequires: docbook-dtd31-sgml |
f4c86d93 | 16 | BuildRequires: docbook-utils |
17 | BuildRequires: doxygen | |
3a897567 | 18 | BuildRequires: libstdc++-devel |
f4c86d93 | 19 | BuildRequires: libtool |
8a89e9c7 | 20 | BuildRequires: scrollkeeper |
f4c86d93 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | Cal3d is a 3d character animation library written in C++ in a | |
25 | platform-/graphic API-independent way. | |
26 | ||
1d58c746 JR |
27 | %description -l pl.UTF-8 |
28 | Cal3d jest biblioteką do trójwymiarowej animacji postaci napisaną w | |
29 | C++ w sposób niezależny od architektury. | |
f4c86d93 | 30 | |
31 | %package devel | |
32 | Summary: Header files for cal3d library | |
84926d0b | 33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki cal3d |
f4c86d93 | 34 | Group: Development/Libraries |
f941d9f0 | 35 | Requires: %{name} = %{version}-%{release} |
f4c86d93 | 36 | |
37 | %description devel | |
38 | Header files for cal3d library. | |
39 | ||
1d58c746 JR |
40 | %description devel -l pl.UTF-8 |
41 | Pliki nagłówkowe biblioteki cal3d. | |
f4c86d93 | 42 | |
43 | %prep | |
ee7af7fc | 44 | %setup -q |
91b3cd2b | 45 | #%patch0 -p1 |
be059ffc | 46 | %patch1 -p1 |
f4c86d93 | 47 | |
48 | %build | |
49 | rm -f acinclude.m4 | |
50 | %{__aclocal} | |
51 | %{__libtoolize} | |
52 | %{__autoheader} | |
53 | %{__autoconf} | |
54 | %{__automake} | |
55 | %configure | |
56 | %{__make} | |
57 | ||
58 | cd docs | |
59 | %{__make} doc-api | |
60 | %{__make} doc-guide | |
ee7af7fc JK |
61 | cd .. |
62 | cp -r docs/api/html api | |
f4c86d93 | 63 | |
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
ee7af7fc | 75 | %doc AUTHORS ChangeLog README TODO |
91b3cd2b | 76 | %attr(755,root,root) %{_bindir}/cal3d* |
671b8346 | 77 | %attr(755,root,root) %{_libdir}/libcal3d.so.* |
91b3cd2b | 78 | %{_mandir}/man1/cal3d* |
f4c86d93 | 79 | |
80 | %files devel | |
81 | %defattr(644,root,root,755) | |
91b3cd2b | 82 | %doc api docs/guide |
f4c86d93 | 83 | %attr(755,root,root) %{_libdir}/libcal3d.so |
84 | %{_libdir}/lib*.la | |
85 | %{_includedir}/%{name} | |
86 | %{_pkgconfigdir}/*.pc |