Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
photocd
photocd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File photocd.spec of Package photocd
# # spec file for package photocd (Version 1.12) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: photocd BuildRequires: libnetpbm-devel libpcd-devel libtiff-devel tcsh update-desktop-files xorg-x11-devel License: GPL v2 or later Group: Productivity/Graphics/Convertors Provides: xpcd02 Requires: xv Autoreqprov: on Version: 1.12 Release: 1446 Summary: An image converter URL: http://bytesex.org/xpcd.html Source0: photocd-1.12.tar.gz Source1: xpcd-2.09.tar.bz2 Source2: xpcd.desktop Patch0: photocd-1.12-ia64.diff Patch1: xpcd-2.09-makefile.patch Patch2: xpcd-2.09-alias.patch Patch3: xpcd-2.09-gcc4.patch Patch4: xpcd-2.09-64arch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package includes an X11 interface and programs for converting Photo CD images into TARGA or BITMAP (Windows 3.1) format. Documentation can be found in /usr/share/doc/misc/photocd.doc. Additionally included is the program "hpcdtoppm" that converts Photo CD images to the PPM format. Authors: -------- Gerd Knorr <kraxel@cs.tu-berlin.de> Hadmut Danisch <danisch@ira.uka.de> %if "%(xft-config --prefix)" == "/usr" %define _xorg7libs %_lib %define _xorg7libshare share %define _xorg7pixmaps include %else %define _xorg7libs X11R6/%_lib %define _xorg7libshare X11R6/lib %define _xorg7pixmaps X11R6/include %endif %prep %setup -a 1 -q %patch cd xpcd-2.09 %patch1 %patch2 %patch3 %patch4 %build cd xpcd-2.09 #autoconf autoreconf --force --install CFLAGS="$RPM_OPT_FLAGS -Wall" %configure \ --prefix=%{_prefix} \ --x-includes=/usr/%{_xorg7pixmaps} \ --with-gimp=no \ --with-svga \ --with-jpeg \ --with-tiff make cd .. make CFLAGS="$RPM_OPT_FLAGS -Wall" %install mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/{man1,de/man1} install -m 755 photocd $RPM_BUILD_ROOT%{_bindir} install -m 644 photocd.1 $RPM_BUILD_ROOT%{_mandir}/man1 install -m 644 photocd.1.gr $RPM_BUILD_ROOT%{_mandir}/de/man1/photocd.1 cd xpcd-2.09 make install \ DESTDIR=$RPM_BUILD_ROOT \ mandir=$RPM_BUILD_ROOT%{_mandir} \ x11_libdir=$RPM_BUILD_ROOT/usr/%{_xorg7libshare}/X11 mkdir xpcd-2.09 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/pcdview.1 %suse_update_desktop_file -i xpcd AudioVideo CD echo $RPM_BUILD_ROOT/usr/lib/X11/app-defaults %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %dir /usr/%{_xorg7libshare}/X11/xpcd %config /usr/%{_xorg7libshare}/X11/xpcd/system.xpcdrc %config /usr/%{_xorg7libshare}/X11/app-defaults/Xpcd-2 %config /usr/%{_xorg7libshare}/X11/de/app-defaults/Xpcd-2 %config /usr/%{_xorg7libshare}/X11/da/app-defaults/Xpcd-2 %doc README README.gr xpcd-2.09/xpcd-2.09 %doc %{_mandir}/man1/xpcd.1.gz %doc %{_mandir}/man1/photocd.1.gz %doc %{_mandir}/man1/pcdtoppm.1.gz %doc %{_mandir}/de/man1/photocd.1.gz %{_bindir}/pcdtoppm %{_bindir}/photocd %{_bindir}/xpcd /usr/share/applications/*.desktop %dir /usr/%{_xorg7libshare}/X11/de %dir /usr/%{_xorg7libshare}/X11/de/app-defaults %dir /usr/%{_xorg7libshare}/X11/da %dir /usr/%{_xorg7libshare}/X11/da/app-defaults /usr/%{_xorg7pixmaps}/X11/pixmaps %changelog * Fri Aug 10 2007 - crrodriguez@suse.de - BuildRequires libnetpbm-devel to fix the build. * Thu Jul 27 2006 - lmichnovic@suse.cz - builds also with new X.org 7.x, detects version of X * Fri May 26 2006 - schwab@suse.de - Don't strip binaries. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Mon Jan 16 2006 - lmichnovic@suse.cz - upgrade of xpcd to version 2.09 fixed segfault (buffer overflow with extra large $HOME) merged gimp 1.2 changes from Edsel Adap - added libpcd-devel into NFB - deleted rm -rf "$RPM_BUILD_ROOT" in install section * Wed Apr 27 2005 - meissner@suse.de - make it build with gcc4. * Mon May 10 2004 - hmacht@suse.de - building as non-root user * Sun Feb 22 2004 - ro@suse.de - disable gimp plugin * Fri Aug 15 2003 - adrian@suse.de - add desktop file * Thu Aug 07 2003 - ltinkl@suse.cz - fix build on x86_64 * Fri Jul 25 2003 - ltinkl@suse.cz - fix build with glib in /opt/gnome * Fri Jun 20 2003 - mjancar@suse.cz - fix filelist * Thu May 29 2003 - mjancar@suse.cz - remove unpackaged files from buildroot * Tue Nov 12 2002 - jderfina@suse.cz - fixed "dereferencing type-punned pointer will break strict-aliasing rules" warning. * Fri Jul 26 2002 - adrian@suse.de - fix neededforbuild * Tue May 28 2002 - nadvornik@suse.cz - updated to xpcd-2.08-gimp1.2 - fixed to build with lib64 * Mon Nov 12 2001 - ro@suse.de - no svgalib * Fri Aug 03 2001 - nadvornik@suse.cz - removed hpcdtoppm, because its licence allows noncommercial use only - fixed to compile * Thu May 17 2001 - nadvornik@suse.cz - fixed cast warnings and include files for ia64 * Wed Jan 03 2001 - nadvornik@suse.cz - fixed file list * Thu Nov 30 2000 - ro@suse.de - neededforbuild: libnetpb -> libnetpbm * Mon Nov 06 2000 - ro@suse.de - fixed neededforbuild * Mon Oct 09 2000 - nadvornik@suse.cz - fixed Copyright * Fri Sep 29 2000 - ro@suse.de - fixed for gimp * Thu May 18 2000 - nadvornik@suse.cz - changed Group tag * Fri Apr 07 2000 - nadvornik@suse.cz - added BuildRoot - update to xpcd-2.08 * Sun Mar 05 2000 - ro@suse.de - neededforbuild: libgimp -> gimp * Wed Jan 05 2000 - kukuk@suse.de - Use RPM_OPT_FLAGS - Move manual pages from /usr/man to /usr/share/man * Mon Sep 13 1999 - bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Tue Jul 13 1999 - bs@suse.de - use gtk and glib instead of gtkn and glibn * Thu Jun 17 1999 - ro@suse.de - fixed neededforbuild * Tue Jun 01 1999 - ro@suse.de - fixed to build on alpha * Thu Mar 18 1999 - ro@suse.de - update to xpcd-2.07 * Sat Mar 13 1999 - uli@suse.de - fixed CFLAGS for AXP * Tue Nov 17 1998 - ro@suse.de - xpcd: fbview: include sys/time.h instead of time.h * Thu Sep 24 1998 - ro@suse.de - update to xpcd-2.05: pcdview replaced by fbview * Mon May 25 1998 - ro@suse.de - hacked to accept gimp-lib and added --x-includes=/usr/X11R6/include for configure * Mon Nov 03 1997 - ro@suse.de - added gtk tcsh in neededforbuild * Wed Oct 22 1997 - ro@suse.de - upgrade to xpcd version 2.04 ready for autobuild
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