Lines 102-108
This package contains development files for the turbojpeg library.
Link Here
|
102 |
%prep |
102 |
%prep |
103 |
%setup -n %name-%version-%release |
103 |
%setup -n %name-%version-%release |
104 |
%patch0 -p1 |
104 |
%patch0 -p1 |
105 |
%patch1 -p1 |
105 |
#patch1 -p1 |
106 |
%patch2 -p2 |
106 |
%patch2 -p2 |
107 |
%ifarch %e2k |
107 |
%ifarch %e2k |
108 |
%patch2000 -p1 |
108 |
%patch2000 -p1 |
Lines 112-122
install -pm644 %_sourcedir/{jpegexiforient,jpeginfo}.c .
Link Here
|
112 |
install -pm755 %_sourcedir/exifautotran . |
112 |
install -pm755 %_sourcedir/exifautotran . |
113 |
|
113 |
|
114 |
# restrict list of global symbols exported by the library. |
114 |
# restrict list of global symbols exported by the library. |
115 |
echo -e '{\nglobal:' > libjpeg.sym |
115 |
sed -i '/LIBJPEG_@JPEG_LIB_VERSION_DECIMAL@ {/,$d' libjpeg.map.in |
|
|
116 |
echo -e 'LIBJPEG_@JPEG_LIB_VERSION_DECIMAL@ {\nglobal:' >> libjpeg.map.in |
116 |
sed -En '/^EXTERN/ s,^.+\)\s+([^(]+).+$,\1;,p' jpeglib.h jpegint.h \ |
117 |
sed -En '/^EXTERN/ s,^.+\)\s+([^(]+).+$,\1;,p' jpeglib.h jpegint.h \ |
117 |
| egrep -v '^(jinit_|jzero_far)' >> libjpeg.sym |
118 |
| egrep -v '^(jinit_|jzero_far)' >> libjpeg.map.in |
118 |
# extra symbols required by packages |
119 |
# extra symbols required by packages |
119 |
cat >> libjpeg.sym <<'EOF' |
120 |
cat >> libjpeg.map.in <<'EOF' |
120 |
jinit_c_master_control; |
121 |
jinit_c_master_control; |
121 |
jinit_color_converter; |
122 |
jinit_color_converter; |
122 |
jinit_master_decompress; |
123 |
jinit_master_decompress; |
123 |
- |
|
|