[Bug 479903] New: gdesklets plug-in, Cycle through a collection of pictures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx
        ReportedBy: bioinfornatics@xxxxxxxxx
         QAContact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: notting@xxxxxxxxxx, fedora-package-review@xxxxxxxxxx
   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-%{version}.tar.gz
Source1:       
http://www.gdesklets.de/files/controls/ImageSlideShow/ImageSlideShow-0.8.tar.gz

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@xxxxxxxxx> - 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.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]