cbef717
%global apiversion 0.0
cbef717
f87524d
Name: libcdr
4819dd7
Version: 0.0.14
0449491
Release: 1%{?dist}
f87524d
Summary: A library providing ability to interpret and import Corel Draw drawings
f87524d
f87524d
Group: System Environment/Libraries
f87524d
License: GPLv2+ or LGPLv2+ or MPLv1.1
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
f87524d
BuildRequires: lcms2-devel
6aaddd1
BuildRequires: libicu-devel
f87524d
BuildRequires: libwpd-devel
f87524d
BuildRequires: libwpg-devel
f87524d
BuildRequires: zlib-devel
f87524d
f87524d
%description
f87524d
Libcdr is library providing ability to interpret and import Corel Draw
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
f87524d
Summary: Tools to transform Corel Draw drawings into other formats
f87524d
Group: Applications/Publishing
f87524d
Requires: %{name}%{?_isa} = %{version}-%{release}
f87524d
f87524d
%description tools
f87524d
Tools to transform Corel Draw drawings into other formats.
64ee364
Currently supported: XHTML, text, raw.
f87524d
f87524d
f87524d
%prep
f87524d
%setup -q
f87524d
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
f87524d
f87524d
%install
f87524d
make install DESTDIR=%{buildroot}
f87524d
rm -f %{buildroot}/%{_libdir}/*.la
f87524d
f87524d
f87524d
%post -p /sbin/ldconfig
f87524d
f87524d
f87524d
%postun -p /sbin/ldconfig
f87524d
f87524d
f87524d
%files
64ee364
%doc AUTHORS ChangeLog COPYING.* README
cbef717
%{_libdir}/%{name}-%{apiversion}.so.*
f87524d
f87524d
f87524d
%files devel
93a8efa
%doc ChangeLog
cbef717
%{_includedir}/%{name}-%{apiversion}
cbef717
%{_libdir}/%{name}-%{apiversion}.so
cbef717
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
f87524d
f87524d
f87524d
%files doc
f87524d
%doc COPYING.*
f87524d
%dir %{_docdir}/%{name}
f87524d
%{_docdir}/%{name}/html
f87524d
f87524d
f87524d
%files tools
f87524d
%{_bindir}/cdr2raw
64ee364
%{_bindir}/cdr2text
f87524d
%{_bindir}/cdr2xhtml
64ee364
%{_bindir}/cmx2raw
64ee364
%{_bindir}/cmx2text
64ee364
%{_bindir}/cmx2xhtml
f87524d
f87524d
f87524d
%changelog
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