[packages/bvi] - up to 1.4.0
arekm
arekm at pld-linux.org
Sat Dec 5 22:39:57 CET 2015
commit 13fa623395526b7a005d899b5c405920bd0c02aa
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Dec 5 22:39:52 2015 +0100
- up to 1.4.0
bvi-paths.patch | 37 -------------------------------------
bvi.spec | 10 ++++------
2 files changed, 4 insertions(+), 43 deletions(-)
---
diff --git a/bvi.spec b/bvi.spec
index b70639f..27271a2 100644
--- a/bvi.spec
+++ b/bvi.spec
@@ -1,14 +1,13 @@
Summary: Binary vi
Summary(pl.UTF-8): Binarny vi
Name: bvi
-Version: 1.3.2
-Release: 2
+Version: 1.4.0
+Release: 1
License: GPL
Group: Applications/Editors
Source0: http://dl.sourceforge.net/bvi/%{name}-%{version}.src.tar.gz
-# Source0-md5: 4257305ffb27177a6d5208b2df4ca92d
+# Source0-md5: aa83eb8b2b6b0bb6cdd8e6beef12b775
Patch0: %{name}-home_etc.patch
-Patch1: %{name}-paths.patch
URL: http://bvi.sourceforge.net/
BuildRequires: automake
BuildRequires: ncurses-devel
@@ -25,7 +24,6 @@ edytorze vi.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
cp -f /usr/share/automake/config.sub .
@@ -45,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README CHANGES CREDITS html/*
+%doc README CHANGES CREDITS
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
%{_mandir}/man1/*
diff --git a/bvi-paths.patch b/bvi-paths.patch
deleted file mode 100644
index d72032a..0000000
--- a/bvi-paths.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -burN bvi-1.3.2.orig/Makefile.in bvi-1.3.2/Makefile.in
---- bvi-1.3.2.orig/Makefile.in 2004-02-15 00:17:56.715259832 +0100
-+++ bvi-1.3.2/Makefile.in 2004-02-15 01:07:21.133599744 +0100
-@@ -26,6 +26,7 @@
- bindir = $(DESTDIR)@bindir@
- mandir = $(DESTDIR)@mandir@
- libdir = $(DESTDIR)@libdir@
-+datadir = $(DESTDIR)@datadir@
-
- man1dir = $(mandir)/man1
-
-@@ -58,7 +59,7 @@
- $(CC) $(CFLAGS) $(DEFS) -c $<
-
- bmore.o: bmore.c
-- $(CC) $(CFLAGS) $(DEFS) -DHELPFILE=\"$(libdir)/bmore.help\" -c $<
-+ $(CC) $(CFLAGS) $(DEFS) -DHELPFILE=\"$(datadir)/bvi/bmore.help\" -c $<
-
-
- install: all installdirs
-@@ -66,14 +67,14 @@
- @$(INSTALL_DATA) bvi.1 bmore.1 $(man1dir)
- @$(INSTALL_PROGRAM) -s bvi $(bindir)
- @$(INSTALL_PROGRAM) -s bmore $(bindir)
-- @$(INSTALL_DATA) bmore.help $(libdir)
-+ @$(INSTALL_DATA) bmore.help $(datadir)/bvi
- @if [ -f $(bindir)/bview ]; then rm $(bindir)/bview; fi
- @if [ -f $(bindir)/bvedit ]; then rm $(bindir)/bvedit; fi
- @ln $(bindir)/bvi $(bindir)/bview
- @ln $(bindir)/bvi $(bindir)/bvedit
-
- installdirs:
-- $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(libdir) $(man1dir)
-+ $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(datadir)/bvi $(man1dir)
-
- uninstall:
- @echo "Uninstalling bvi"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bvi.git/commitdiff/13fa623395526b7a005d899b5c405920bd0c02aa
More information about the pld-cvs-commit
mailing list