2024-01-06 04:17:15 +01:00
|
|
|
%define apiver %(echo %version |cut -d. -f1-2)
|
2024-01-06 04:17:15 +01:00
|
|
|
Name: libfreehand
|
2024-01-06 04:17:15 +01:00
|
|
|
Version: 0.1.2
|
|
|
|
Release: 1mamba
|
2024-01-06 04:17:15 +01:00
|
|
|
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 <silvan.calarco@mambasoft.it>
|
|
|
|
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
|
2024-01-06 04:17:15 +01:00
|
|
|
BuildRequires: libwpd-devel >= 0.10
|
|
|
|
BuildRequires: libwpg-devel >= 0.3.0
|
2024-01-06 04:17:15 +01:00
|
|
|
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)
|
2024-01-06 04:17:15 +01:00
|
|
|
%{_libdir}/libfreehand-%{apiver}.so.*
|
2024-01-06 04:17:15 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:17:15 +01:00
|
|
|
%dir %{_includedir}/libfreehand-%{apiver}
|
|
|
|
%dir %{_includedir}/libfreehand-%{apiver}/libfreehand
|
|
|
|
%{_includedir}/libfreehand-%{apiver}/libfreehand/*.h
|
|
|
|
%{_libdir}/libfreehand-%{apiver}.la
|
|
|
|
%{_libdir}/libfreehand-%{apiver}.so
|
|
|
|
%{_libdir}/pkgconfig/libfreehand-%{apiver}.pc
|
2024-01-06 04:17:15 +01:00
|
|
|
%dir %{_datadir}/doc/libfreehand/html
|
|
|
|
%{_datadir}/doc/libfreehand/html/*
|
|
|
|
%doc ChangeLog
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:17:15 +01:00
|
|
|
%{_bindir}/fh2*
|
2024-01-06 04:17:15 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:17:15 +01:00
|
|
|
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 0.1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:17:15 +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
|
|
|
|
|
|
|
|
* Mon Jun 23 2014 Automatic Build System <autodist@mambasoft.it> 0.1.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:17:15 +01:00
|
|
|
* Sun Feb 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.0-1mamba
|
|
|
|
- package created using the webbuild interface
|