]>
Commit | Line | Data |
---|---|---|
1 | %define realname libjpeg | |
2 | Summary: Library for handling different jpeg files | |
3 | Summary(pl): Biblioteka do manipulacji plikami w formacie jpeg | |
4 | Name: crossmingw32-%{realname} | |
5 | Version: 6b | |
6 | Release: 1 | |
7 | License: distributable | |
8 | Group: Libraries | |
9 | Source0: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v%{version}.tar.gz | |
10 | # Source0-md5: dbd5f3b47ed13132f04c685d608a7547 | |
11 | Patch0: %{realname}-DESTDIR.patch | |
12 | Patch1: %{realname}-include.patch | |
13 | Patch2: %{realname}-c++.patch | |
14 | URL: http://www.ijg.org/ | |
15 | BuildRequires: crossmingw32-gcc | |
16 | BuildRequires: crossmingw32-w32api | |
17 | BuildRequires: libtool | |
18 | BuildRoot: %{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 | |
32 | The libjpeg package contains a library of functions for manipulating | |
33 | JPEG images. | |
34 | ||
35 | %description -l pl | |
36 |