From 34937da8a8572b6941628a43f31716b22889f9d1 Mon Sep 17 00:00:00 2001 From: Zsolt Udvari Date: Sat, 29 May 2010 11:07:47 +0000 Subject: [PATCH] - latex package - remove datadir re-definition Changed files: gnuplot.spec -> 1.88 --- gnuplot.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/gnuplot.spec b/gnuplot.spec index 0322de9..b8c29c8 100644 --- a/gnuplot.spec +++ b/gnuplot.spec @@ -42,8 +42,6 @@ BuildRequires: zlib-devel #or --without-lisp-files BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _datadir %{_prefix}/share/misc - %description Gnuplot is a command-line driven, interactive function plotting program especially suited for scientific data representation. Gnuplot @@ -92,6 +90,13 @@ Gnuplot - це інтерактивна програма побудови гра наукових даних та може застосовуватись для відображення функцій та даних в 2-х та 3-х вимірах та в багатьох різних форматах. +%package latex +Summary: LaTeX files +Group: Applications/Publishing/TeX + +%description latex +LaTeX files. + %prep %setup -q %patch0 -p1 @@ -135,6 +140,8 @@ install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} DESTDIR=$RPM_BUILD_ROOT \ appdefaultdir=%{_prefix}/share/X11/app-defaults +mv $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist} + %clean rm -rf $RPM_BUILD_ROOT @@ -155,3 +162,7 @@ rm -rf $RPM_BUILD_ROOT %{_desktopdir}/gnuplot.desktop %{_pixmapsdir}/gnuplot.png %{_prefix}/share/X11/app-defaults/Gnuplot + +%files latex +%defattr(644,root,root,755) +%{_datadir}/texmf-dist/tex/latex/gnuplot -- 2.44.0