]> git.pld-linux.org Git - packages/perl-Type-Tiny.git/commitdiff
- updated to 1.012004 auto/th/perl-Type-Tiny-1.012004-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 2 Jun 2022 17:44:49 +0000 (19:44 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 2 Jun 2022 17:44:49 +0000 (19:44 +0200)
- separated Reply plugin (as perl-Reply-Plugin-TypeTiny) to avoid Reply dependency in main package

perl-Type-Tiny.spec

index f4eaccd337b6b087efab971cb483f0bf7afa60e7..09e1db5458c606d9b728529d1e42bd31cb2b2682 100644 (file)
@@ -1,24 +1,30 @@
 #
 # Conditional build:
-%bcond_without tests           # do not perform "make test"
+%bcond_without tests   # unit tests
 #
 %define                pdir    Type
 %define                pnam    Tiny
 Summary:       Type::Tiny - tiny, yet Moo(se)-compatible type constraint
+Summary(pl.UTF-8):     Type::Tiny - mały, ale zgodny z Moo(se) moduł ograniczeń typów
 Name:          perl-Type-Tiny
-Version:       1.010002
+Version:       1.012004
 Release:       1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-authors/id/T/TO/TOBYINK/Type-Tiny-%{version}.tar.gz
-# Source0-md5: e6f95814ebff168f747775e7bf320342
-URL:           http://search.cpan.org/dist/Type-Tiny/
+# Source0-md5: 7a1688c4de07a0ed481a1811e5e82e63
+URL:           https://metacpan.org/dist/Type-Tiny
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.17
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
 %if %{with tests}
-BuildRequires: perl-Exporter-Tiny >= 0.026
+BuildRequires: perl-Exporter-Tiny >= 1.000
+BuildRequires: perl-Test-Simple >= 0.96
 %endif
+Conflicts:     perl-Kavorka <= 0.013
+Conflicts:     perl-Types-ReadOnly <= 0.001
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -26,11 +32,21 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Type::Tiny is a tiny class for creating Moose-like type constraint
 objects which are compatible with Moo, Moose and Mouse.
 
-Maybe now we won't need to have separate MooseX, MouseX and MooX
-versions of everything? We can but hope...
+%description -l pl.UTF-8
+Type::Tiny to mała klasa do tworzenia obiektów ograniczeń typów w
+stylu Moose, będących zgodnych z Moo, Moose i Mouse.
 
-This documents the internals of Type::Tiny. Type::Tiny::Manual is a
-better starting place if you're new.
+%package -n perl-Reply-Plugin-TypeTiny
+Summary:       Reply::Plugin::TypeTiny - improved type constraint exceptions in Reply
+Summary(pl.UTF-8):     Reply::Plugin::TypeTiny - ulepszone wyjątki z ograniczeniami typów w Reply
+Group:         Development/Languages/Perl
+Requires:      %{name} = %{version}-%{release}
+
+%description -n perl-Reply-Plugin-TypeTiny
+This is a small plugin to improve error messages in Reply.
+
+%description -n perl-Reply-Plugin-TypeTiny -l pl.UTF-8
+Mała wtyczka poprawiająca komunikaty błędów w Reply.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -56,14 +72,23 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes CREDITS INSTALL NEWS README
+%doc COPYRIGHT CREDITS Changes NEWS README
 %{perl_vendorlib}/Devel/TypeTiny
 %{perl_vendorlib}/Error/TypeTiny.pm
 %{perl_vendorlib}/Error/TypeTiny
 %{perl_vendorlib}/Eval/TypeTiny.pm
-%{perl_vendorlib}/Reply/Plugin/TypeTiny.pm
 %{perl_vendorlib}/Test/TypeTiny.pm
 %{perl_vendorlib}/Type
 %{perl_vendorlib}/Types
-%{_mandir}/man3/*
+%{_mandir}/man3/Devel::TypeTiny::*.3*
+%{_mandir}/man3/Error::TypeTiny*.3*
+%{_mandir}/man3/Eval::TypeTiny.3*
+%{_mandir}/man3/Test::TypeTiny.3*
+%{_mandir}/man3/Type::*.3*
+%{_mandir}/man3/Types::*.3*
 %{_examplesdir}/%{name}-%{version}
+
+%files -n perl-Reply-Plugin-TypeTiny
+%defattr(644,root,root,755)
+%{perl_vendorlib}/Reply/Plugin/TypeTiny.pm
+%{_mandir}/man3/Reply::Plugin::TypeTiny.3*
This page took 0.159786 seconds and 4 git commands to generate.