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