- new
[packages/crossmingw32-libjpeg.git] / crossmingw32-libjpeg.spec
CommitLineData
18578b4b 1%define realname libjpeg
2Summary: Library for handling different jpeg files
3Summary(pl): Biblioteka do manipulacji plikami w formacie jpeg
4Name: crossmingw32-%{realname}
5Version: 6b
6Release: 1
7License: distributable
8Group: Libraries
9Source0: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v%{version}.tar.gz
10# Source0-md5: dbd5f3b47ed13132f04c685d608a7547
11Patch0: %{realname}-DESTDIR.patch
12Patch1: %{realname}-include.patch
13Patch2: %{realname}-c++.patch
14URL: http://www.ijg.org/
15BuildRequires: crossmingw32-gcc
16BuildRequires: crossmingw32-w32api
17BuildRequires: libtool
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%define no_install_post_strip 1
21
22%define target i386-mingw32
23%define target_platform i386-pc-mingw32
24%define arch %{_prefix}/%{target}
25%define gccarch %{_prefix}/lib/gcc-lib/%{target}
26%define gcclib %{_prefix}/lib/gcc-lib/%{target}/%{version}
27
28%define __cc %{target}-gcc
29%define __cxx %{target}-g++
30
31%description
32The libjpeg package contains a library of functions for manipulating
33JPEG images.
34
35%description -l pl
36