Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dmacvicar
picasa
picasa.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File picasa.spec of Package picasa
Name: picasa Version: 3.8 Release: 0 Group: Productivity/Graphics/Other License: Proprietary; includes substantial Free Software components, notably the Wine Project. URL: http://picasa.google.com/linux/ Summary: Picasa for Linux Source0: picasa-3.0-current.i386.rpm Source1: picasa38-setup.exe BuildRequires: coreutils build wine BuildRequires: xorg-x11-Xvfb BuildRequires: fdupes %define X_display ":98" BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 AutoReqProv: off Requires: lsb >= 3.1 Requires: lsb-core-ia32 >= 3.0 Requires: libasound.so.2 Requires: libaudiofile.so.0 Requires: libcups.so.2 Requires: libesd.so.0 Requires: libexif.so.12 Requires: libfreetype.so.6 Requires: libgphoto2.so.2 Requires: libsane.so.1 Requires: libXau.so.6 Requires: libXmu.so.6 Requires: libXpm.so.4 Requires: libxslt.so.1 Requires: libXxf86vm.so.1 Requires: /bin/sh #rpmlib(PartialHardlinkSets) <= 4.0.4-1 #rpmlib(PayloadFilesHavePrefix) <= 4.0-1 #rpmlib(CompressedFileNames) <= 3.0.4-1 %description Image management application from Google Picasa is software that helps you instantly find, edit and share all the pictures on your PC. Every time you open Picasa, it automatically locates all your pictures (even ones you forgot you had) and sorts them into visual albums organized by date with folder names you will recognize. You can drag and drop to arrange your albums and make labels to create new groups. Picasa makes sure your pictures are always organized. Picasa also makes advanced editing simple by putting one-click fixes and powerful effects at your fingertips. And Picasa makes it a snap to share your pictures - you can email, print photos, make gift CDs, post pictures on your blog, and even share your photos online with Picasa Web Albums. %prep %build %install ############################################# ### Launch a virtual framebuffer X server ### ############################################# export DISPLAY=%{X_display} Xvfb %{X_display} >& Xvfb.log & trap "kill $! || true" EXIT echo "Waiting for X server to come up..." sleep 10 # setup a tmp home for wine TMPWINEDIR=$(mktemp -d) export WINEPREFIX=${TMPWINEDIR} # Install Picasa in unattended mode wine %{SOURCE1} /S /L # picasa install launches other processes... echo "Waiting for any installer forked processes.." sleep 10 pushd %{buildroot} unrpm %{SOURCE0} pushd "opt/google/picasa/3.0/wine/drive_c/Program Files/Google" rm -rf Picasa3 # move the installed new Picasa over the official one mv "${TMPWINEDIR}/drive_c/Program Files"*"/Google/Picasa3" . popd # KDE3, are you serious? rm -rf opt/kde3 popd # cleanup tmp wine dir rm -rf "${TMPWINEDIR}" chmod -R go+rX "%{buildroot}/opt/" L="$PWD/%{name}.lang" B=$(cd "%{buildroot}"; echo -n "/"; /bin/ls -1d "opt/google/picasa/3.0/bin"/xdg-user-dirs-*/"share/locale") echo -n >"$L" pushd "%{buildroot}${B}" /bin/ls -1 */LC_MESSAGES/*.mo | while read f; do [ -e "$f" ] || continue l=$(echo "$f" | cut -f 1 -d /) echo "%lang($l) %dir ${B}/${l}" >> "$L" echo "%lang($l) %dir ${B}/${l}/LC_MESSAGES" >> "$L" echo "%lang($l) ${B}/${f}" >> "$L" done popd %fdupes -s "%{buildroot}/opt/google/picasa" %files -f "%{name}.lang" %defattr(-,root,root) %dir /opt/google %dir /opt/google/picasa %dir /opt/google/picasa/3.0 %dir /opt/google/picasa/3.0/bin /opt/google/picasa/3.0/bin/*.sh /opt/google/picasa/3.0/bin/icons /opt/google/picasa/3.0/bin/killpicasa /opt/google/picasa/3.0/bin/picasa /opt/google/picasa/3.0/bin/picasafontcfg /opt/google/picasa/3.0/bin/picasasplash /opt/google/picasa/3.0/bin/setpicasascreensaver /opt/google/picasa/3.0/bin/showpicasascreensaver /opt/google/picasa/3.0/bin/wrapper /opt/google/picasa/3.0/bin/xdg-utils-* %dir /opt/google/picasa/3.0/bin/xdg-user-dirs-* %dir /opt/google/picasa/3.0/bin/xdg-user-dirs-*/share %dir /opt/google/picasa/3.0/bin/xdg-user-dirs-*/share/locale /opt/google/picasa/3.0/bin/xdg-user-dirs-*/bin /opt/google/picasa/3.0/bin/xdg-user-dirs-*/etc /opt/google/picasa/3.0/desktop %doc /opt/google/picasa/3.0/*GPL* %doc /opt/google/picasa/3.0/LICENSE* %doc /opt/google/picasa/3.0/README /opt/google/picasa/3.0/lib /opt/google/picasa/3.0/lib64 /opt/google/picasa/3.0/wine %{_bindir}/picasa /usr/lib/browser-plugins/npPicasa3.so %dir /usr/lib/mozilla %dir /usr/lib/mozilla/plugins /usr/lib/mozilla/plugins/npPicasa3.so /usr/lib64/browser-plugins/npPicasa3.so %dir /usr/lib64/mozilla %dir /usr/lib64/mozilla/plugins /usr/lib64/mozilla/plugins/npPicasa3.so %dir /usr/share/apps %dir /usr/share/apps/konqueror %dir /usr/share/apps/konqueror/servicemenus /usr/share/apps/konqueror/servicemenus/picasa-kdehal.desktop
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor