rpms/asymptote/devel asy-init.el, NONE, 1.1 asymptote-1.05-docdir.patch, NONE, 1.1 asymptote.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jose Pedro Oliveira (jpo)
fedora-extras-commits at redhat.com
Sat May 27 13:37:40 UTC 2006
Author: jpo
Update of /cvs/extras/rpms/asymptote/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13494/devel
Modified Files:
.cvsignore sources
Added Files:
asy-init.el asymptote-1.05-docdir.patch asymptote.spec
Log Message:
auto-import asymptote-1.06-3 on branch devel from asymptote-1.06-3.src.rpm
--- NEW FILE asy-init.el ---
(autoload 'asy-mode "asy-mode.el" "Asymptote major mode." t)
(add-to-list 'auto-mode-alist '("\\.asy$" . asy-mode))
asymptote-1.05-docdir.patch:
--- NEW FILE asymptote-1.05-docdir.patch ---
diff -ruN asymptote-1.05-orig/configure asymptote-1.05/configure
--- asymptote-1.05-orig/configure 2006-05-19 05:58:44.000000000 +0100
+++ asymptote-1.05/configure 2006-05-22 18:45:18.000000000 +0100
@@ -1438,7 +1438,7 @@
cat >>confdefs.h <<_ACEOF
-#define ASYMPTOTE_DOCDIR "$Datadir/doc/asymptote"
+#define ASYMPTOTE_DOCDIR "$Datadir/doc/asymptote-$VERSION"
_ACEOF
diff -ruN asymptote-1.05-orig/configure.ac asymptote-1.05/configure.ac
--- asymptote-1.05-orig/configure.ac 2006-05-19 05:58:42.000000000 +0100
+++ asymptote-1.05/configure.ac 2006-05-22 18:44:22.000000000 +0100
@@ -37,7 +37,7 @@
AC_SUBST(latexdir)
AC_DEFINE_UNQUOTED(ASYMPTOTE_SYSDIR,"$Datadir/asymptote",
[System directory for global .asy files])
-AC_DEFINE_UNQUOTED(ASYMPTOTE_DOCDIR,"$Datadir/doc/asymptote",
+AC_DEFINE_UNQUOTED(ASYMPTOTE_DOCDIR,"$Datadir/doc/asymptote-$VERSION",
[Directory for documentation])
AC_CONFIG_SRCDIR([absyn.cc])
diff -ruN asymptote-1.05-orig/Makefile.in asymptote-1.05/Makefile.in
--- asymptote-1.05-orig/Makefile.in 2006-05-18 06:44:26.000000000 +0100
+++ asymptote-1.05/Makefile.in 2006-05-22 18:46:07.000000000 +0100
@@ -38,7 +38,7 @@
mandir = $(DESTDIR)@mandir@
datadir = $(DESTDIR)@datadir@
asydir = $(datadir)/asymptote
-docdir = $(datadir)/doc/asymptote
+docdir = $(datadir)/doc/asymptote- at VERSION@
exampledir = $(docdir)/examples
animationsdir = $(exampledir)/animations
latexdir = $(DESTDIR)@latexdir@
--- NEW FILE asymptote.spec ---
%{!?_texmf: %define _texmf %(eval "echo `kpsewhich -expand-var '$TEXMFMAIN'`")}
%define emacs_sitelisp %{_datadir}/emacs/site-lisp
%define xemacs_sitelisp %{_datadir}/xemacs/site-packages/lisp
Name: asymptote
Version: 1.06
Release: 3%{?dist}
Summary: Descriptive vector graphics language
Group: Development/Tools
License: GPL
URL: http://asymptote.sourceforge.net/
Source0: http://dl.sourceforge.net/sourceforge/asymptote/asymptote-%{version}.tar.gz
Source1: asy-init.el
Patch: asymptote-1.05-docdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
BuildRequires: readline-devel
BuildRequires: fftw-devel >= 3.0
BuildRequires: gc-devel >= 6.7
BuildRequires: gsl-devel
BuildRequires: tetex-latex
BuildRequires: ghostscript
BuildRequires: texinfo
Requires: tetex-latex
Requires: tkinter
Requires(post): /usr/bin/texhash
Requires(postun): /usr/bin/texhash
%define texpkgdir %{_texmf}/tex/latex/%{name}
%description
Asymptote is a powerful descriptive vector graphics language for technical
drawings, inspired by MetaPost but with an improved C++-like syntax.
Asymptote provides for figures the same high-quality level of typesetting
that LaTeX does for scientific text.
%prep
%setup -q
%patch -p1
%{__sed} -i 's|^#!/usr/bin/env python$|#!%{__python}|' xasy
%build
%configure --enable-gc=system
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -p -m 644 BUGS ChangeLog LICENSE README ReleaseNotes TODO \
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}/
# Emacs/Xemacs mode and init files
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}/
for dir in %{emacs_sitelisp} %{xemacs_sitelisp} ; do
install -dm 755 $RPM_BUILD_ROOT$dir/site-start.d
ln -s %{_datadir}/%{name}/asy-mode.el $RPM_BUILD_ROOT$dir
touch $RPM_BUILD_ROOT$dir/asy-mode.elc
ln -s %{_datadir}/%{name}/asy-init.el $RPM_BUILD_ROOT$dir/site-start.d
touch $RPM_BUILD_ROOT$dir/site-start.d/asy-init.elc
done
# Vim syntax file
for vimver in 63 64 70 ; do
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/vim/vim$vimver/syntax
ln -s %{_datadir}/%{name}/asy.vim $RPM_BUILD_ROOT%{_datadir}/vim/vim$vimver/syntax
done
%clean
rm -rf $RPM_BUILD_ROOT
%post
texhash >/dev/null 2>&1 || :
%postun
texhash >/dev/null 2>&1 || :
%triggerin -- emacs-common
[ -d %{emacs_sitelisp} ] && \
ln -sf %{_datadir}/%{name}/asy-mode.el %{emacs_sitelisp} || :
[ -d %{emacs_sitelisp}/site-start.d ] && \
ln -sf %{_datadir}/%{name}/asy-init.el %{emacs_sitelisp}/site-start.d || :
%triggerin -- xemacs-common
[ -d %{xemacs_sitelisp} ] && \
ln -sf %{_datadir}/%{name}/asy-mode.el %{xemacs_sitelisp} || :
[ -d %{xemacs_sitelisp}/site-start.d ] && \
ln -sf %{_datadir}/%{name}/asy-init.el %{xemacs_sitelisp}/site-start.d || :
%triggerun -- emacs-common
[ $2 = 0 ] && rm -f %{emacs_sitelisp}/{asy-mode.el*,site-start.d/asy-init.el*} || :
%triggerun -- xemacs-common
[ $2 = 0 ] && rm -f %{xemacs_sitelisp}/{asy-mode.el*,site-start.d/asy-init.el*} || :
%triggerin -- vim-common
VIMVERNEW=`rpm -q --qf='%%{epoch}:%%{version}\n' vim-common | sort | tail -n 1 | sed -e 's/[0-9]*://' | sed -e 's/\.[0-9]*$//' | sed -e 's/\.//'`
[ -d %{_datadir}/vim/vim${VIMVERNEW}/syntax ] && \
ln -sf %{_datadir}/%{name}/asy.vim %{_datadir}/vim/vim${VIMVERNEW}/syntax || :
%triggerun -- vim-common
VIMVEROLD=`rpm -q --qf='%%{epoch}:%%{version}\n' vim-common | sort | head -n 1 | sed -e 's/[0-9]*://' | sed -e 's/\.[0-9]*$//' | sed -e 's/\.//'`
[ $2 = 0 ] && rm -f %{_datadir}/vim/vim${VIMVEROLD}/syntax/asy.vim || :
%triggerpostun -- vim-common
VIMVEROLD=`rpm -q --qf='%%{epoch}:%%{version}\n' vim-common | sort | head -n 1 | sed -e 's/[0-9]*://' | sed -e 's/\.[0-9]*$//' | sed -e 's/\.//'`
VIMVERNEW=`rpm -q --qf='%%{epoch}:%%{version}\n' vim-common | sort | tail -n 1 | sed -e 's/[0-9]*://' | sed -e 's/\.[0-9]*$//' | sed -e 's/\.//'`
if [ $1 = 1 ]; then
rm -f %{_datadir}/vim/vim${VIMVEROLD}/syntax/asy.vim || :
[ -d %{_datadir}/vim/vim${VIMVERNEW}/syntax ] && \
ln -sf %{_datadir}/%{name}/asy.vim %{_datadir}/vim/vim${VIMVERNEW}/syntax || :
fi
%files
%defattr(-,root,root,-)
%doc %{_defaultdocdir}/%{name}-%{version}/
%{_bindir}/*
%{_datadir}/%{name}/
%{texpkgdir}/
%{_mandir}/man1/*.1*
%ghost %{_datadir}/*emacs
%ghost %{_datadir}/vim/
%changelog
* Sat May 27 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-3
- Emacs/Xemacs init file (#193154 comment 6).
* Fri May 26 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-2
- Directories ownership (#193154).
* Wed May 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-1
- Update to 1.06.
- Using triggers to install the Vim syntax file and the Emacs/Xemacs mode file.
* Mon May 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-1
- Update to 1.05.
* Sun May 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-1
- Update to 1.04.
* Fri Mar 31 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
- Update to 1.03.
* Thu Mar 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-1
- First build.
# vim:set ai ts=4 sw=4 sts=4 et:
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/asymptote/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 27 May 2006 13:36:55 -0000 1.1
+++ .cvsignore 27 May 2006 13:37:40 -0000 1.2
@@ -0,0 +1 @@
+asymptote-1.06.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/asymptote/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 27 May 2006 13:36:55 -0000 1.1
+++ sources 27 May 2006 13:37:40 -0000 1.2
@@ -0,0 +1 @@
+3dc87ce18034ee8c44e0cdbd49c126d2 asymptote-1.06.tar.gz
More information about the fedora-extras-commits
mailing list