tighten %files, mostly so api/soname changes will no longer be a surpise
use %make_build %ldconfig_scriptlets
This commit is contained in:
parent
da9e19605d
commit
7b3e5da5e2
32
LibRaw.spec
32
LibRaw.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Library for reading RAW files obtained from digital photo cameras
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
||||||
Name: LibRaw
|
Name: LibRaw
|
||||||
Version: 0.19.0
|
Version: 0.19.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.libraw.org
|
URL: http://www.libraw.org
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ LibRaw sample programs
|
|||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cp -pr doc manual
|
cp -pr doc manual
|
||||||
@ -65,33 +65,41 @@ chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt
|
|||||||
chmod 644 manual/*.html
|
chmod 644 manual/*.html
|
||||||
|
|
||||||
# The Libraries
|
# The Libraries
|
||||||
make install DESTDIR=%{buildroot}
|
%make_install
|
||||||
|
|
||||||
|
rm -fv %{buildroot}%{_libdir}/lib*.la
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changelog.txt
|
%doc Changelog.txt
|
||||||
%license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
|
%license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/libraw.so.19*
|
||||||
|
%{_libdri}/libraw_r.so.19*
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%{_libdir}/*.a
|
%{_libdir}/libraw.a
|
||||||
|
%{_libdir}/libraw_r.a
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc manual
|
%doc manual
|
||||||
%doc samples
|
%doc samples
|
||||||
%dir %{_includedir}/libraw
|
%{_includedir}/libraw/
|
||||||
%{_includedir}/libraw/*.h
|
%{_libdir}/libraw.so
|
||||||
%{_libdir}/*.so
|
%{_libdir}/libraw_r.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/libraw.pc
|
||||||
%exclude %{_libdir}/*.la
|
%{_libdir}/pkgconfig/libraw_r.pc
|
||||||
%exclude %{_docdir}/libraw/*
|
%exclude %{_docdir}/libraw/*
|
||||||
|
|
||||||
%files samples
|
%files samples
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 19 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.19.0-3
|
||||||
|
- tighten %%files, mostly so api/soname changes will no longer be a surpise
|
||||||
|
- use %%make_build %%ldconfig_scriptlets
|
||||||
|
|
||||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-2
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user