SPECS: perl-Imlib2.spec (NEW) - NEW, it's not the same as perl-Ima...

sparky sparky at pld-linux.org
Sat Jul 9 20:35:45 CEST 2005


Author: sparky                       Date: Sat Jul  9 18:35:45 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- NEW, it's not the same as perl-Image-Imlib2
- status: builds and works, lacks of documentation but examples are OK

---- Files affected:
SPECS:
   perl-Imlib2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Imlib2.spec
diff -u /dev/null SPECS/perl-Imlib2.spec:1.1
--- /dev/null	Sat Jul  9 20:35:45 2005
+++ SPECS/perl-Imlib2.spec	Sat Jul  9 20:35:40 2005
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	tests	# perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Imlib2
+%define		pnam	Object
+Summary:	Perl extention to Imlib2
+Name:		perl-Imlib2
+%define	_pkgname	Imlib2_Perl
+Version:	0.02
+%define	_snap	20050701
+Release:	0.%{_snap}.0.1
+# not specified; should be same as perl ?
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+#Source0:	http://dl.sourceforge.net/enlightenment/%{_pkgname}-%{version}.tar.gz
+Source0:	ftp://ftp.sparky.homelinux.org/snaps/enli/misc/%{_pkgname}-%{_snap}.tar.gz
+# Source0-md5:	286d85a0648e95062b2e8d6d11be1fa5
+URL:		http://enlightenment.org/
+BuildRequires:	freetype1-devel
+BuildRequires:	imlib2-devel
+BuildRequires:	libjpeg-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 Imlib2. Imlib2 can be very usefull in CGI scripts
+and, as examples shows, with GTK. Imlib2::Object permits working
+directly on files.
+
+%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 examples/* Imlib2/*.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorarch}/Imlib2.pm
+%{perl_vendorarch}/Imlib2
+%dir %{perl_vendorarch}/auto/Imlib2
+%{perl_vendorarch}/auto/Imlib2/Imlib2.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Imlib2/Imlib2.so
+%{perl_vendorarch}/auto/Imlib2/autosplit.ix
+%{_mandir}/man3/*
+%{_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  2005/07/09 18:35:40  sparky
+- NEW, it's not the same as perl-Image-Imlib2
+- status: builds and works, lacks of documentation but examples are OK
+
================================================================



More information about the pld-cvs-commit mailing list