]> git.pld-linux.org Git - packages/perl-Syntax-Highlight-Engine-Kate.git/commitdiff
- new auto/th/perl-Syntax-Highlight-Engine-Kate-0.07-1 auto/ti/perl-Syntax-Highlight-Engine-Kate-0.07-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 29 Oct 2012 19:17:17 +0000 (20:17 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 29 Oct 2012 19:17:17 +0000 (20:17 +0100)
perl-Syntax-Highlight-Engine-Kate.spec [new file with mode: 0644]

diff --git a/perl-Syntax-Highlight-Engine-Kate.spec b/perl-Syntax-Highlight-Engine-Kate.spec
new file mode 100644 (file)
index 0000000..17cd4e5
--- /dev/null
@@ -0,0 +1,79 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%define                pdir    Syntax
+%define                pnam    Highlight-Engine-Kate
+%include       /usr/lib/rpm/macros.perl
+Summary:       Syntax::Highlight::Engine::Kate - a port to Perl of the syntax highlight engine of the Kate texteditor
+Summary(pl.UTF-8):     Syntax::Highlight::Engine::Kate - perlowy port silnika podświetlania składni z edytora Kate
+Name:          perl-Syntax-Highlight-Engine-Kate
+Version:       0.07
+Release:       1
+# same as perl 5.8.3+
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/Syntax/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 4d107e62c44ce9306600d0fcf6fba0d2
+URL:           http://search.cpan.org/dist/Syntax-Highlight-Engine-Kate/
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.59
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Term-ANSIColor
+BuildRequires: perl-Test-Differences >= 0.61
+BuildRequires: perl-Test-Simple >= 0.88
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Syntax::Highlight::Engine::Kate is a port to Perl of the syntax
+highlight engine of the Kate text editor.
+
+The language XML files of Kate have been rewritten to Perl modules
+using a script. These modules function as plugins to this module.
+
+%description -l pl.UTF-8
+Syntax::Highlight::Engine::Kate to perlowy port silnika podświetlania
+składni edytora Kate.
+
+Pliki języków edytora Kate w formacie XML zostały przepisane do
+modułów Perla przy użyciu skryptu. Funkcjonują jako wtyczki dla tego
+modułu.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a eg $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a samples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%dir %{perl_vendorlib}/Syntax
+%dir %{perl_vendorlib}/Syntax/Highlight
+%dir %{perl_vendorlib}/Syntax/Highlight/Engine
+%{perl_vendorlib}/Syntax/Highlight/Engine/Kate.pm
+%{perl_vendorlib}/Syntax/Highlight/Engine/Kate
+%{_mandir}/man3/Syntax::Highlight::Engine::Kate*.3pm*
+%{_examplesdir}/%{name}-%{version}
This page took 0.079573 seconds and 4 git commands to generate.