2024-01-06 03:58:29 +01:00
|
|
|
%define apiver %(echo %version | cut -d. -f1-2)
|
2024-01-06 03:58:29 +01:00
|
|
|
Name: libcdr
|
2024-12-03 00:55:46 +01:00
|
|
|
Version: 0.1.8
|
2024-01-06 03:58:30 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 03:58:29 +01:00
|
|
|
Summary: A library providing ability to interpret and import Corel Draw drawings into various applications
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-12-03 00:55:46 +01:00
|
|
|
URL: https://www.freedesktop.org/wiki/Software/libcdr/
|
2024-01-06 03:58:30 +01:00
|
|
|
Source: http://dev-www.libreoffice.org/src/libcdr/libcdr-%{version}.tar.xz
|
2024-01-06 03:58:29 +01:00
|
|
|
License: GPL, LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
2024-12-03 00:55:46 +01:00
|
|
|
BuildRequires: libicu-devel
|
2024-01-06 03:58:29 +01:00
|
|
|
BuildRequires: liblcms2-devel
|
2024-12-03 00:55:46 +01:00
|
|
|
BuildRequires: librevenge-devel
|
2024-01-06 03:58:29 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 03:58:29 +01:00
|
|
|
BuildRequires: libwpd-devel >= 0.10
|
|
|
|
BuildRequires: libwpg-devel >= 0.3.0
|
2024-01-06 03:58:29 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Libcdr is a library providing ability to interpret and import Corel Draw drawings into various applications. You can find it being used in libreoffice.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
## note: you can add this requirement if .pc files are provided by this package
|
|
|
|
#Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:58:29 +01:00
|
|
|
%{_libdir}/libcdr-%{apiver}.so.*
|
2024-01-06 03:58:29 +01:00
|
|
|
%doc AUTHORS
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:58:29 +01:00
|
|
|
%dir %{_includedir}/libcdr-%{apiver}
|
|
|
|
%dir %{_includedir}/libcdr-%{apiver}/libcdr
|
|
|
|
%{_includedir}/libcdr-%{apiver}/libcdr/*.h
|
|
|
|
%{_libdir}/libcdr-%{apiver}.so
|
|
|
|
%{_libdir}/pkgconfig/libcdr-%{apiver}.pc
|
2024-01-06 03:58:29 +01:00
|
|
|
%dir %{_datadir}/doc/libcdr
|
|
|
|
%dir %{_datadir}/doc/libcdr/html
|
|
|
|
%{_datadir}/doc/libcdr/html/*
|
|
|
|
%doc ChangeLog README
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/cdr2raw
|
|
|
|
%{_bindir}/cdr2text
|
|
|
|
%{_bindir}/cdr2xhtml
|
|
|
|
%{_bindir}/cmx2raw
|
|
|
|
%{_bindir}/cmx2text
|
|
|
|
%{_bindir}/cmx2xhtml
|
|
|
|
|
|
|
|
%changelog
|
2024-12-03 00:55:46 +01:00
|
|
|
* Sun Dec 01 2024 Automatic Build System <autodist@openmamba.org> 0.1.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:58:31 +01:00
|
|
|
* Sun Mar 28 2021 Automatic Build System <autodist@mambasoft.it> 0.1.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:58:30 +01:00
|
|
|
* Wed Feb 05 2020 Automatic Build System <autodist@mambasoft.it> 0.1.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:58:30 +01:00
|
|
|
* Mon Jan 07 2019 Automatic Build System <autodist@mambasoft.it> 0.1.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:58:30 +01:00
|
|
|
* Wed Dec 20 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.4-1mamba
|
|
|
|
- update to 0.1.4
|
|
|
|
|
2024-01-06 03:58:30 +01:00
|
|
|
* Thu Jul 21 2016 Automatic Build System <autodist@mambasoft.it> 0.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:58:30 +01:00
|
|
|
* Fri Dec 25 2015 Automatic Build System <autodist@mambasoft.it> 0.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:58:30 +01:00
|
|
|
* Fri Nov 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
|
|
|
|
- update to 0.1.1
|
|
|
|
|
2024-01-06 03:58:29 +01:00
|
|
|
* Sat Jul 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-2mamba
|
|
|
|
- rebuilt with libwpd 0.10 and libwpg 0.3.0
|
|
|
|
|
|
|
|
* Tue Jun 17 2014 Automatic Build System <autodist@mambasoft.it> 0.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:58:29 +01:00
|
|
|
* Fri Apr 18 2014 Automatic Build System <autodist@mambasoft.it> 0.0.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue May 28 2013 Automatic Build System <autodist@mambasoft.it> 0.0.14-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Apr 14 2013 Automatic Build System <autodist@mambasoft.it> 0.0.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 0.0.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 27 2013 Automatic Build System <autodist@mambasoft.it> 0.0.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 10 2012 Automatic Build System <autodist@mambasoft.it> 0.0.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.8-1mamba
|
|
|
|
- package created by autospec
|