|
|
cbef717 |
%global apiversion 0.0
|
|
|
cbef717 |
|
|
|
f87524d |
Name: libcdr
|
|
|
c309efe |
Version: 0.0.16
|
|
|
c309efe |
Release: 1%{?dist}
|
|
|
78af8e1 |
Summary: A library providing ability to interpret and import CorelDRAW drawings
|
|
|
f87524d |
|
|
|
f87524d |
Group: System Environment/Libraries
|
|
|
4642963 |
# the only Public Domain source is src/lib/CDRColorProfiles.h
|
|
|
c309efe |
License: MPLv2.0 and Public Domain
|
|
|
f87524d |
URL: http://www.freedesktop.org/wiki/Software/libcdr
|
|
|
f87524d |
Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz
|
|
|
f87524d |
|
|
|
6363099 |
BuildRequires: boost-devel
|
|
|
f87524d |
BuildRequires: doxygen
|
|
|
cc9a17a |
BuildRequires: help2man
|
|
|
99b08f1 |
BuildRequires: pkgconfig(icu-i18n)
|
|
|
99b08f1 |
BuildRequires: pkgconfig(lcms2)
|
|
|
99b08f1 |
BuildRequires: pkgconfig(libwpd-0.9)
|
|
|
99b08f1 |
BuildRequires: pkgconfig(libwpg-0.2)
|
|
|
99b08f1 |
BuildRequires: pkgconfig(zlib)
|
|
|
f87524d |
|
|
|
f87524d |
%description
|
|
|
78af8e1 |
Libcdr is library providing ability to interpret and import CorelDRAW
|
|
|
f87524d |
drawings into various applications. You can find it being used in
|
|
|
f87524d |
libreoffice.
|
|
|
f87524d |
|
|
|
f87524d |
%package devel
|
|
|
f87524d |
Summary: Development files for %{name}
|
|
|
f87524d |
Group: Development/Libraries
|
|
|
f87524d |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
f87524d |
|
|
|
f87524d |
%description devel
|
|
|
f87524d |
The %{name}-devel package contains libraries and header files for
|
|
|
f87524d |
developing applications that use %{name}.
|
|
|
f87524d |
|
|
|
f87524d |
%package doc
|
|
|
f87524d |
Summary: Documentation of %{name} API
|
|
|
f87524d |
Group: Documentation
|
|
|
f87524d |
BuildArch: noarch
|
|
|
f87524d |
|
|
|
f87524d |
%description doc
|
|
|
f87524d |
The %{name}-doc package contains documentation files for %{name}.
|
|
|
f87524d |
|
|
|
f87524d |
%package tools
|
|
|
78af8e1 |
Summary: Tools to transform CorelDRAW drawings into other formats
|
|
|
f87524d |
Group: Applications/Publishing
|
|
|
f87524d |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
f87524d |
|
|
|
f87524d |
%description tools
|
|
|
78af8e1 |
Tools to transform CorelDRAW drawings into other formats.
|
|
|
64ee364 |
Currently supported: XHTML, text, raw.
|
|
|
f87524d |
|
|
|
f87524d |
%prep
|
|
|
f87524d |
%setup -q
|
|
|
f87524d |
|
|
|
f87524d |
%build
|
|
|
f87524d |
%configure --disable-static --disable-werror
|
|
|
f87524d |
sed -i \
|
|
|
f87524d |
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
f87524d |
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
f87524d |
libtool
|
|
|
708cbdf |
make %{?_smp_mflags} V=1
|
|
|
f87524d |
|
|
|
cc9a17a |
export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
cc9a17a |
help2man -N -n 'debug the conversion library' -o cdr2raw.1 ./src/conv/raw/.libs/cdr2raw
|
|
|
cc9a17a |
help2man -N -n 'convert CorelDRAW document into HTML' -o cdr2xhtml.1 ./src/conv/svg/.libs/cdr2xhtml
|
|
|
cc9a17a |
help2man -N -n 'convert CorelDRAW document into plain text' -o cdr2text.1 ./src/conv/text/.libs/cdr2text
|
|
|
cc9a17a |
help2man -N -n 'debug the conversion library' -o cmx2raw.1 ./src/conv/raw/.libs/cmx2raw
|
|
|
cc9a17a |
help2man -N -n 'convert Corel Presentation Exchange file into HTML' -o cmx2xhtml.1 ./src/conv/svg/.libs/cmx2xhtml
|
|
|
cc9a17a |
help2man -N -n 'convert Corel Presentation Exchange file into plain text' -o cmx2text.1 ./src/conv/text/.libs/cmx2text
|
|
|
f87524d |
|
|
|
f87524d |
%install
|
|
|
f87524d |
make install DESTDIR=%{buildroot}
|
|
|
f87524d |
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
edbb57c |
# rhbz#1001251 we install API docs directly from build
|
|
|
edbb57c |
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
f87524d |
|
|
|
cc9a17a |
mkdir -p %{buildroot}/%{_mandir}/man1
|
|
|
cc9a17a |
install -m 0644 cdr2*.1 cmx2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
f87524d |
|
|
|
f87524d |
%post -p /sbin/ldconfig
|
|
|
f87524d |
%postun -p /sbin/ldconfig
|
|
|
f87524d |
|
|
|
f87524d |
%files
|
|
|
c309efe |
%doc AUTHORS ChangeLog COPYING.MPL README
|
|
|
cbef717 |
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
f87524d |
|
|
|
f87524d |
%files devel
|
|
|
93a8efa |
%doc ChangeLog
|
|
|
cbef717 |
%{_includedir}/%{name}-%{apiversion}
|
|
|
cbef717 |
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
cbef717 |
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
f87524d |
|
|
|
f87524d |
%files doc
|
|
|
c309efe |
%doc COPYING.MPL
|
|
|
edbb57c |
%doc docs/doxygen/html
|
|
|
f87524d |
|
|
|
f87524d |
%files tools
|
|
|
f87524d |
%{_bindir}/cdr2raw
|
|
|
64ee364 |
%{_bindir}/cdr2text
|
|
|
f87524d |
%{_bindir}/cdr2xhtml
|
|
|
64ee364 |
%{_bindir}/cmx2raw
|
|
|
64ee364 |
%{_bindir}/cmx2text
|
|
|
64ee364 |
%{_bindir}/cmx2xhtml
|
|
|
cc9a17a |
%{_mandir}/man1/cdr2raw.1*
|
|
|
cc9a17a |
%{_mandir}/man1/cdr2text.1*
|
|
|
cc9a17a |
%{_mandir}/man1/cdr2xhtml.1*
|
|
|
cc9a17a |
%{_mandir}/man1/cmx2raw.1*
|
|
|
cc9a17a |
%{_mandir}/man1/cmx2text.1*
|
|
|
cc9a17a |
%{_mandir}/man1/cmx2xhtml.1*
|
|
|
f87524d |
|
|
|
f87524d |
%changelog
|
|
|
c309efe |
* Thu Apr 10 2014 David Tardon <dtardon@redhat.com> - 0.0.16-1
|
|
|
c309efe |
- new upstream release
|
|
|
c309efe |
|
|
|
cc9a17a |
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.0.15-2
|
|
|
cc9a17a |
- generate man pages
|
|
|
cc9a17a |
|
|
|
9415efa |
* Sat Apr 05 2014 David Tardon <dtardon@redhat.com> - 0.0.15-1
|
|
|
9415efa |
- new upstream release
|
|
|
9415efa |
|
|
|
fa0c8e9 |
* Thu Feb 13 2014 David Tardon <dtardon@redhat.com> - 0.0.14-6
|
|
|
fa0c8e9 |
- rebuild for new ICU
|
|
|
fa0c8e9 |
|
|
|
edbb57c |
* Fri Aug 30 2013 David Tardon <dtardon@redhat.com> - 0.0.14-5
|
|
|
edbb57c |
- Resolves: rhbz#1001251 duplicate documentation files / potentially conflicting
|
|
|
edbb57c |
|
|
|
0a1bfb8 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.14-4
|
|
|
0a1bfb8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
0a1bfb8 |
|
|
Petr Machata |
0005fd1 |
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.0.14-3
|
|
Petr Machata |
0005fd1 |
- Rebuild for boost 1.54.0
|
|
Petr Machata |
0005fd1 |
|
|
|
4642963 |
* Tue May 21 2013 David Tardon <dtardon@redhat.com> - 0.0.14-2
|
|
|
4642963 |
- add public domain to licenses
|
|
|
4642963 |
|
|
|
4819dd7 |
* Fri May 17 2013 David Tardon <dtardon@redhat.com> - 0.0.14-1
|
|
|
4819dd7 |
- new release
|
|
|
4819dd7 |
|
|
|
5569dc5 |
* Tue Apr 23 2013 David Tardon <dtardon@redhat.com> - 0.0.13-1
|
|
|
5569dc5 |
- new relese
|
|
|
5569dc5 |
|
|
|
64ee364 |
* Mon Apr 08 2013 David Tardon <dtardon@redhat.com> - 0.0.12-1
|
|
|
64ee364 |
- new release
|
|
|
64ee364 |
|
|
|
0449491 |
* Sat Mar 02 2013 David Tardon <dtardon@redhat.com> - 0.0.11-1
|
|
|
0449491 |
- new release
|
|
|
0449491 |
|
|
|
7d23199 |
* Thu Jan 31 2013 David Tardon <dtardon@redhat.com> - 0.0.10-2
|
|
|
7d23199 |
- rebuild for ICU change
|
|
|
7d23199 |
|
|
|
6aaddd1 |
* Mon Jan 28 2013 David Tardon <dtardon@redhat.com> - 0.0.10-1
|
|
|
6aaddd1 |
- new release
|
|
|
6aaddd1 |
|
|
|
310b760 |
* Tue Jan 08 2013 David Tardon <dtardon@redhat.com> - 0.0.9-2
|
|
|
310b760 |
- Resolves: rhbz#891082 libreoffice Impress constantly crashes
|
|
|
310b760 |
|
|
|
193c494 |
* Mon Oct 08 2012 David Tardon <dtardon@redhat.com> - 0.0.9-1
|
|
|
193c494 |
- new upstream release
|
|
|
193c494 |
|
|
|
97d31a0 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-2
|
|
|
97d31a0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
97d31a0 |
|
|
|
31240c0 |
* Mon Jun 11 2012 David Tardon <dtardon@redhat.com> 0.0.8-1
|
|
|
31240c0 |
- new upstream release
|
|
|
31240c0 |
- adds basic initial primitive uncomplete text support
|
|
|
31240c0 |
|
|
|
1fb3398 |
* Thu Apr 26 2012 David Tardon <dtardon@redhat.com> 0.0.7-1
|
|
|
1fb3398 |
- new upstream release
|
|
|
1fb3398 |
|
|
|
2fb66eb |
* Tue Apr 03 2012 David Tardon <dtardon@redhat.com> 0.0.6-1
|
|
|
2fb66eb |
- new upstream release
|
|
|
2fb66eb |
|
|
|
4296f0f |
* Mon Mar 19 2012 David Tardon <dtardon@redhat.com> 0.0.5-1
|
|
|
f87524d |
- new upstream release
|
|
|
f87524d |
- fix license
|
|
|
f87524d |
|
|
|
4296f0f |
* Sat Mar 10 2012 David Tardon <dtardon@redhat.com> 0.0.3-2
|
|
|
f87524d |
- remove Requires: of main package from -doc subpackage
|
|
|
f87524d |
|
|
|
4296f0f |
* Thu Mar 01 2012 David Tardon <dtardon@redhat.com> 0.0.3-1
|
|
|
f87524d |
- initial import
|