]> git.pld-linux.org Git - packages/3DLDF.git/blob - 3DLDF.spec
- added gcc 5 fixes from Debian
[packages/3DLDF.git] / 3DLDF.spec
1 Summary:        Three-dimensional drawing with MetaPost output
2 Summary(pl.UTF-8):      Tworzenie trójwymiarowej grafiki z wyjściem w formacie MetaPost
3 Name:           3DLDF
4 Version:        2.0.3
5 Release:        5
6 License:        GPL v2+
7 Group:          Applications/Graphics
8 Source0:        http://ftp.gnu.org/gnu/3dldf/%{name}-%{version}.tar.gz
9 # Source0-md5:  5e669f4efd3d576d42308ba61619a63f
10 Patch0:         %{name}-info.patch
11 Patch1:         upstream-cleanup-permissive_cxx_code.patch
12 Patch2:         upstream-gcc-init_priority.patch
13 Patch3:         upstream-sys-std_numeric_limits.patch
14 Patch4:         upstream-w2help2man.patch
15 URL:            http://www.gnu.org/software/3dldf/
16 # ps2pdf
17 BuildRequires:  ghostscript
18 BuildRequires:  gsl-devel
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  texlive
21 BuildRequires:  texlive-fonts-type1-hoekwater
22 BuildRequires:  texinfo
23 BuildRequires:  texinfo-texi2dvi
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 3DLDF is a package for three-dimensional drawing with MetaPost output.
28 It is intended, among other things, to provide a convenient way of
29 creating 3D graphics for inclusion in TeX documents.
30  
31 %description -l pl.UTF-8
32 3DLF to pakiet do tworzenia trójwymiarowej grafiki z wyjściem w
33 formacie MetaPost. Ma on służyć między innymi do udostępnienia
34 wygodnego sposobu tworzenia grafiki 3D w celu włączenia do dokumentów
35 w TeXu.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 %patch1 -p1
41 %patch2 -p1
42 %patch3 -p1
43 %patch4 -p1
44
45 %build
46 # only 3dlfb binary uses libs, symbols are messed - no sense in building shared libs
47 %configure \
48         --disable-shared
49 %{__make} -j1
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install -D doc/3dldf.info $RPM_BUILD_ROOT%{_infodir}/3dldf.info
58
59 # headers not installed
60 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib3dldf*.{la,a}
61 # too common name
62 %{__rm} $RPM_BUILD_ROOT%{_bindir}/dummy
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/postshell
68 -/usr/sbin/fix-info-dir -c %{_infodir}
69
70 %postun -p /sbin/postshell
71 -/usr/sbin/fix-info-dir -c %{_infodir}
72
73 %files
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog NEWS README
76 %attr(755,root,root) %{_bindir}/3dldf
77 %attr(755,root,root) %{_bindir}/prbsnflx
78 %{_infodir}/3dldf.info*
This page took 0.110554 seconds and 3 git commands to generate.