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