Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: gdesklets plug-in, Cycle through a collection of pictures
https://bugzilla.redhat.com/show_bug.cgi?id=479903
Summary: gdesklets plug-in, Cycle through a collection of pictures Product: Fedora Version: 10 Platform: All OS/Version: Linux Status: NEW Keywords: Desktop Severity: medium Priority: low Component: Package Review AssignedTo: nobody@fedoraproject.org ReportedBy: bioinfornatics@gmail.com QAContact: extras-qa@fedoraproject.org CC: notting@redhat.com, fedora-package-review@redhat.com Estimated Hours: 0.0 Classification: Fedora
Created an attachment (id=328927) --> (https://bugzilla.redhat.com/attachment.cgi?id=328927) the rpm file
Cycle through a collection of pictures. Will display image captions (IPTC,Jpeg Comment, EXIF) if available.
The spec file: ----------------------------------------------------- Name: gdesklet-slideshow Version: 0.9 Release: 1%{?dist} Summary: Cycle through a collection of pictures Group: User Interface/Desktops License: GPL+ URL: http://www.gdesklets.de Source0: http://http://www.gdesklets.de/files/desklets/SlideShow/SlideShow-%%7Bversio... Source1: http://www.gdesklets.de/files/controls/ImageSlideShow/ImageSlideShow-0.8.tar...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch
%define _appname SlideShow %define _ctrlname ImageSlideShow
BuildRequires: python
Requires: gdesklets Requires: python-imaging
%description Cycle through a collection of pictures. Will display image captions (IPTC,Jpeg Comment, EXIF) if available.
%prep %setup -q -n %{_appname} tar -xf %{SOURCE1} -C ../
%build
%install rm -rf $RPM_BUILD_ROOT #need to install the control first mkdir -p $RPM_BUILD_ROOT/%{_datadir}/gdesklets/Controls/ImageSlideShow/ install -p -m644 ../ImageSlideShow/* $RPM_BUILD_ROOT/%{_datadir}/gdesklets/Controls/ImageSlideShow/. #add shebang and execution mode find $RPM_BUILD_ROOT/%{_datadir}/gdesklets/Controls/ImageSlideShow/. ( -name "*.py" ) -exec sed -i '1i#!/usr/bin/python' {} ; find $RPM_BUILD_ROOT/%{_datadir}/gdesklets/Controls/ImageSlideShow/. ( -name "*.py" ) | xargs chmod a+x
#install the display now mkdir -p $RPM_BUILD_ROOT/%{_datadir}/gdesklets/Displays/SlideShow/ cp -rp * $RPM_BUILD_ROOT/%{_datadir}/gdesklets/Displays/SlideShow/.
%clean rm -rf $RPM_BUILD_ROOT
%files %defattr(-,root,root,-) %doc LICENSE #%{_datadir}/gdesklets/ %{_datadir}/gdesklets/Controls/ImageSlideShow/ %{_datadir}/gdesklets/Displays/SlideShow/
%changelog * Mon Jan 12 2009 Jonathan MERCIER bioinfornatics@gmail.com - 0.9-1 - Initial Packaging for Fedora
-----------------------------------------------------
rpmlint issue: $ rpmlint ../RPMS/noarch/SlideShow-0.9-1.fc10.noarch.rpm Error: no installed packages by name ../RPMS/noarch/SlideShow-0.9-1.fc10.noarch.rpm 0 packages and 0 specfiles checked; 0 errors, 0 warnings.
$ rpmlint ../SRPMS/SlideShow-0.9-1.fc10.src.rpm Error: no installed packages by name ../SRPMS/SlideShow-0.9-1.fc10.src.rpm 0 packages and 0 specfiles checked; 0 errors, 0 warnings.