diff --git a/README.md b/README.md index c374807..6f9d7d3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libcdr +Libcdr is a library providing ability to interpret and import Corel Draw drawings into various applications. You can find it being used in libreoffice. + diff --git a/libcdr.spec b/libcdr.spec new file mode 100644 index 0000000..9164e08 --- /dev/null +++ b/libcdr.spec @@ -0,0 +1,110 @@ +Name: libcdr +Version: 0.0.16 +Release: 1mamba +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 +URL: http://www.freedesktop.org/wiki/Software/libcdr/ +Source: http://dev-www.libreoffice.org/src/libcdr-%{version}.tar.xz +License: GPL, LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: liblcms2-devel +BuildRequires: libstdc++6-devel +BuildRequires: libwpd-devel +BuildRequires: libwpg-devel +BuildRequires: libz-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libcdr-0.0.so.* +%doc AUTHORS + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libcdr-0.0/libcdr +%{_includedir}/libcdr-0.0/libcdr/*.h +%{_libdir}/libcdr-0.0.la +%{_libdir}/libcdr-0.0.so +%{_libdir}/pkgconfig/libcdr-0.0.pc +%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 +* Fri Apr 18 2014 Automatic Build System 0.0.16-1mamba +- automatic version update by autodist + +* Tue May 28 2013 Automatic Build System 0.0.14-1mamba +- automatic update by autodist + +* Sun Apr 14 2013 Automatic Build System 0.0.12-1mamba +- automatic version update by autodist + +* Sat Mar 02 2013 Automatic Build System 0.0.11-1mamba +- automatic version update by autodist + +* Sun Jan 27 2013 Automatic Build System 0.0.10-1mamba +- automatic version update by autodist + +* Wed Oct 10 2012 Automatic Build System 0.0.9-1mamba +- automatic version update by autodist + +* Fri Jul 27 2012 Silvan Calarco 0.0.8-1mamba +- package created by autospec