From c00e667a4ed39d76171574287f2bf591aa65ac99 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:17:15 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.0.0-1mamba;Sun Feb 09 2014] --- README.md | 3 ++ libfreehand.spec | 86 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 libfreehand.spec diff --git a/README.md b/README.md index 9129dda..3e7148b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libfreehand +Libfreehand is a library providing ability to interpret and import Adobe/Macromedia drawings into various applications. You can find it being used in libreoffice. + + diff --git a/libfreehand.spec b/libfreehand.spec new file mode 100644 index 0000000..f69db19 --- /dev/null +++ b/libfreehand.spec @@ -0,0 +1,86 @@ +Name: libfreehand +Version: 0.0.0 +Release: 1mamba +Summary: A library providing ability to interpret and import Adobe/Macromedia drawings into various applications +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.freedesktop.org/wiki/Software/libfreehand/ +Source: http://dev-www.libreoffice.org/src/libfreehand-%{version}.tar.xz +License: MPL 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libwpd-devel +BuildRequires: libwpg-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Libfreehand is a library providing ability to interpret and import Adobe/Macromedia 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} +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}/libfreehand-0.0.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libfreehand-0.0 +%dir %{_includedir}/libfreehand-0.0/libfreehand +%{_includedir}/libfreehand-0.0/libfreehand/*.h +%{_libdir}/libfreehand-0.0.la +%{_libdir}/libfreehand-0.0.so +%{_libdir}/pkgconfig/libfreehand-0.0.pc +%dir %{_datadir}/doc/libfreehand/html +%{_datadir}/doc/libfreehand/html/* +%doc ChangeLog + +%files tools +%defattr(-,root,root) +%{_bindir}/fh2raw +%{_bindir}/fh2svg + +%changelog +* Sun Feb 09 2014 Silvan Calarco 0.0.0-1mamba +- package created using the webbuild interface