]> git.pld-linux.org Git - packages/3DLDF.git/blame - 3DLDF.spec
- updated to 2.0.3
[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
741b659d
JB
5Release: 1
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
b7dba049
JB
11URL: http://www.gnu.org/software/3dldf/
12# ps2pdf
13BuildRequires: ghostscript
14BuildRequires: gsl-devel
741b659d 15BuildRequires: libstdc++-devel
b7dba049
JB
16BuildRequires: texlive
17BuildRequires: texlive-fonts-type1-hoekwater
741b659d 18BuildRequires: texinfo
b7dba049 19BuildRequires: texinfo-texi2dvi
741b659d
JB
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
233DLDF is a package for three-dimensional drawing with MetaPost output.
24It is intended, among other things, to provide a convenient way of
25creating 3D graphics for inclusion in TeX documents.
26
772fdad3
JR
27%description -l pl.UTF-8
283DLF to pakiet do tworzenia trójwymiarowej grafiki z wyjściem w
29formacie MetaPost. Ma on służyć między innymi do udostępnienia
30wygodnego sposobu tworzenia grafiki 3D w celu włączenia do dokumentów
741b659d
JB
31w TeXu.
32
33%prep
34%setup -q
35%patch0 -p1
36
37%build
b7dba049
JB
38# only 3dlfb binary uses libs, symbols are messed - no sense in building shared libs
39%configure \
40 --disable-shared
e94c89f1 41%{__make} -j1
741b659d
JB
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
48
b7dba049
JB
49install -D doc/3dldf.info $RPM_BUILD_ROOT%{_infodir}/3dldf.info
50
51# headers not installed
52%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib3dldf*.{la,a}
53# too common name
54%{__rm} $RPM_BUILD_ROOT%{_bindir}/dummy
55
741b659d
JB
56%clean
57rm -rf $RPM_BUILD_ROOT
58
b7dba049 59%post -p /sbin/postshell
b98b9580 60-/usr/sbin/fix-info-dir -c %{_infodir}
741b659d 61
b7dba049 62%postun -p /sbin/postshell
b98b9580 63-/usr/sbin/fix-info-dir -c %{_infodir}
741b659d
JB
64
65%files
66%defattr(644,root,root,755)
b7dba049
JB
67%doc AUTHORS ChangeLog NEWS README
68%attr(755,root,root) %{_bindir}/3dldf
69%attr(755,root,root) %{_bindir}/prbsnflx
70%{_infodir}/3dldf.info*
This page took 0.136896 seconds and 4 git commands to generate.