forked from pool/libcdr
- Version update to 0.1.4:
* Fix several issues found by oss-fuzz. * Require C++11 for build. * Fix issues found by coverity. * Various code cleanups. OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libcdr?expand=0&rev=55
This commit is contained in:
parent
8e89b2d5d0
commit
330d6f5d94
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:66e28e502abef7f6f494ce03de037d532f5e7888cfdee62c01203c8325b33f22
|
|
||||||
size 596772
|
|
3
libcdr-0.1.4.tar.xz
Normal file
3
libcdr-0.1.4.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e7a7e8b00a3df5798110024d7061fe9d1c3330277d2e4fa9213294f966a4a66d
|
||||||
|
size 609592
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 2 10:47:27 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Version update to 0.1.4:
|
||||||
|
* Fix several issues found by oss-fuzz.
|
||||||
|
* Require C++11 for build.
|
||||||
|
* Fix issues found by coverity.
|
||||||
|
* Various code cleanups.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 1 12:46:46 UTC 2017 - adam.majer@suse.de
|
Wed Feb 1 12:46:46 UTC 2017 - adam.majer@suse.de
|
||||||
|
|
||||||
|
34
libcdr.spec
34
libcdr.spec
@ -18,34 +18,30 @@
|
|||||||
|
|
||||||
%define libname libcdr-0_1-1
|
%define libname libcdr-0_1-1
|
||||||
Name: libcdr
|
Name: libcdr
|
||||||
Version: 0.1.3
|
Version: 0.1.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for parsing the Corel Draw file format structure
|
Summary: Library for parsing the Corel Draw file format structure
|
||||||
License: MPL-2.0
|
License: MPL-2.0
|
||||||
Group: Productivity/Publishing/Word
|
Group: Productivity/Publishing/Word
|
||||||
Url: http://www.freedesktop.org/wiki/Software/libcdr
|
Url: http://www.freedesktop.org/wiki/Software/libcdr
|
||||||
Source0: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
|
Source0: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
|
||||||
# note: the main package is empty, it only sets a sane name for the source rpm
|
|
||||||
Patch0: libcdr-0.1.1-pkgconfig.patch
|
Patch0: libcdr-0.1.1-pkgconfig.patch
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: xz
|
||||||
|
BuildRequires: pkgconfig(cppunit)
|
||||||
|
BuildRequires: pkgconfig(icu-i18n)
|
||||||
|
BuildRequires: pkgconfig(lcms2)
|
||||||
|
BuildRequires: pkgconfig(librevenge-0.0)
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
%if 0%{?suse_version} > 1325
|
%if 0%{?suse_version} > 1325
|
||||||
BuildRequires: libboost_headers-devel
|
BuildRequires: libboost_headers-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: cppunit-devel
|
|
||||||
BuildRequires: doxygen
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: libicu-devel
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
BuildRequires: xz
|
|
||||||
BuildRequires: pkgconfig(lcms2)
|
|
||||||
BuildRequires: pkgconfig(librevenge-0.0)
|
|
||||||
BuildRequires: pkgconfig(librevenge-generators-0.0)
|
|
||||||
BuildRequires: pkgconfig(librevenge-stream-0.0)
|
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
|
||||||
BuildRequires: pkgconfig(zlib)
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libcdr is a library for parsing the Corel Draw file format structure. It is
|
libcdr is a library for parsing the Corel Draw file format structure. It is
|
||||||
@ -99,7 +95,7 @@ export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
# documentation
|
# documentation
|
||||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||||
@ -111,22 +107,18 @@ cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}
|
|||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/libcdr*.pc
|
%{_libdir}/pkgconfig/libcdr*.pc
|
||||||
%{_includedir}/libcdr-*
|
%{_includedir}/libcdr-*
|
||||||
|
|
||||||
%files devel-doc
|
%files devel-doc
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc %dir %{_docdir}/%{name}
|
%doc %dir %{_docdir}/%{name}
|
||||||
%doc %{_docdir}/%{name}/html
|
%doc %{_docdir}/%{name}/html
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%doc %dir %{_docdir}/%{name}
|
%doc %dir %{_docdir}/%{name}
|
||||||
%doc %{_docdir}/%{name}/[A-Z]*
|
%doc %{_docdir}/%{name}/[A-Z]*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user