packages: gnuplot/gnuplot.spec - latex package - remove datadir re-definition
uzsolt
uzsolt at pld-linux.org
Sat May 29 13:07:52 CEST 2010
Author: uzsolt Date: Sat May 29 11:07:52 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- latex package
- remove datadir re-definition
---- Files affected:
packages/gnuplot:
gnuplot.spec (1.87 -> 1.88)
---- Diffs:
================================================================
Index: packages/gnuplot/gnuplot.spec
diff -u packages/gnuplot/gnuplot.spec:1.87 packages/gnuplot/gnuplot.spec:1.88
--- packages/gnuplot/gnuplot.spec:1.87 Wed Apr 7 00:45:01 2010
+++ packages/gnuplot/gnuplot.spec Sat May 29 13:07:47 2010
@@ -43,8 +43,6 @@
#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
@@ -93,6 +91,13 @@
наукових даних та може застосовуватись для відображення функцій та
даних в 2-х та 3-х вимірах та в багатьох різних форматах.
+%package latex
+Summary: LaTeX files
+Group: Applications/Publishing/TeX
+
+%description latex
+LaTeX files.
+
%prep
%setup -q
%patch0 -p1
@@ -136,6 +141,8 @@
DESTDIR=$RPM_BUILD_ROOT \
appdefaultdir=%{_prefix}/share/X11/app-defaults
+mv $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -157,12 +164,20 @@
%{_pixmapsdir}/gnuplot.png
%{_prefix}/share/X11/app-defaults/Gnuplot
+%files latex
+%defattr(644,root,root,755)
+%{_datadir}/texmf-dist/tex/latex/gnuplot
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.88 2010/05/29 11:07:47 uzsolt
+- latex package
+- remove datadir re-definition
+
Revision 1.87 2010/04/06 22:45:01 sparky
- BR: cairo-devel, glib2-devel, pango-devel, pkgconfig
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gnuplot/gnuplot.spec?r1=1.87&r2=1.88&f=u
More information about the pld-cvs-commit
mailing list