Compare commits

...

10 Commits

Author SHA256 Message Date
9f4947a804 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-VimColor?expand=0&rev=11 2020-10-01 20:25:17 +00:00
7fda9433f2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-VimColor?expand=0&rev=10 2020-10-01 20:24:46 +00:00
036da5aa32 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-VimColor?expand=0&rev=9 2020-10-01 20:22:04 +00:00
53c5d4dd5b OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-VimColor?expand=0&rev=8 2020-10-01 20:21:54 +00:00
cb9fa231cd Accepting request 838808 from home:M0ses:branches:devel:languages:perl
updated to 0.29
   see /usr/share/doc/packages/perl-Text-VimColor/Changes

- update to 0.29
- removed deprecated perl macros
- removed clean section
- added check section

OBS-URL: https://build.opensuse.org/request/show/838808
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-VimColor?expand=0&rev=7
2020-10-01 20:21:15 +00:00
Pascal Bleser
9a2b6c9249 0.17
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-VimColor?expand=0&rev=6
2012-04-01 17:37:29 +00:00
Stephan Kulow
7c02506e64 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-VimColor?expand=0&rev=5 2011-11-11 11:23:51 +00:00
Stephan Kulow
1fb33afdfe buildrequire perl-macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-VimColor?expand=0&rev=4
2010-12-05 12:24:56 +00:00
Stephan Kulow
82420d540e - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-VimColor?expand=0&rev=3
2010-11-29 19:00:10 +00:00
Stephan Kulow
5c8e6a1f1f add changes files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-VimColor?expand=0&rev=2
2010-11-29 18:05:52 +00:00
5 changed files with 169 additions and 55 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:daea9dcdd1ad3d5c18c843e13f1508540e5bc838a908e59a4e90bfd1ce9a52fa
size 20375

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e20d3202c888af3d082a2245db5e87ee774e96fcf6708a30530f2eeb1a90988e
size 58409

33
cpanspec.yml Normal file
View File

@@ -0,0 +1,33 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
preamble: |-
BuildRequires: vim >= 6
BuildRequires: vim-data
BuildRequires: perl(Test::File::ShareDir::Dist)
Requires: vim >= 6
Recommends: vim-data >= 6
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -0,0 +1,34 @@
-------------------------------------------------------------------
Wed Sep 30 13:42:57 UTC 2020 - Frank Schreiner <FSchreiner@suse.com>
- update to 0.29
- removed deprecated perl macros
- removed clean section
- added check section
-------------------------------------------------------------------
Sun Apr 01 17:28:19 UTC 2012 - pascal.bleser@opensuse.org
- update to 0.17:
* minor installation and test fixes for older systems
- changes from 0.16:
* simplify version detection using vim script
- changes from 0.15:
* remove extraneous vim statement that caused delays on some files
* ower Term::ANSIColor requirement to 1.03 and make bright colors normal if
Term::ANSIColor version < 3
-------------------------------------------------------------------
Mon Nov 29 18:31:22 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Mon Nov 29 18:00:58 UTC 2010 - coolo@novell.com
- called spec2changelog
-------------------------------------------------------------------
Sun Mar 15 00:00:00 UTC 2009 - pascal.bleser@opensuse.org
- new package

View File

@@ -1,74 +1,128 @@
# norootforbuild
# vim: set ts=4 sw=4 et:
#
# spec file for package perl-Text-VimColor
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Name: perl-Text-VimColor
Version: 0.11
Release: 0
Summary: Perl Module to syntax color Text in HTML or XML using Vim
Source: http://search.cpan.org/CPAN/authors/id/G/GE/GEOFFR/Text-VimColor-%{version}.tar.gz
URL: http://search.cpan.org/dist/Text-VimColor/
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl perl-Path-Class
Requires: vim vim-data
BuildRequires: make perl perl-Path-Class
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Text-VimColor
Name: perl-Text-VimColor
Version: 0.29
Release: 0
%define cpan_name Text-VimColor
Summary: Syntax highlight text using Vim
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RW/RWSTAUNER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::ShareDir)
BuildRequires: perl(File::ShareDir::Install) >= 0.06
BuildRequires: perl(Path::Class) >= 0.04
BuildRequires: perl(Test::File::ShareDir::Dist)
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(File::ShareDir)
Requires: perl(Path::Class) >= 0.04
Recommends: perl(Term::ANSIColor) >= 3
%{perl_requires}
# MANUAL BEGIN
BuildRequires: vim >= 6
BuildRequires: vim-data
Requires: vim >= 6
Recommends: vim-data >= 6
BuildRequires: perl(Test::File::ShareDir::Dist)
# MANUAL END
%description
This module tries to markup text files according to their syntax. It can be
used to produce web pages with pretty-printed colourful source code samples.
used to produce web pages with pretty-printed colorful source code samples.
It can produce output in the following formats:
* HTML
Valid XHTML 1.0, with the exact coloring and style left to a CSS stylesheet
* XML
Pieces of text are marked with XML elements in a simple vocabulary, which
can be converted to other formats, for example, using XSLT
* Perl array
A simple Perl data structure, so that Perl code can be used to turn it into
whatever is needed
* ANSI Escape Sequences
A string marked with Term::ANSIColor suitable for printing to a terminal.
This module works by running the Vim text editor and getting it to apply
its excellent syntax highlighting (aka 'font-locking') to an input file,
and mark pieces of text according to whether it thinks they are comments,
keywords, strings, etc. The Perl code then reads back this markup and
converts it to the desired output format.
This is an object-oriented module. To use it, create an object with the new
function (as shown in SYNOPSIS) and then call methods to get the markup
out.
Note that this package only contains the Perl modules. To use Text::VimColor
from the command-line, install the additional package "text-vimcolor".
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
make test
Authors:
--------
Geoff Richards <qef@laxan.com>
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%package -n text-vimcolor
Summary: Syntax Color Text in HTML or XML using Vim
Group: Development/Tools/Doc Generators
Requires: %{name} = %{version}-%{release}
Summary: Syntax Color Text in HTML or XML using Vim
Group: Development/Tools/Doc Generators
Requires: %{name} = %{version}-%{release}
%description -n text-vimcolor
The text-vimcolor command-line program tries to markup text files according to
their syntax. It can be used to produce web pages with pretty-printed
colourful source code samples.
Authors:
--------
Geoff Richards <qef@laxan.com>
%prep
%setup -q -n "Text-VimColor-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make
%install
%perl_make_install
%perl_process_packlist
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc ChangeLog README
%doc Changes corpus README share
%license LICENSE
%dir %{perl_vendorlib}/Text
%{perl_vendorlib}/Text/VimColor
%{perl_vendorlib}/Text/VimColor.pm
%dir %{perl_vendorarch}/auto/Text
%{perl_vendorarch}/auto/Text/VimColor
%doc %{perl_man3dir}/Text::VimColor.%{perl_man3ext}*
/var/adm/perl-modules/%{name}
%dir %{perl_vendorlib}/auto/share
%dir %{perl_vendorlib}/auto/share/dist
%{perl_vendorlib}/auto/share/dist/Text-VimColor
%files -n text-vimcolor
%defattr(-,root,root)
@@ -76,10 +130,3 @@ Authors:
%doc %{_mandir}/man1/text-vimcolor.1*
%changelog
* Sun Mar 15 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.11
- new package
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: