commit 07d606ecc210717a20e3ac6c9d69e7a435044d9d
Author: Jan Palus <at...@pld-linux.org>
Date:   Thu Oct 13 00:53:40 2016 +0200

    new

 vim-colors-solarized.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
---
diff --git a/vim-colors-solarized.spec b/vim-colors-solarized.spec
new file mode 100644
index 0000000..06e8460
--- /dev/null
+++ b/vim-colors-solarized.spec
@@ -0,0 +1,57 @@
+%define                colors  solarized
+%define                snap    20161013
+Summary:       Vim colorscheme: solarized
+Name:          vim-colors-%{colors}
+Version:       1.0.0
+Release:       0.%{snap}.1
+License:       Vim
+Group:         Applications/Editors/Vim
+Source0:       vim-colors-solarized-%{snap}.tar.gz
+# Source0-md5: 93213046ae69c8694ce35a7c0493ab3b
+URL:           https://github.com/altercation/vim-colors-solarized
+Requires:      vim-rt >= 4:7.4.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _vimdatadir     %{_datadir}/vim
+
+%description
+Vim colorscheme: solarized.
+
+%package doc
+Summary:       Documentation for %{colors} Vim colorscheme
+Requires(post,postun): /usr/bin/vim
+Requires:      %{name} = %{version}-%{release}
+Requires:      vim-rt >= 4:7.4.2054-2
+
+%description doc
+Documentation for %{colors} Vim colorscheme.
+
+%prep
+%setup -qn vim-colors-solarized
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/
+cp -pr autoload colors doc $RPM_BUILD_ROOT%{_vimdatadir}
+
+rm $RPM_BUILD_ROOT%{_vimdatadir}/doc/tags
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post doc
+%vim_doc_helptags
+
+%postun doc
+%vim_doc_helptags
+
+%files
+%defattr(644,root,root,755)
+%doc README.mkd
+%{_vimdatadir}/autoload/togglebg.vim
+%{_vimdatadir}/colors/solarized.vim
+
+%files doc
+%defattr(644,root,root,755)
+%{_vimdatadir}/doc/solarized.txt
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vim-colors-solarized.git/commitdiff/07d606ecc210717a20e3ac6c9d69e7a435044d9d

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to