1 Summary: Three-dimensional drawing with MetaPost output
2 Summary(pl.UTF-8): Tworzenie trójwymiarowej grafiki z wyjściem w formacie MetaPost
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 Patch5: %{name}-gcc6.patch
16 URL: http://www.gnu.org/software/3dldf/
18 BuildRequires: ghostscript
19 BuildRequires: gsl-devel
20 BuildRequires: libstdc++-devel
21 BuildRequires: texlive
22 BuildRequires: texlive-fonts-type1-hoekwater
23 BuildRequires: texinfo
24 BuildRequires: texinfo-texi2dvi
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 3DLDF is a package for three-dimensional drawing with MetaPost output.
29 It is intended, among other things, to provide a convenient way of
30 creating 3D graphics for inclusion in TeX documents.
32 %description -l pl.UTF-8
33 3DLF to pakiet do tworzenia trójwymiarowej grafiki z wyjściem w
34 formacie MetaPost. Ma on służyć między innymi do udostępnienia
35 wygodnego sposobu tworzenia grafiki 3D w celu włączenia do dokumentów
48 # only 3dlfb binary uses libs, symbols are messed - no sense in building shared libs
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
59 install -D doc/3dldf.info $RPM_BUILD_ROOT%{_infodir}/3dldf.info
61 # headers not installed
62 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib3dldf*.{la,a}
64 %{__rm} $RPM_BUILD_ROOT%{_bindir}/dummy
67 rm -rf $RPM_BUILD_ROOT
69 %post -p /sbin/postshell
70 -/usr/sbin/fix-info-dir -c %{_infodir}
72 %postun -p /sbin/postshell
73 -/usr/sbin/fix-info-dir -c %{_infodir}
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README
78 %attr(755,root,root) %{_bindir}/3dldf
79 %attr(755,root,root) %{_bindir}/prbsnflx
80 %{_infodir}/3dldf.info*