SPECS: perl-Etk.spec (NEW) - NEW, it's preete cool, i'll have to l...
sparky
sparky at pld-linux.org
Fri Jul 7 03:35:11 CEST 2006
Author: sparky Date: Fri Jul 7 01:35:11 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- NEW, it's preete cool, i'll have to learn it
---- Files affected:
SPECS:
perl-Etk.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Etk.spec
diff -u /dev/null SPECS/perl-Etk.spec:1.1
--- /dev/null Fri Jul 7 03:35:11 2006
+++ SPECS/perl-Etk.spec Fri Jul 7 03:35:06 2006
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with tests # perform "make test" (fails for now)
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Etk
+
+%define _pkgname etk-perl
+Summary: Perl extention to Etk
+Name: perl-Etk
+Version: 0.01
+%define _snap 20060706
+Release: 0.%{_snap}.1
+# not specified, should be same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://sparky.homelinux.org/snaps/enli/e17/proto/%{_pkgname}-%{_snap}.tar.bz2
+# Source0-md5: 91b0ea2d43c5827184c45a8d8e4db170
+URL: http://enlightenment.org/
+BuildRequires: etk-devel
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Perl extention to Etk.
+
+%prep
+%setup -q -n %{_pkgname}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make} \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+cp -a etk_test/* test.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorarch}/Etk.pm
+%{perl_vendorarch}/Etk
+%dir %{perl_vendorarch}/auto/Etk
+%{perl_vendorarch}/auto/Etk/Etk.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Etk/Etk.so
+%{perl_vendorarch}/auto/Etk/autosplit.ix
+%{_mandir}/man3/Etk*
+%{_examplesdir}/%{name}-%{version}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/07/07 01:35:06 sparky
+- NEW, it's preete cool, i'll have to learn it
+
================================================================
More information about the pld-cvs-commit
mailing list