Compare commits
No commits in common. "rawhide" and "f26" have entirely different histories.
10 changed files with 317 additions and 1 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/vimoutliner-0.3.7.tar.gz
|
||||
/vimoutliner-0.4.0.tar.gz
|
||||
|
|
@ -1 +0,0 @@
|
|||
Orphaned for 6+ weeks
|
||||
BIN
otl2html-1.40.tgz
Normal file
BIN
otl2html-1.40.tgz
Normal file
Binary file not shown.
BIN
otl_handler.tgz
Normal file
BIN
otl_handler.tgz
Normal file
Binary file not shown.
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
7a7ff35e44fb0b437bf129ae833bb26c vimoutliner-0.4.0.tar.gz
|
||||
13
vim-vimoutliner.metainfo.xml
Normal file
13
vim-vimoutliner.metainfo.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright 2018 Matěj Cepl <mcepl@fedoraproject.org> -->
|
||||
<component type="addon">
|
||||
<id>vim-vimoutliner</id>
|
||||
<extends>gvim.desktop</extends>
|
||||
<name>Vimoutliner</name>
|
||||
<summary>An outline processor</summary>
|
||||
<url type="homepage">
|
||||
https://github.com/vimoutliner/vimoutliner</url>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0+</project_license>
|
||||
<update_contact>mcepl_at_fedoraproject.org</update_contact>
|
||||
</component>
|
||||
213
vim-vimoutliner.spec
Normal file
213
vim-vimoutliner.spec
Normal file
|
|
@ -0,0 +1,213 @@
|
|||
%define otl2html_version 1.40
|
||||
%global upstream_name vimoutliner
|
||||
|
||||
Name: vim-%{upstream_name}
|
||||
Version: 0.4.0
|
||||
Release: 8%{?dist}
|
||||
Summary: Script for building an outline editor on top of Vim
|
||||
# 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
|
||||
Source6: vim-vimoutliner.metainfo.xml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-generators
|
||||
Requires: vim-enhanced perl-interpreter python2
|
||||
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
|
||||
|
||||
# install app metadata
|
||||
install -p -D %{SOURCE6} %{buildroot}%{_datadir}/appdata/%{name}.metainfo.xml
|
||||
|
||||
%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
|
||||
%{_datadir}/appdata/*.xml
|
||||
|
||||
%changelog
|
||||
* Fri Feb 16 2018 Matěj Cepl <mcepl@redhat.com> - 0.4.0-8
|
||||
- Add AppStream metadata
|
||||
(https://www.freedesktop.org/wiki/Distributions/AppStream/, fixes #1128821)
|
||||
|
||||
* Fri Feb 16 2018 Matěj Cepl <mcepl@redhat.com> - 0.4.0-7
|
||||
- Remove Group: metadata, it is really unnecessary.
|
||||
|
||||
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.4.0-6
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Thu Jul 13 2017 Petr Pisar <ppisar@redhat.com> - 0.4.0-3
|
||||
- perl dependency renamed to perl-interpreter
|
||||
<https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* 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
31
vimoutliner-Makefile
Normal 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
57
vimoutliner-README.Fedora
Normal 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
BIN
vimoutliner-local.tar.bz2
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue