rpms/BibTool/devel BibTool.spec, NONE, 1.1 bibtool-AutoConf-makefile.in-honor_DESTDIR.diff, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Fri Sep 2 06:44:45 UTC 2005


Author: pertusus

Update of /cvs/extras/rpms/BibTool/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8658/devel

Modified Files:
	.cvsignore sources 
Added Files:
	BibTool.spec bibtool-AutoConf-makefile.in-honor_DESTDIR.diff 
Log Message:
auto-import BibTool-2.48-3 on branch devel from BibTool-2.48-3.src.rpm


--- NEW FILE BibTool.spec ---
Summary:        A Tool for manipulating BibTeX data bases
Name:	        BibTool
Version:        2.48
Release:        3%{?dist}
Group:	        Applications/Publishing
Source:         ftp://ftp.dante.de/tex-archive/biblio/bibtex/utils/bibtool/BibTool-%{version}.tar.gz
URL:            http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html
Patch:          bibtool-AutoConf-makefile.in-honor_DESTDIR.diff
License:        GPL
BuildRequires:  tetex-latex
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
BibTeX provides an easy to use means to integrate citations and
bibliographies into LaTeX documents. But the user is left alone with
the management of the BibTeX files. The program BibTool is intended to
fill this gap. BibTool allows the manipulation of BibTeX files which
goes beyond the possibilities --- and intentions --- of BibTeX.

%prep
%setup 
%patch
sed -i -e 's%^#!/usr/local/bin/tclsh%#!/usr/bin/tclsh%' Tcl/bibtool.tcl
sed -i -e 's%^#!/usr/local/bin/perl%#!/usr/bin/perl%' Perl/bibtool.pl

%build
%configure --libdir=%{_datadir}
make %{?_smp_mflags}
make doc

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

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes.xml COPYING INSTALL README THANKS Doc/*.dvi Perl Tcl
%{_bindir}/bibtool
%{_datadir}/BibTool/
%{_mandir}/man1/bibtool*

%changelog
* Fri Sep  2 2005 Patrice Dumas <dumas at centre-cired.fr> 2.48-3
- change shebangs in example scripts

* Thu Jul 14 2005 Patrice Dumas <dumas at centre-cired.fr> 2.48-2
- update to 2.48
- use fedora template 

* Mon Sep 10 2001 Lenny Cartier <lenny at mandrakesoft.com> 2.44-1mdk
- added in contribs by Guillaume Rousse <g.rousse at linux-mandrake.com>
- first mdk release

bibtool-AutoConf-makefile.in-honor_DESTDIR.diff:

--- NEW FILE bibtool-AutoConf-makefile.in-honor_DESTDIR.diff ---
--- AutoConf/makefile.in.save	2005-07-14 11:27:45.000000000 +0200
+++ AutoConf/makefile.in	2005-07-14 11:27:06.000000000 +0200
@@ -499,46 +499,46 @@
 install: install.bin install.lib
 
 install.bin install-exec: bibtool$(EXT)
-	-$(INSTALL_DIR) $(BINDIR)
-	$(INSTALL) bibtool$(EXT) $(BINDIR)
+	-$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
+	$(INSTALL) bibtool$(EXT) $(DESTDIR)$(BINDIR)
 
 INSTALL_LIB_FILES = Lib$(DIR_SEP)*.*
 
 install.lib install-data: 
-	-$(INSTALL_DIR) $(LIBDIR)
+	-$(INSTALL_DIR) $(DESTDIR)$(LIBDIR)
 	for lib in $(INSTALL_LIB_FILES); do	\
-	  $(INSTALL_DATA) $$lib $(LIBDIR);	\
+	  $(INSTALL_DATA) $$lib $(DESTDIR)$(LIBDIR);	\
 	done
 
 INSTALL_INCLUDE_FILES = $(HFILES)
 
 install.include install-include: 
-	-$(INSTALL_DIR) $(INCLUDEDIR)
+	-$(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)
 	for inc in $(INSTALL_INCLUDE_FILES); do	\
-	  $(INSTALL_DATA) $$inc $(INCLUDEDIR);	\
+	  $(INSTALL_DATA) $$inc $(DESTDIR)$(INCLUDEDIR);	\
 	done
 
 install.man install-man: 
-	-$(INSTALL_DIR) $(MANDIR)$(DIR_SEP)man$(MANSECT)
+	-$(INSTALL_DIR) $(DESTDIR)$(MANDIR)$(DIR_SEP)man$(MANSECT)
 	$(INSTALL) Doc$(DIR_SEP)bibtool.1 \
-		$(MANDIR)$(DIR_SEP)man$(MANSECT)$(DIR_SEP)bibtool.$(MANSECT)
+		$(DESTDIR)$(MANDIR)$(DIR_SEP)man$(MANSECT)$(DIR_SEP)bibtool.$(MANSECT)
 
 uninstall: uninstall.bin uninstall.lib
 
 uninstall.bin uninstall-exec:
-	-$(RM) $(BINDIR)$(DIR_SEP)bibtool$(EXT)
+	-$(RM) $(DESTDIR)$(BINDIR)$(DIR_SEP)bibtool$(EXT)
 
 uninstall.lib uninstall-data:
-	-$(RM) $(LIBDIR)
+	-$(RM) $(DESTDIR)$(LIBDIR)
 
 uninstall.include uninstall-include:
-	-$(RM) $(INCLUDEDIR)
+	-$(RM) $(DESTDIR)$(INCLUDEDIR)
 
 uninstall.man uninstall-man:
-	-$(RM) $(MANDIR)$(DIR_SEP)man$(MANSECT)$(DIR_SEP)bibtool.$(MANSECT)
+	-$(RM) $(DESTDIR)$(MANDIR)$(DIR_SEP)man$(MANSECT)$(DIR_SEP)bibtool.$(MANSECT)
 
 status:
-	@echo $(LIBDIR)
+	@echo $(DESTDIR)$(LIBDIR)
 
 # =============================================================================
 # DO NOT DELETE THIS LINE -- make depend depends on it.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/BibTool/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	2 Sep 2005 06:43:58 -0000	1.1
+++ .cvsignore	2 Sep 2005 06:44:43 -0000	1.2
@@ -0,0 +1 @@
+BibTool-2.48.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/BibTool/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Sep 2005 06:43:58 -0000	1.1
+++ sources	2 Sep 2005 06:44:43 -0000	1.2
@@ -0,0 +1 @@
+20ebb18ea55e5f64b67f5b8edaa0d6fa  BibTool-2.48.tar.gz




More information about the fedora-extras-commits mailing list