commit 8964f203df2a8a808eb52a1afd66c8aa4aa75e953c213b83880ef5120bfa134a Author: James Oakley Date: Thu Nov 1 17:22:31 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exception-Class?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Exception-Class-1.23.tar.bz2 b/Exception-Class-1.23.tar.bz2 new file mode 100644 index 0000000..7e2dccc --- /dev/null +++ b/Exception-Class-1.23.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff3cb1e0e4743e6e88fe3eb64e6f5b0cd77e54e195ed0995080d835c3302b5eb +size 14647 diff --git a/perl-Exception-Class.spec b/perl-Exception-Class.spec new file mode 100644 index 0000000..ed6e26f --- /dev/null +++ b/perl-Exception-Class.spec @@ -0,0 +1,48 @@ +%define modname Exception-Class +Name: perl-%{modname} +Version: 1.23 +Release: 1 +Summary: A Module That Allows You to Declare Real Exception Classes in Perl +Requires: perl = %{perl_version} +BuildRequires: perl +License: GPL/Artistic +Group: Development/Libraries/Perl +Source: %{modname}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-root + +%description +This module allows you to declare hierarchies of exception classes for use in +your code. It also provides a simple exception class that it uses as the +default base class for all other exceptions. + +Authors: +-------- + Dave Rolsky + +%prep +%setup -q -n %{modname}-%{version} + +%build +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +make +make test + +%install +make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_process_packlist + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root) +%doc Changes LICENSE README +%doc %{_mandir}/man?/* +#%{perl_vendorlib}/ +#%{perl_vendorarch}/auto/ +/var/adm/perl-modules/%{name} + +%changelog + +* Thu Nov 01 2007 - James Oakley - 1.23-1 +- Initial release