]> git.pld-linux.org Git - packages/cal3d.git/blob - cal3d.spec
- instal soname symlink as %ghost
[packages/cal3d.git] / cal3d.spec
1 Summary:        3d character animation library
2 Summary(hu.UTF-8):      3D karakter animáció könyvtára
3 Summary(pl.UTF-8):      Biblioteka do trójwymiarowej animacji postaci
4 Name:           cal3d
5 Version:        0.11.0
6 Release:        1
7 License:        LGPL
8 Group:          Libraries
9 Source0:        http://download.gna.org/cal3d/sources/%{name}-%{version}.tar.gz
10 # Source0-md5:  82ad09c1c28e73bc9596aec47237bfba
11 Patch0:         %{name}-fixtag.patch
12 Patch1:         %{name}-string.patch
13 URL:            https://gna.org/projects/cal3d/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  docbook-dtd31-sgml
17 BuildRequires:  docbook-utils
18 BuildRequires:  doxygen
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtool
21 BuildRequires:  scrollkeeper
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
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
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.
35
36 %package devel
37 Summary:        Header files for cal3d library
38 Summary(hu.UTF-8):      Fejléc fájlok a cal3d könyvtárhoz
39 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki cal3d
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42
43 %description devel
44 Header files for cal3d library.
45
46 %description devel -l hu.UTF-8
47 Fejléc fájlok a cal3d könyvtárhoz.
48
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe biblioteki cal3d.
51
52 %prep
53 %setup -q
54 #%patch0 -p1
55 %patch1 -p1
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
70 cd ..
71 cp -r docs/api/html api
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
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog README TODO
88 %attr(755,root,root) %{_bindir}/cal3d*
89 %attr(755,root,root) %{_libdir}/libcal3d.so.*.*
90 %attr(755,root,root) %ghost %{_libdir}/libcal3d.so.12
91 %{_mandir}/man1/cal3d*
92
93 %files devel
94 %defattr(644,root,root,755)
95 %doc api docs/guide
96 %attr(755,root,root) %{_libdir}/libcal3d.so
97 %{_libdir}/lib*.la
98 %{_includedir}/%{name}
99 %{_pkgconfigdir}/*.pc
This page took 0.078312 seconds and 3 git commands to generate.