[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/tetex-dvipost/devel tetex-dvipost-destdir.patch, NONE, 1.1 tetex-dvipost.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



Author: jamatos

Update of /cvs/extras/rpms/tetex-dvipost/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11032/devel

Modified Files:
	.cvsignore sources 
Added Files:
	tetex-dvipost-destdir.patch tetex-dvipost.spec 
Log Message:
auto-import tetex-dvipost-1.1-4 on branch devel from tetex-dvipost-1.1-4.src.rpm

tetex-dvipost-destdir.patch:

--- NEW FILE tetex-dvipost-destdir.patch ---
diff -ur dvipost-1.1/Makefile.in dvipost-new/Makefile.in
--- dvipost-1.1/Makefile.in	2006-03-23 04:47:44.000000000 +0000
+++ dvipost-new/Makefile.in	2006-04-26 17:07:42.000000000 +0100
@@ -27,14 +27,14 @@
 INSTALL_PROGRAM= @INSTALL_PROGRAM@
 INSTALL_DATA= @INSTALL_DATA@
 
-BIN=	@bindir@
+BIN=	$(DESTDIR)@bindir@
 
 # Directory to install LaTeX styles
 
-LATEX=	@texpath@
+LATEX=	$(DESTDIR)@texpath@
 
 MANEXT=	1
-MANDIR=	@mandir@/man$(MANEXT)
+MANDIR=	$(DESTDIR)@mandir@/man$(MANEXT)
 
 # Install names
 
@@ -92,6 +92,7 @@
 	for p in $(NAME) $(ALIAS); do rm -f $(BIN)/$$p; done
 
 install-exec: uninstall-exec
+	mkdir -p $(BIN)
 	$(INSTALL_PROGRAM) $(NAME) $(BIN)/$(NAME)
 	(cd $(BIN); for p in $(ALIAS); do rm -f $$p; $(LN) $(NAME) $$p; done)
 
@@ -99,6 +100,7 @@
 	for p in $(NAME) $(ALIAS); do rm -f $(MANDIR)/$$p.$(MANEXT); done
 
 install-man: uninstall-man
+	mkdir -p $(MANDIR)
 	$(INSTALL_DATA) dvipost.man $(MANDIR)/$(NAME).$(MANEXT)
 	(cd $(MANDIR); for p in $(ALIAS); \
 		do rm -f $$p.$(MANEXT); \
@@ -107,11 +109,12 @@
 
 uninstall-data:
 	for p in $(FILES); do rm -f $(LATEX)/$$p; done
-	texhash
+	#texhash
 
 install-data: uninstall-data
+	mkdir -p $(LATEX)
 	for p in $(FILES); do $(INSTALL_DATA) $$p $(LATEX)/$$p; done
-	texhash
+	#texhash
 
 distclean:: clean
 	rm -f config.cache config.log config.status Makefile


--- NEW FILE tetex-dvipost.spec ---
%define real_name dvipost
%define texmf	%{_datadir}/texmf

Name:           tetex-%{real_name}
Version:        1.1
Release:        4%{?dist}
Summary:        LaTeX post filter command to support change bars and overstrike mode

Group:          Applications/Publishing
License:        GPL
URL:            http://efeu.cybertec.at/
Source0:        http://efeu.cybertec.at/%{real_name}.tar.gz
Patch0:		%{name}-destdir.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  tetex
BuildRequires:	tetex-latex

Requires:       tetex
Requires:	tetex-fonts
Requires:	tetex-latex

%description
The command dvipost is a post procesor for dvi files, created by latex
or tex. It is used for special modes, which normally needs the support
of dvi drivers (such as dvips). With dvipost, this features could be
implemented independent of the preferred driver. Currently, the post
processor supports layout raster, change bars and overstrike mode.

%prep
%setup -q -n %{real_name}-%{version}
%patch0 -p1


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /usr/bin/texhash


%postun -p /usr/bin/texhash


%files
%defattr(-,root,root,-)
%{_bindir}/*
%{texmf}/tex/latex/misc/*

%doc README COPYING NOTES dvipost.html
%{_mandir}/man*/*


%changelog
* Thu Apr 27 2006 José Matos <jamatos fc up pt> - 1.1-4
- Rename package to tetex-dvipost

* Thu Apr 27 2006 José Matos <jamatos fc up pt> - 1.1-3
- Capitalize Summary, fix spell error in description, rework
  invocation of post and postun calls (thanks to Patrice Dumas)
- Add tetex-latex to Requires and BuildRequires.
- Add tetex-fonts to Requires to satisfy direct dependency on texhash

* Thu Apr 27 2006 José Matos <jamatos fc up pt> - 1.1-2
- Add new entries to %%doc and expand description

* Wed Apr 26 2006 José Matos <jamatos fc up pt> - 1.1-1
- First build



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/tetex-dvipost/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Apr 2006 16:18:04 -0000	1.1
+++ .cvsignore	27 Apr 2006 16:18:45 -0000	1.2
@@ -0,0 +1 @@
+dvipost.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/tetex-dvipost/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Apr 2006 16:18:04 -0000	1.1
+++ sources	27 Apr 2006 16:18:45 -0000	1.2
@@ -0,0 +1 @@
+2ec79283a8348312bc72831ca80ae3a2  dvipost.tar.gz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]