]> git.pld-linux.org Git - packages/3DLDF.git/blame - 3DLDF.spec
- added gcc 5 fixes from Debian
[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
359ef529 5Release: 5
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
b7dba049
JB
15URL: http://www.gnu.org/software/3dldf/
16# ps2pdf
17BuildRequires: ghostscript
18BuildRequires: gsl-devel
741b659d 19BuildRequires: libstdc++-devel
b7dba049
JB
20BuildRequires: texlive
21BuildRequires: texlive-fonts-type1-hoekwater
741b659d 22BuildRequires: texinfo
b7dba049 23BuildRequires: texinfo-texi2dvi
741b659d
JB
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
273DLDF is a package for three-dimensional drawing with MetaPost output.
28It is intended, among other things, to provide a convenient way of
29creating 3D graphics for inclusion in TeX documents.
30
772fdad3
JR
31%description -l pl.UTF-8
323DLF to pakiet do tworzenia trójwymiarowej grafiki z wyjściem w
33formacie MetaPost. Ma on służyć między innymi do udostępnienia
34wygodnego sposobu tworzenia grafiki 3D w celu włączenia do dokumentów
741b659d
JB
35w TeXu.
36
37%prep
38%setup -q
39%patch0 -p1
359ef529
JR
40%patch1 -p1
41%patch2 -p1
42%patch3 -p1
43%patch4 -p1
741b659d
JB
44
45%build
b7dba049
JB
46# only 3dlfb binary uses libs, symbols are messed - no sense in building shared libs
47%configure \
48 --disable-shared
e94c89f1 49%{__make} -j1
741b659d
JB
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
b7dba049
JB
57install -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
741b659d
JB
64%clean
65rm -rf $RPM_BUILD_ROOT
66
b7dba049 67%post -p /sbin/postshell
b98b9580 68-/usr/sbin/fix-info-dir -c %{_infodir}
741b659d 69
b7dba049 70%postun -p /sbin/postshell
b98b9580 71-/usr/sbin/fix-info-dir -c %{_infodir}
741b659d
JB
72
73%files
74%defattr(644,root,root,755)
b7dba049
JB
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.101021 seconds and 4 git commands to generate.