Hello community, here is the log from the commit of package perl-Prima for openSUSE:Factory checked in at 2015-04-18 10:39:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Prima (Old) and /work/SRC/openSUSE:Factory/.perl-Prima.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Prima" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Prima/perl-Prima.changes 2015-02-03 15:35:12.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Prima.new/perl-Prima.changes 2015-04-18 10:39:44.000000000 +0200 @@ -1,0 +2,16 @@ +Tue Apr 14 20:07:03 UTC 2015 - [email protected] + +- updated to 1.43 + see /usr/share/doc/packages/perl-Prima/Changes + + 1.43 2015-04-10 + - Rewrite font test and polish rough ends in xft font handling + - Copy images to clipboard so that GTK recognizes them + + 1.42 2015-03-11 + - Tests became TAP compliant and using Prima::Test + - Jpeg exif orientation support added + - Scrollbar overriding properties added for scroller widgets +- remove heavily outdated docs and VB-decent.diff + +------------------------------------------------------------------- Old: ---- Prima-1.41.tar.gz Prima.pdf.bz2 VB-decent.diff VB_classes-decent.gif New: ---- Prima-1.43.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Prima.spec ++++++ --- /var/tmp/diff_new_pack.6mWscV/_old 2015-04-18 10:39:45.000000000 +0200 +++ /var/tmp/diff_new_pack.6mWscV/_new 2015-04-18 10:39:45.000000000 +0200 @@ -17,87 +17,69 @@ Name: perl-Prima +Version: 1.43 +Release: 0 +#Upstream: SUSE-Public-Domain +%define cpan_name Prima +Summary: Perl Graphic Toolkit +License: BSD-2-Clause +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Prima/ +Source0: http://www.cpan.org/authors/id/K/KA/KARASIK/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +Patch0: gcc-warnings.patch +Patch1: Prima-GenericEvent.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +%{perl_requires} +# MANUAL BEGIN BuildRequires: giflib-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel -BuildRequires: perl BuildRequires: xkeyboard-config BuildRequires: xorg-x11 BuildRequires: xorg-x11-Xvfb BuildRequires: xorg-x11-devel %define X_display ":98" Requires: xorg-x11 -Version: 1.41 -Release: 0 -Summary: A Perl toolkit for multi-platform GUI development -License: BSD-2-Clause -Group: Development/Libraries/Perl -Url: http://prima.eu.org -Source: http://www.cpan.org/authors/id/K/KA/KARASIK/Prima-%{version}.tar.gz -Source1: VB_classes-decent.gif -Source2: Prima.pdf.bz2 -Patch: VB-decent.diff -Patch2: Prima-GenericEvent.patch -Patch3: gcc-warnings.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: perl-base = %perl_version +# MANUAL END %description -Prima is an extensible Perl toolkit for multi-platform GUI development. -The toolkit contains a rich set of standard widgets and has emphasis on -2D image processing tasks. A Perl program using PRIMA looks and behaves -identically on X, Win32 and OS/2. The toolkit includes VB, a visual -builder and a graphic POD viewer. +The toolkit is combined from two basic set of classes - core and external. +The core classes are coded in C and form a base line for every Prima object +written in perl. The usage of C is possible together with the toolkit; +however, its full power is revealed in the perl domain. The external +classes present easily expandable set of widgets, written completely in +perl and communicating with the system using Prima library calls. %prep -%setup -q -n Prima-%{version} -cp %{S:1} Prima/VB/classes.gif -cp %{S:2} . -bunzip2 Prima.pdf.bz2 -%patch -p1 -%patch2 -%patch3 -p1 -# patch creates a .orig file. Our Installer is so greedy ... -rm -f Prima/VB/VB.pl.orig +%setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 +%patch0 -p1 +%patch1 %build -perl Makefile.PL -## site_perl is not allowed anymore in SuSE Linux. -perl -i -pe 's{/site_perl/}{/vendor_perl/}g' Makefile -make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS -Wall" -(ldd auto/Prima/Prima.so | grep -q libgif ) || echo "WARNING: gif codec required for VB" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__make} %{?_smp_mflags} %check -############################################# -### Launch a virtual framebuffer X server ### -############################################# -export DISPLAY=%{X_display} -Xvfb %{X_display} >& Xvfb.log & -trap "kill $! || true" EXIT -sleep 10 -make test +%{__make} test %install %perl_make_install +%perl_process_packlist +# MANUAL BEGIN ## oops, Prima/Config.pm must not contain BUILD_ROOT find $RPM_BUILD_ROOT -name 'Config.pm' -print0 | xargs -0 perl -i -pe "s{\\Q$RPM_BUILD_ROOT}"'{}g' ### ### should these go to a perl-Prima-devel ? find $RPM_BUILD_ROOT/%{perl_vendorarch} -name \*.h | xargs -t rm -%perl_process_packlist - -%clean -rm -rf $RPM_BUILD_ROOT +# MANUAL END +%perl_gen_filelist -%files -%defattr(-,root,root) -%doc Copying README Prima.pdf -%doc %{_mandir}/man?/* -%{_bindir}/* -%dir %{perl_vendorarch}/Prima -%{perl_vendorarch}/gencls.pod -%{perl_vendorarch}/Prima.pm -%{perl_vendorarch}/Prima/* -%{perl_vendorarch}/auto/* +%files -f %{name}.files +%defattr(-,root,root,755) +%doc AbstractMenu.cls AccelTable.cls Application.cls Changes Clipboard.cls Component.cls Copying DeviceBitmap.cls Drawable.cls examples File.cls Icon.cls Image.cls Menu.cls Object.cls Popup.cls Printer.cls README Timer.cls Types.cls Utils.cls Widget.cls Window.cls %changelog ++++++ Prima-1.41.tar.gz -> Prima-1.43.tar.gz ++++++ ++++ 7604 lines of diff (skipped) ++++++ cpanspec.yml ++++++ --- description_paragraphs: 1 #no_testing: broken upstream patches: Prima-GenericEvent.patch: gcc-warnings.patch: -p1 preamble: |- BuildRequires: giflib-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: xkeyboard-config BuildRequires: xorg-x11 BuildRequires: xorg-x11-Xvfb BuildRequires: xorg-x11-devel %define X_display ":98" Requires: xorg-x11 #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL post_install: |- ## oops, Prima/Config.pm must not contain BUILD_ROOT find $RPM_BUILD_ROOT -name 'Config.pm' -print0 | xargs -0 perl -i -pe "s{\\Q$RPM_BUILD_ROOT}"'{}g' ### ### should these go to a perl-Prima-devel ? find $RPM_BUILD_ROOT/%{perl_vendorarch} -name \*.h | xargs -t rm # sed on %{name}.files license: BSD-2-Clause #skip_noarch: 1 #custom_build: - #./Build build flags=%{?_smp_mflags} --myflag
