new upstream release 0.1.2

f41
David Tardon 8 years ago
parent f82bcfc881
commit ae64767b35

1
.gitignore vendored

@ -1,3 +1,4 @@
/libfreehand-0.0.0.tar.xz
/libfreehand-0.1.0.tar.xz
/libfreehand-0.1.1.tar.xz
/libfreehand-0.1.2.tar.xz

@ -1,18 +1,21 @@
%global apiversion 0.1
Name: libfreehand
Version: 0.1.1
Release: 7%{?dist}
Version: 0.1.2
Release: 1%{?dist}
Summary: A library for import of Macromedia/Adobe FreeHand documents
License: MPLv2.0
URL: http://wiki.documentfoundation.org/DLP/Libraries/libfreehand
Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
BuildRequires: boost-devel
BuildRequires: doxygen
BuildRequires: gperf
BuildRequires: help2man
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: perl-interpreter
BuildRequires: pkgconfig(cppunit)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(librevenge-0.0)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(zlib)
@ -55,10 +58,6 @@ sed -i \
libtool
make %{?_smp_mflags}
export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
help2man -N -n 'debug the conversion library' -o fh2raw.1 ./src/conv/raw/.libs/fh2raw
help2man -N -n 'convert FreeHand document into SVG' -o fh2svg.1 ./src/conv/svg/.libs/fh2svg
help2man -N -n 'convert FreeHand document into plain text' -o fh2text.1 ./src/conv/text/.libs/fh2text
%install
make install DESTDIR=%{buildroot}
@ -66,6 +65,11 @@ rm -f %{buildroot}/%{_libdir}/*.la
# we install API docs directly from build
rm -rf %{buildroot}/%{_docdir}/%{name}
# generate and install man pages
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
for tool in fh2raw fh2svg fh2text; do
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
done
install -m 0755 -d %{buildroot}/%{_mandir}/man1
install -m 0644 fh2*.1 %{buildroot}/%{_mandir}/man1
@ -73,6 +77,10 @@ install -m 0644 fh2*.1 %{buildroot}/%{_mandir}/man1
%postun -p /sbin/ldconfig
%check
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
make %{?_smp_mflags} check
%files
%doc AUTHORS
%license COPYING
@ -97,6 +105,9 @@ install -m 0644 fh2*.1 %{buildroot}/%{_mandir}/man1
%{_mandir}/man1/fh2text.1*
%changelog
* Sat Sep 16 2017 David Tardon <dtardon@redhat.com> - 0.1.2-1
- new upstream release
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

@ -1 +1 @@
97eb6a8607de3c101ad05ceacc122107 libfreehand-0.1.1.tar.xz
SHA512 (libfreehand-0.1.2.tar.xz) = 4112a76ac99999801d97d1b282596d631d8496a5bf65778ab26aa06da86637b1e2b630648a67ea01bf3316ecec9f2715546baff27af090b900267c87a011b963

Loading…
Cancel
Save