Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
jpeg
jpeg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jpeg.spec of Package jpeg
# # spec file for package jpeg (Version 6b) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: jpeg License: BSD 3-Clause Group: Productivity/Graphics/Convertors AutoReqProv: on Version: 6b Release: 881 Summary: Independent JPEG Group's JPEG Software Url: http://www.ijg.org/ Source: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.bz2 Patch: jpeg-6b.dif Patch1: jpeg-6b-int32.patch Patch2: jpeg-6b-jconfig.patch Patch3: jpeg-6b-tiff-ojpeg.patch Patch4: jpeg-6b-jpegtran.patch Patch5: jpeg-6b-cplusplus.patch Patch6: http://svn.cross-lfs.org/svn/repos/patches/jpeg/jpeg-6b-destdir-1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Software to implement JPEG image compression and decompression. JPEG (pronounced "jay-peg") is a standardized compression method for full-color and grayscale images. JPEG is intended for compressing "real-world" scenes (most of the time these are pictures that have been scanned-in with a scanner or taken with a digital camera). Cartoons and other nonrealistic images are not its strong suit. It should be noted that JPEG output is not necessarily the same as its input. If this is a factor for you, do not use it. With typical real-world scenes, JPEG can achieve high compression rates without noticeable differences. If you can accept pictures of lower quality, JPEG can achieve amazingly high compression rates. There are some library functions available for reading and writing JPEG files. The 'cjpeg' and 'djpeg' applications use the library to make conversions between JPEG and other popular graphic file formats possible. The JPEG library is meant to be used within other applications. Cjpeg compresses the input file, or standard input if no filename is given, and produces a JPEG/JFIF file as standard output. Currently supported input file formats include: PPM (PBMPLUS color format), PGM (PBMPLUS Grayscale format), BMP, GIF, Targa, and RLE (Utah Raster Toolkit Format) (RLE is only supported if the RLE library is available). Djpeg decompresses a JPEG file into one of the above mentioned formats. Authors: -------- Tom Lane <jpeg-info@uunet.uu.net> Philip Gladstone <pjsg@ix.netcom.com> Luis Ortiz <jpeg-info@uunet.uu.net> Jim Boucher <jpeg-info@uunet.uu.net> Lee Crocker <jpeg-info@uunet.uu.net> George Phillips <phillips@cs.ubc.ca> Davide Rossi <jpeg-info@uunet.uu.net> Ge' Weijers <jpeg-info@uunet.uu.net> %package -n libjpeg License: BSD 3-Clause Version: 6.2.0 Release: 881 Summary: JPEG libraries Group: System/Libraries AutoReqProv: on # bug437293 %ifarch ppc64 Obsoletes: libjpeg-64bit %endif # %description -n libjpeg The libraries (static and dynamic) for the jpeg-graphics format. The sources are contained in the jpeg source package. Authors: -------- Rob Hooft <hooft@EMBL-Heidelberg.DE> Michael Mauldin <mlm@cs.cmu.edu> %package -n libjpeg-devel License: BSD 3-Clause Version: 6.2.0 Release: 147 Summary: Development Tools for applications which will use the Libjpeg Library Group: Development/Libraries/C and C++ Requires: libjpeg = 6.2.0 # bug437293 %ifarch ppc64 Obsoletes: libjpeg-devel-64bit %endif # %description -n libjpeg-devel The libjpeg-devel package includes the header files and libraries necessary for compiling and linking programs which will manipulate JPEG files using the libjpeg library. %prep %setup -q -n jpeg-6b %patch %patch1 %patch2 %patch3 %patch4 %patch5 %patch6 -p1 %build %{?suse_update_config:%{suse_update_config -f}} sed -e 's/powerpc/flowerpower/' < ltconfig > ltconfig.new mv ltconfig.new ltconfig chmod u+x ltconfig %configure --disable-static --enable-shared --with-pic %{__make} %{?jobs:-j%jobs} libdir=%{_libdir} %check make test libdir=%{_libdir} %install #mkdir -p $RPM_BUILD_ROOT{%{_libdir},/usr/{include,bin}} #mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 %makeinstall libdir=%{_libdir} rm -f $RPM_BUILD_ROOT/%{_libdir}/libjpeg.la %clean rm -rf $RPM_BUILD_ROOT %post -n libjpeg -p /sbin/ldconfig %postun -n libjpeg -p /sbin/ldconfig %files %defattr(-,root,root) %doc README coderules.doc install.doc usage.doc %doc filelist.doc jconfig.doc structure.doc wizard.doc /usr/bin/* %doc %{_mandir}/man1/* %files -n libjpeg %defattr(-,root,root) %{_libdir}/libjpeg.so.62.0.0 %{_libdir}/libjpeg.so.62 %files -n libjpeg-devel %defattr(-,root,root) /usr/include/*.h %{_libdir}/libjpeg.so %changelog * Wed Jun 10 2009 crrodriguez@suse.de - disable static libraries - support DESTDIR * Wed Jan 14 2009 olh@suse.de - obsolete libjpeg-XXbit instead of jpeg-XXbit * Wed Dec 10 2008 olh@suse.de - use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade (bnc#437293) * Thu Dec 04 2008 olh@suse.de - obsolete old -XXbit packages (bnc#437293) * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Wed Oct 10 2007 nadvornik@suse.cz - do not add -fstack-protector explicitely * Mon Oct 23 2006 dmueller@suse.de - remove unnecessary libtool .la file * Fri Mar 03 2006 nadvornik@suse.cz - fixed header file for C++ [#153600] * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Jan 12 2006 nadvornik@suse.cz - compile with -fstack-protector * Wed Dec 15 2004 nadvornik@suse.cz - added jpegtran patch from http://sylvana.net/jpegcrop/ * Mon Aug 30 2004 kukuk@suse.de - Fix wrong version of libjpeg-devel * Wed Aug 25 2004 ro@suse.de - remove wrong provides * Wed Aug 25 2004 kukuk@suse.de - Avoid /bin/sh PreRequires - Create libjpeg-devel subpackage * Tue Feb 24 2004 kukuk@suse.de - Cleanup neededforbuild * Sat Jan 10 2004 adrian@suse.de - add %%defattr and %%run_ldconfig * Fri Jul 26 2002 adrian@suse.de - fix neededforbuild * Wed Jun 19 2002 nadvornik@suse.cz - patch to support old JPEG-in-TIFF encapsulations [bug #16408] * Fri May 31 2002 meissner@suse.de - patch the included ltconfig so it does handle ppc64 correctly. * Tue Feb 05 2002 nadvornik@suse.cz - put defines like #define HAVE_STDLIB_H between [#]ifdef JPEG_INTERNALS in jconfig.h because the same defines are in kde config.h * Wed Jan 09 2002 nadvornik@suse.cz - used macros %%{_lib} and %%{_libdir} * Tue Dec 04 2001 nadvornik@suse.cz - added Provides: libjpeg-devel for compatibility [bug #11978] * Fri Nov 30 2001 nadvornik@suse.cz - fixed definition of INT32 in jmorecfg.h * Wed May 09 2001 mfabian@suse.de - bzip2 sources * Mon Nov 20 2000 ro@suse.de - own directory for seejpeg * Thu Oct 12 2000 nadvornik@suse.cz - fixed Copyright - ran "make test" * Wed May 17 2000 nadvornik@suse.cz - fixed to compile - changed Group tag * Tue Apr 04 2000 nadvornik@suse.cz - fixed spec file * Tue Apr 04 2000 nadvornik@suse.cz - fixed to compile - added URL * Thu Mar 30 2000 jj@suse.de - added %%{?suse_update_config:%%{suse_update_config -f}} for s390 * Fri Feb 18 2000 ro@suse.de - set libjpeg-package version to 6.2.0 * Tue Jan 25 2000 ro@suse.de - update to 6b * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Tue Nov 24 1998 ro@suse.de - moved to prefix /usr - added libjpeg.so.6 link * Tue Nov 17 1998 ro@suse.de - jconfig.h undef HAVE_STDLIB_H before defining it * Tue May 12 1998 ro@suse.de - extracted package from libgr / build from own sources
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