]> git.pld-linux.org Git - packages/aqsis.git/blob - aqsis.spec
- added link patch, fixed libtool issues, separated -devel
[packages/aqsis.git] / aqsis.spec
1 Summary:        Aqsis Rendering System
2 Summary(pl):    System renderuj±cy Aqsis
3 Name:           aqsis
4 Version:        0.9.0
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications/Graphics
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  c4b3bb773f2016d24ec5659b43fa50cf
10 Patch0:         %{name}-link.patch
11 URL:            http://aqsis.sourceforge.net/
12 BuildRequires:  OpenGL-devel
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  automake
15 BuildRequires:  glut-devel
16 BuildRequires:  libjpeg-devel
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libtiff-devel
19 BuildRequires:  libtool >= 2:1.5
20 BuildRequires:  log4cpp-devel
21 BuildRequires:  zlib-devel
22 Provides:       renderman-engine
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 The Aqsis Rendering System consists of a set of libraries and
27 applications for creating high-quality computer imagery using the
28 Pixar RenderMan Interface.
29
30 %description -l pl
31 System renderuj±cy Aqsis sk³ada siê z zestawu bibliotek i programów do
32 tworzenia wysokiej jako¶ci obrazów komputerowych z u¿yciem interfejsu
33 RenderMan firmy Pixar.
34
35 %package devel
36 Summary:        Header files for Aqsis Rendering System
37 Summary(pl):    Pliki nag³ówkowe systemu renderuj±cego Aqsis
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       libstdc++-devel
41 Requires:       libtiff-devel
42 Requires:       log4cpp-devel
43 Requires:       zlib-devel
44
45 %description devel
46 Header files for Aqsis Rendering System.
47
48 %description devel -l pl
49 Pliki nag³ówkowe systemu renderuj±cego Aqsis.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54
55 # kill libtool.m4 - extract HAVE_LIBTIFF, HAVE_LIBZLIB, MDL_HAVE_OPENGL
56 head -n 48 acinclude.m4 > acinc.tmp
57 tail -n +3787 acinclude.m4 >> acinc.tmp
58 mv -f acinc.tmp acinclude.m4
59
60 %build
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__autoheader}
65 %{__automake}
66 %configure \
67         --disable-log4cpptest
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*.la
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc AUTHORS ChangeLog README
87 %attr(755,root,root) %{_bindir}/*
88 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
89 %dir %{_libdir}/%{name}
90 %{_libdir}/%{name}/lib*.so*
91 %{_datadir}/%{name}
92 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ddmsock.ini
93
94 %files devel
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/lib*.so
97 %{_libdir}/lib*.la
98 %{_includedir}/%{name}
This page took 0.04086 seconds and 4 git commands to generate.