]> git.pld-linux.org Git - packages/3DLDF.git/blob - 3DLDF.spec
- release 2 (by relup.sh)
[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:        2
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 URL:            http://www.gnu.org/software/3dldf/
12 # ps2pdf
13 BuildRequires:  ghostscript
14 BuildRequires:  gsl-devel
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  texlive
17 BuildRequires:  texlive-fonts-type1-hoekwater
18 BuildRequires:  texinfo
19 BuildRequires:  texinfo-texi2dvi
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 3DLDF is a package for three-dimensional drawing with MetaPost output.
24 It is intended, among other things, to provide a convenient way of
25 creating 3D graphics for inclusion in TeX documents.
26  
27 %description -l pl.UTF-8
28 3DLF to pakiet do tworzenia trójwymiarowej grafiki z wyjściem w
29 formacie MetaPost. Ma on służyć między innymi do udostępnienia
30 wygodnego sposobu tworzenia grafiki 3D w celu włączenia do dokumentów
31 w TeXu.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36
37 %build
38 # only 3dlfb binary uses libs, symbols are messed - no sense in building shared libs
39 %configure \
40         --disable-shared
41 %{__make} -j1
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 install -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
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post   -p /sbin/postshell
60 -/usr/sbin/fix-info-dir -c %{_infodir}
61
62 %postun -p /sbin/postshell
63 -/usr/sbin/fix-info-dir -c %{_infodir}
64
65 %files
66 %defattr(644,root,root,755)
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.100513 seconds and 3 git commands to generate.