forked from pool/libcdr
Accepting request 530423 from LibreOffice:Factory
1 OBS-URL: https://build.opensuse.org/request/show/530423 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcdr?expand=0&rev=23
This commit is contained in:
commit
6af3958424
@ -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,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 2 11:21:08 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Trim build characteristics from description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
48
libcdr.spec
48
libcdr.spec
@ -18,46 +18,41 @@
|
||||
|
||||
%define libname libcdr-0_1-1
|
||||
Name: libcdr
|
||||
Version: 0.1.3
|
||||
Version: 0.1.4
|
||||
Release: 0
|
||||
Summary: Library for parsing the Corel Draw file format structure
|
||||
License: MPL-2.0
|
||||
Group: Productivity/Publishing/Word
|
||||
Url: http://www.freedesktop.org/wiki/Software/libcdr
|
||||
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
|
||||
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
|
||||
BuildRequires: libboost_headers-devel
|
||||
%else
|
||||
BuildRequires: boost-devel
|
||||
%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
|
||||
libcdr is a library for parsing the Corel Draw file format structure. It is
|
||||
cross-platform, at the moment it can be build on Microsoft Windows and Linux.
|
||||
libcdr is a library and a set of tools for reading and converting
|
||||
binary files produced by Corel Draw.
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: Library for parsing the Corel Draw file format structure
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libname}
|
||||
libcdr is a library for parsing the Corel Draw file format structure. It is
|
||||
cross-platform, at the moment it can be build on Microsoft Windows and Linux.
|
||||
libcdr is a library for parsing the Corel Draw file format structure.
|
||||
|
||||
%package devel
|
||||
Summary: Files for Developing with libcdr
|
||||
@ -65,8 +60,7 @@ Group: Development/Libraries/C and C++
|
||||
Requires: %{libname} = %{version}
|
||||
|
||||
%description devel
|
||||
libcdr is a library for parsing the Corel Draw file format structure. It is
|
||||
cross-platform, at the moment it can be build on Microsoft Windows and Linux.
|
||||
libcdr is a library for parsing the Corel Draw file format structure.
|
||||
|
||||
This package contains the libcdr development files.
|
||||
|
||||
@ -79,11 +73,11 @@ BuildArch: noarch
|
||||
This package contains documentation for the libcdr API.
|
||||
|
||||
%package tools
|
||||
Summary: Tools to work with documents in Corel Draw file-format
|
||||
Summary: Tools to work with documents in Corel Draw file format
|
||||
Group: Productivity/Publishing/Word
|
||||
|
||||
%description tools
|
||||
Tools to work with documents in Corel Draw file-format.
|
||||
Tools to work with documents in Corel Draw file format.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -99,7 +93,7 @@ export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
# documentation
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
@ -111,22 +105,18 @@ cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{libname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/libcdr*.pc
|
||||
%{_includedir}/libcdr-*
|
||||
|
||||
%files devel-doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc %dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/html
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%doc %dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/[A-Z]*
|
||||
|
Loading…
x
Reference in New Issue
Block a user