1.4.0-3
- move patching to %prep section - explicitly track lib soname so bumps aren't a surprise - exclude libgeotiff.la file from packaging - %configure --disable-static
This commit is contained in:
parent
01adc51109
commit
0fa3374415
|
@ -1,6 +1,6 @@
|
|||
Name: libgeotiff
|
||||
Version: 1.4.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: GeoTIFF format library
|
||||
Group: System Environment/Libraries
|
||||
License: MIT
|
||||
|
@ -47,20 +47,20 @@ set -x
|
|||
# remove junks
|
||||
find . -name ".cvsignore" -exec rm -rf '{}' \;
|
||||
|
||||
%build
|
||||
# disable -g flag removal
|
||||
sed -i 's| \| sed \"s\/-g \/\/\"||g' configure
|
||||
|
||||
# use gcc -shared instead of ld -shared to build with -fstack-protector
|
||||
sed -i 's|LD_SHARED=@LD_SHARED@|LD_SHARED=@CC@ -shared|' Makefile.in
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--prefix=%{_prefix} \
|
||||
--includedir=%{_includedir}/%{name}/ \
|
||||
--with-proj \
|
||||
--with-tiff \
|
||||
--with-jpeg \
|
||||
--with-zip
|
||||
--with-zip \
|
||||
--disable-static
|
||||
# WARNING
|
||||
# disable %{?_smp_mflags}
|
||||
# it breaks compile
|
||||
|
@ -92,7 +92,7 @@ mkdir -p %{buildroot}%{_libdir}/pkgconfig/
|
|||
install -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig/
|
||||
|
||||
#clean up junks
|
||||
rm -rf %{buildroot}%{_libdir}/*.a
|
||||
rm -fv %{buildroot}%{_libdir}/lib*.la
|
||||
echo >> %{buildroot}%{_datadir}/epsg_csv/codes.csv
|
||||
|
||||
%clean
|
||||
|
@ -107,8 +107,7 @@ rm -rf %{buildroot}
|
|||
%{_bindir}/geotifcp
|
||||
%{_bindir}/listgeo
|
||||
%{_bindir}/makegeo
|
||||
%{_libdir}/%{name}.so.*
|
||||
%{_libdir}/%{name}.la
|
||||
%{_libdir}/%{name}.so.2*
|
||||
%{_mandir}/man1/listgeo.1.gz
|
||||
%dir %{_datadir}/epsg_csv
|
||||
%attr(0644,root,root) %{_datadir}/epsg_csv/*.csv
|
||||
|
@ -121,6 +120,12 @@ rm -rf %{buildroot}
|
|||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* Wed Jan 07 2015 Rex Dieter <rdieter@fedoraproject.org> - 1.4.0-3
|
||||
- move patching to %%prep section
|
||||
- explicitly track lib soname so bumps aren't a surprise
|
||||
- exclude libgeotiff.la file from packaging
|
||||
- %%configure --disable-static
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue