Compare commits

..

3 commits

Author SHA1 Message Date
Petr Lautrbach
43cf58d5f1 FIXME: www.vimoutliner.org doesn't exist anymore 2016-11-23 18:25:21 +01:00
Petr Lautrbach
792b10f2cb vim-vimoutliner-0.4.0-1
- Update to 0.4.0 release
2016-11-23 18:25:16 +01:00
Petr Lautrbach
df9977aa46 Don't refer to www.vimoutliner.org in description 2016-11-23 18:25:09 +01:00
10 changed files with 408 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/vimoutliner-0.3.7.tar.gz
/vimoutliner-0.4.0.tar.gz

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

130
fix-FSF-address.patch Normal file
View file

@ -0,0 +1,130 @@
From fe638d7ba47ef788cc9401425b8e98534b7b164d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl@redhat.com>
Date: Sun, 6 Apr 2014 23:09:11 +0200
Subject: [PATCH] Fix FSF address
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
According to http://www.gnu.org/licenses/gpl-howto.html
Signed-off-by: Matěj Cepl <mcepl@redhat.com>
---
ftdetect/votl.vim | 3 +--
ftplugin/votl.vim | 3 +--
syntax/votl.vim | 3 +--
vimoutliner/scripts/otl2ooimpress.py | 7 ++-----
vimoutliner/scripts/otl2ooimpress.sh | 7 ++-----
vimoutliner/scripts/otlsplit.py | 3 +--
vimoutliner/scripts/votl_maketags.pl | 3 +--
7 files changed, 9 insertions(+), 20 deletions(-)
diff --git a/ftdetect/votl.vim b/ftdetect/votl.vim
index a249f13..995dc61 100644
--- a/ftdetect/votl.vim
+++ b/ftdetect/votl.vim
@@ -14,8 +14,7 @@
"# GNU General Public License for more details.
"#
"# You should have received a copy of the GNU General Public License
-"# along with this program; if not, write to the Free Software
-"# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+"# along with this program; if not, see <http://www.gnu.org/licenses/>.
"#
"# Steve Litt, slitt@troubleshooters.com, http://www.troubleshooters.com
"# #######################################################################
diff --git a/ftplugin/votl.vim b/ftplugin/votl.vim
index c32bd83..fcf23ed 100644
--- a/ftplugin/votl.vim
+++ b/ftplugin/votl.vim
@@ -15,8 +15,7 @@
"# GNU General Public License for more details.
"#
"# You should have received a copy of the GNU General Public License
-"# along with this program; if not, write to the Free Software
-"# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+"# along with this program; if not, see <http://www.gnu.org/licenses/>.
"#
"# Steve Litt, slitt@troubleshooters.com, http://www.troubleshooters.com
"#########################################################################
diff --git a/syntax/votl.vim b/syntax/votl.vim
index b545e75..076ed3c 100644
--- a/syntax/votl.vim
+++ b/syntax/votl.vim
@@ -14,8 +14,7 @@
"# GNU General Public License for more details.
"#
"# You should have received a copy of the GNU General Public License
-"# along with this program; if not, write to the Free Software
-"# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+"# along with this program; if not, see <http://www.gnu.org/licenses/>.
"#
"# Steve Litt, slitt@troubleshooters.com, http://www.troubleshooters.com
"#########################################################################
diff --git a/vimoutliner/scripts/otl2ooimpress.py b/vimoutliner/scripts/otl2ooimpress.py
index 4105a25..7d3ab67 100755
--- a/vimoutliner/scripts/otl2ooimpress.py
+++ b/vimoutliner/scripts/otl2ooimpress.py
@@ -17,11 +17,8 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
-# License along with this library; if not, write to:
-#
-# Free Software Foundation, Inc.
-# 59 Temple Place, Suite 330
-# Boston, MA 02111-1307 USA
+# License along with this library; if not, see
+# <http://www.gnu.org/licenses/>.
#
#############################################################################
# ALPHA VERSION!!!
diff --git a/vimoutliner/scripts/otl2ooimpress.sh b/vimoutliner/scripts/otl2ooimpress.sh
index 5ac0460..9e2432d 100755
--- a/vimoutliner/scripts/otl2ooimpress.sh
+++ b/vimoutliner/scripts/otl2ooimpress.sh
@@ -17,11 +17,8 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
-# License along with this library; if not, write to:
-#
-# Free Software Foundation, Inc.
-# 59 Temple Place, Suite 330
-# Boston, MA 02111-1307 USA
+# License along with this library; if not, see
+# <http://www.gnu.org/licenses/>.
#
#############################################################################
diff --git a/vimoutliner/scripts/otlsplit.py b/vimoutliner/scripts/otlsplit.py
index d1e1adf..2715e89 100755
--- a/vimoutliner/scripts/otlsplit.py
+++ b/vimoutliner/scripts/otlsplit.py
@@ -21,8 +21,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
###########################################################################
# include whatever mdules we need
diff --git a/vimoutliner/scripts/votl_maketags.pl b/vimoutliner/scripts/votl_maketags.pl
index 8890eaa..1b648f9 100644
--- a/vimoutliner/scripts/votl_maketags.pl
+++ b/vimoutliner/scripts/votl_maketags.pl
@@ -14,8 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
# Steve Litt, slitt@troubleshooters.com, http://www.troubleshooters.com
# #######################################################################
--
1.9.0

BIN
otl2html-1.40.tgz Normal file

Binary file not shown.

BIN
otl_handler.tgz Normal file

Binary file not shown.

1
sources Normal file
View file

@ -0,0 +1 @@
7a7ff35e44fb0b437bf129ae833bb26c vimoutliner-0.4.0.tar.gz

187
vim-vimoutliner.spec Normal file
View file

@ -0,0 +1,187 @@
%define otl2html_version 1.40
%global upstream_name vimoutliner
Name: vim-%{upstream_name}
Version: 0.4.0
Release: 1%{?dist}
Summary: Script for building an outline editor on top of Vim
Group: Applications/Editors
# LICENSE says v2, but the code all says v2+
License: GPLv2+
URL: https://github.com/vimoutliner/vimoutliner
Source0: https://github.com/vimoutliner/vimoutliner/archive/%{version}/%{upstream_name}-%{version}.tar.gz
# FIXME: www.vimoutliner.org doesn't exist anymore
# the following two tarballs are from http://www.vimoutliner.org as well, but
# they are in CMS without good URLs.
Source1: otl2html-%{otl2html_version}.tgz
Source2: otl_handler.tgz
# things which are in discussion about putting upstream
Source3: vimoutliner-local.tar.bz2
Source4: vimoutliner-README.Fedora
Source5: vimoutliner-Makefile
BuildArch: noarch
Requires: vim-enhanced perl python
Requires(post): vim-enhanced
Requires(postun): vim-enhanced
#Requires: libxml-writer-perl libpalm-perl
%description
Vimoutliner provides commands for building using the Vim text editor as an
outline editor. For more explanation on what outlines are and what they are
good for see the script's webpage at
https://github.com/vimoutliner/vimoutliner and the general discussion of outlines on
http://www.troubleshooters.com/tpromag/199911/199911.htm.
%prep
%setup -q -n %{upstream_name}-%{version} -a 1 -a 2 -a 3
cp -f -p %{SOURCE4} README.Fedora
cp -f -p %{SOURCE5} Makefile
# mv ../{CHANGELOG,INSTALL,README*,install.sh,LICENSE} .
find . -name .\*.swp -delete
mv otl2html-* doc/otl2html
mv otl_handler doc/otl_handler
mv doc/otl2html/README README.otl2html
mv doc/otl_handler/README README.otl_handler
find doc/ -type f -perm /111 -exec chmod -x '{}' \;
rm doc/otl2html/otl2html.py
%build
cp -r doc examples
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
install -m a+rx,u+w -d $RPM_BUILD_ROOT%{_sysconfdir}
install -p -m a+r,u+w vimoutlinerrc \
$RPM_BUILD_ROOT%{_sysconfdir}/vimoutlinerrc
install -m a+rx,u+w -d $RPM_BUILD_ROOT%{_datadir}/mime/packages
install -p -m a+r,u+w vimoutliner-mimefile.xml \
$RPM_BUILD_ROOT%{_datadir}/mime/packages/vimoutliner.xml
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
cd %{_datadir}/vim/vimfiles/doc
vim -u NONE -esX -c "helptags ." -c quit
grep -q "filetype plugin on" /etc/vimrc \
|| echo -e "\nfiletype plugin on" >>/etc/vimrc
%postun
if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
cd %{_datadir}/vim/vimfiles/doc
vim -u NONE -esX -c "helptags ." -c quit
fi
%posttrans
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%files
%defattr(-,root,root,-)
%doc README.otl2html README.otl_handler README.Fedora LICENSE TODO.otl
%doc examples CHANGELOG
%config(noreplace) %{_sysconfdir}/vimoutlinerrc
#%_{_bindir}/otl2html
%{_bindir}/votl_maketags
%{_datadir}/vim/vimfiles/*/*
%{_datadir}/mime/packages/vimoutliner.xml
%{_mandir}/man1/*.1.gz
%changelog
* Wed Nov 23 2016 Petr Lautrbach <plautrba@redhat.com> - 0.4.0-1
- Update to 0.4.0 release
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Dec 05 2014 Matej Cepl <mcepl@redhat.com> - 0.3.7-6
- Reverse intermediate commits which broke the build.
* Thu Oct 02 2014 Rex Dieter <rdieter@fedoraproject.org> 0.3.7-5
- update mime scriptlets
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Apr 06 2014 Matěj Cepl <mcepl@redhat.com> - 0.3.7-3
- Update to the upstream release.
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.3.6-4
- Perl 5.18 rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri May 18 2012 Matěj Cepl <mcepl@redhat.com> - 0.3.6-1
- New upstream and new upstream version.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jan 06 2010 Matěj Cepl <mcepl@redhat.com> - 0.3.4-13
- Fix vimoutliner-mc-build.patch not to set maplocalleader
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Sep 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3.4-10
- fix license tag
* Tue Apr 3 2007 Matej Cepl <mcepl@redhat.com> - 0.3.4-9
- changed BuildRoot to more sane value, now it is allowed.
* Mon Jan 8 2007 Matěj Cepl <mcepl@redhat.com> 0.3.4-8
- changed named to vim-vimoutliner to follow Fedora Naming
Guidelines.
* Mon Dec 11 2006 Matěj Cepl <mcepl@redhat.com> 0.3.4-7
- package should own only files in /usr/share/vim/vimfiles/*/
directories, not the directory itself. Unfortunately, it is bad
hack, because /usr/share/vim/vimfiles directory itself is not
owned by any package (see bug no. 219154).
- made comments about origin of additional Sources.
- cp gets additional -p
- calling of update-desktop-database removed
- removed helpztags
* Mon Dec 4 2006 Matěj Cepl <mcepl@redhat.com> 0.3.4-6
- other ugly Debianism: don't put additional files into diff,
when we could have another source file.
- again fixed problem with levels starting with non-ASCII
character
* Sat Dec 2 2006 Matěj Cepl <mcepl@redhat.com> 0.3.4-5
- No macros in changelog anymore.
- Also there are no any <TAB>s in this file.
- Package doesn't own directories in %%files when not required.
- Sources have URLs when possible.
* Tue Nov 28 2006 Matěj Cepl <mcepl@redhat.com> 0.3.4-4
- Created Makefile for installation (so we could offer it upstream).
- compression of manpages is done automagically by rpmbuild, no need
to do it ourselves.
* Sat Nov 11 2006 Matěj Cepl <mcepl@redhat.com> 0.3.4-3
- Finished Fedorization of originally README.Debian
- added otl2html and otl_handler to examples/ subdirectory of
%%doc.
- fixed manpages (don't install manpages for scripts we don't
carry).
* Wed Nov 8 2006 Matěj Cepl <mcepl@redhat.com> 0.3.4-2
- Fixed paths in ftplugin/vo_base.vim so that additional plugins
actually load when requested.
* Tue Nov 7 2006 Matěj Cepl <mcepl@redhat.com> 0.3.4-1
- Initial build.

31
vimoutliner-Makefile Normal file
View file

@ -0,0 +1,31 @@
DESTDIR=$HOME/.vimoutliner
all: build
install: install-noarch install-man
install-noarch:
install -m a+rx,u+w -d $(DESTDIR)/usr/share/vim/vimfiles/ftplugin
install -p -m a+r,u+w ftplugin/votl*.vim \
$(DESTDIR)/usr/share/vim/vimfiles/ftplugin/
install -m a+rx,u+w -d $(DESTDIR)/usr/share/vim/vimfiles/syntax
install -p -m a+r,u+w syntax/votl*.vim \
$(DESTDIR)/usr/share/vim/vimfiles/syntax/
install -m a+rx,u+w -d $(DESTDIR)/usr/share/vim/vimfiles/ftdetect
install -p -m a+r,u+w ftdetect/votl*.vim \
$(DESTDIR)/usr/share/vim/vimfiles/ftdetect/
install -m a+rx,u+w -d $(DESTDIR)/usr/share/vim/vimfiles/doc
install -p -m a+r,u+w README.detailed \
$(DESTDIR)/usr/share/vim/vimfiles/doc/votl.txt
install -m a+rx,u+w -d $(DESTDIR)/usr/bin
install -p -m a+rx,u+w vimoutliner/scripts/votl_maketags.pl \
$(DESTDIR)/usr/bin/votl_maketags
install-man:
install -m a+rx,u+w -d $(DESTDIR)/usr/share/man/man1/
# don't install manpages for non-installed scripts
install -p -m a+r,u+w {otl2html,votl_maketags}.1 \
$(DESTDIR)/usr/share/man/man1/
build:
/bin/true

57
vimoutliner-README.Fedora Normal file
View file

@ -0,0 +1,57 @@
vimoutliner for Fedora
----------------------
1) Do not, I repeat, DO NOT follow installation instructions in
the upstream vo_readme.txt (which is installed as help :he
vo-install). It is not necessary (Fedora package should do all
installation itself) and locations of many files has been
changed to follow needs of one centralized installation. If
you want to know where everything is located, run
rpm -ql vim-vimoutliner
2) Upstream documentation (installed as :he vo) mentions ,, as
the prefix to most VO commands. In reality, even the upstream
package actually uses the native Vim <localleader> variable,
which is set to \ (backslash) by default, so that a command
listed in the README file as ,,B -- "Make body text start with
a space", is actually executed when you type \B (with default
defintion of <localleader>).
If you want to use different localleader uncomment in
/etc/vimoutlinerrc the following line and change the value
of the variable to whatever you want.
"let maplocalleader = ",," " this is prepended to VO key
3) For information how to use vimoutliner, you can use vim help
under :he vimoutliner.
4) Two very useful plugins for VO -- hoist and checkbox -- ARE
enabled by default. Their status could be changed by changes
in the global variable g:vo_modules_load either in the VO
global configuration file /etc/vimoutlinerrc or in
personal configuration file ~/.vimoutlinerrc.
Matej
(additional information from the upstream vo_INSTALL.TXT file):
Feedback
Any feedback concerning these scripts or VimOutliner should be
sent to the project's email list (of course, all feedback
concerning bugs in packaging of this package should still go to
the Red Hat Bugzilla http://bugzilla.redhat.com component
vim-vimoutliner).
Participation
If you'd like to help with the development, testing and/or
documentation of VimOutliner, please join the mailing list. You
can do so here:
http://www.lists.vimoutliner.org/mailman/listinfo/vimoutliner
or by sending email to vimoutliner-request@vimoutliner.org with
word "subscribe" in Subject: line of the message.
Have fun!
Noel
" vim:set nobackup tw=65 fo=tcqn ai:

BIN
vimoutliner-local.tar.bz2 Normal file

Binary file not shown.