rpms/perl-GStreamer/devel perl-GStreamer.spec, NONE, 1.1 test.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Sat Sep 2 08:49:26 UTC 2006


Author: cweyl

Update of /cvs/extras/rpms/perl-GStreamer/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21097/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-GStreamer.spec test.patch 
Log Message:
auto-import perl-GStreamer-0.09-1.fc5 on branch devel from perl-GStreamer-0.09-1.fc5.src.rpm


--- NEW FILE perl-GStreamer.spec ---
Name:           perl-GStreamer
Version:        0.09
Release:        1%{?dist}
Summary:        GStreamer Perl module
License:        LGPL 
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/GStreamer/
Source0:        http://www.cpan.org/authors/id/T/TS/TSCH/GStreamer-%{version}.tar.gz

# see http://bugzilla.gnome.org/show_bug.cgi?id=348454
Patch0:         test.patch

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl(ExtUtils::Depends) >= 0.205
BuildRequires:  perl(ExtUtils::PkgConfig) >= 1.07
BuildRequires:  perl(Glib) >= 1.120
BuildRequires:  gstreamer-devel

Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
GStreamer makes everybody dance like crazy.  It provides the means to play,
stream, and convert nearly any type of media -- be it audio or video.
GStreamer wraps the GStreamer library in a nice and Perlish way, freeing 
the programmer from any memory management and object casting hassles.


%prep
%setup -q -n GStreamer-%{version}
%patch0 -p0

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
# note some 64-bit funkiness (but not failures):
# http://bugzilla.gnome.org/show_bug.cgi?id=352750
# http://bugzilla.gnome.org/show_bug.cgi?id=352753
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc ChangeLog doctypes gst.typemap LICENSE maps NEWS README TODO examples/
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/GStreamer*
%{_mandir}/man3/*

%changelog
* Wed Aug 23 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.09-1
- Specfile autogenerated by cpanspec 1.68.
- Initial spec file for F-E

test.patch:

--- NEW FILE test.patch ---
Index: t/GstValue.t
===================================================================
RCS file: /cvsroot/gtk2-perl/gtk2-perl-xs/GStreamer/t/GstValue.t,v
retrieving revision 1.2
diff -u -d -p -r1.2 GstValue.t
--- t/GstValue.t	25 Dec 2005 22:40:26 -0000	1.2
+++ t/GstValue.t	24 Aug 2006 22:18:32 -0000
@@ -8,7 +8,10 @@ use Test::More tests => 2;
 use Glib qw(TRUE FALSE);
 use GStreamer -init;
 
-my $time = 999986400; # 2001-09-09, 00:00
+# Use UTC to make sure the timestamp means the same everywhere.  Hopefully,
+# this works on most systems.
+$ENV{TZ} = "UTC";
+my $time = 999993600; # 2001-09-09, 00:00
 
 my $structure = {
   name => "urgs",


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-GStreamer/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	2 Sep 2006 08:49:15 -0000	1.1
+++ .cvsignore	2 Sep 2006 08:49:26 -0000	1.2
@@ -0,0 +1 @@
+GStreamer-0.09.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-GStreamer/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Sep 2006 08:49:15 -0000	1.1
+++ sources	2 Sep 2006 08:49:26 -0000	1.2
@@ -0,0 +1 @@
+4f6f27edded250b00055d076eb738ff5  GStreamer-0.09.tar.gz




More information about the fedora-extras-commits mailing list