|
|
b62af3 |
%global apiversion 0.1
|
|
|
b62af3 |
|
|
|
b62af3 |
Name: libfreehand
|
|
|
b62af3 |
Version: 0.1.2
|
|
|
b62af3 |
Release: 11%{?dist}
|
|
|
b62af3 |
Summary: A library for import of Macromedia/Adobe FreeHand documents
|
|
|
b62af3 |
|
|
|
b62af3 |
License: MPLv2.0
|
|
|
b62af3 |
URL: http://wiki.documentfoundation.org/DLP/Libraries/libfreehand
|
|
|
b62af3 |
Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
|
|
|
b62af3 |
|
|
|
b62af3 |
BuildRequires: boost-devel
|
|
|
b62af3 |
BuildRequires: doxygen
|
|
|
b62af3 |
BuildRequires: gcc-c++
|
|
|
b62af3 |
BuildRequires: gperf
|
|
|
b62af3 |
BuildRequires: help2man
|
|
|
b62af3 |
BuildRequires: perl-interpreter
|
|
|
b62af3 |
BuildRequires: pkgconfig(cppunit)
|
|
|
b62af3 |
BuildRequires: pkgconfig(icu-uc)
|
|
|
b62af3 |
BuildRequires: pkgconfig(librevenge-0.0)
|
|
|
b62af3 |
BuildRequires: pkgconfig(librevenge-generators-0.0)
|
|
|
b62af3 |
BuildRequires: pkgconfig(librevenge-stream-0.0)
|
|
|
b62af3 |
BuildRequires: pkgconfig(lcms2)
|
|
|
b62af3 |
BuildRequires: pkgconfig(zlib)
|
|
|
b62af3 |
BuildRequires: make
|
|
|
b62af3 |
|
|
|
b62af3 |
Patch0: 0001-Add-missing-semicolon-to-fix-build-with-icu-65.1.patch
|
|
|
b62af3 |
|
|
|
b62af3 |
%description
|
|
|
b62af3 |
libfreehand is library providing ability to interpret and import
|
|
|
b62af3 |
Macromedia/Adobe FreeHand documents into various applications.
|
|
|
b62af3 |
|
|
|
b62af3 |
%package devel
|
|
|
b62af3 |
Summary: Development files for %{name}
|
|
|
b62af3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
b62af3 |
|
|
|
b62af3 |
%description devel
|
|
|
b62af3 |
The %{name}-devel package contains libraries and header files for
|
|
|
b62af3 |
developing applications that use %{name}.
|
|
|
b62af3 |
|
|
|
b62af3 |
%package doc
|
|
|
b62af3 |
Summary: Documentation of %{name} API
|
|
|
b62af3 |
BuildArch: noarch
|
|
|
b62af3 |
|
|
|
b62af3 |
%description doc
|
|
|
b62af3 |
The %{name}-doc package contains documentation files for %{name}.
|
|
|
b62af3 |
|
|
|
b62af3 |
%package tools
|
|
|
b62af3 |
Summary: Tools to transform Macromedia/Adobe FreeHand documents into other formats
|
|
|
b62af3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
b62af3 |
|
|
|
b62af3 |
%description tools
|
|
|
b62af3 |
Tools to transform Macromedia/Adobe FreeHand documents into other formats.
|
|
|
b62af3 |
Currently supported: SVG, raw, text.
|
|
|
b62af3 |
|
|
|
b62af3 |
%prep
|
|
|
b62af3 |
%autosetup -p1
|
|
|
b62af3 |
|
|
|
b62af3 |
%build
|
|
|
b62af3 |
%configure --disable-silent-rules --disable-static --disable-werror
|
|
|
b62af3 |
sed -i \
|
|
|
b62af3 |
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
b62af3 |
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
b62af3 |
libtool
|
|
|
b62af3 |
%make_build
|
|
|
b62af3 |
|
|
|
b62af3 |
|
|
|
b62af3 |
%install
|
|
|
b62af3 |
%make_install
|
|
|
b62af3 |
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
b62af3 |
# we install API docs directly from build
|
|
|
b62af3 |
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
b62af3 |
|
|
|
b62af3 |
# generate and install man pages
|
|
|
b62af3 |
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
b62af3 |
for tool in fh2raw fh2svg fh2text; do
|
|
|
b62af3 |
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
|
|
b62af3 |
done
|
|
|
b62af3 |
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
b62af3 |
install -m 0644 fh2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
b62af3 |
|
|
|
b62af3 |
%ldconfig_scriptlets
|
|
|
b62af3 |
|
|
|
b62af3 |
%check
|
|
|
b62af3 |
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
b62af3 |
%make_build check
|
|
|
b62af3 |
|
|
|
b62af3 |
%files
|
|
|
b62af3 |
%doc AUTHORS
|
|
|
b62af3 |
%license COPYING
|
|
|
b62af3 |
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
b62af3 |
|
|
|
b62af3 |
%files devel
|
|
|
b62af3 |
%doc ChangeLog
|
|
|
b62af3 |
%{_includedir}/%{name}-%{apiversion}
|
|
|
b62af3 |
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
b62af3 |
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
b62af3 |
|
|
|
b62af3 |
%files doc
|
|
|
b62af3 |
%license COPYING
|
|
|
b62af3 |
%doc docs/doxygen/html
|
|
|
b62af3 |
|
|
|
b62af3 |
%files tools
|
|
|
b62af3 |
%{_bindir}/fh2raw
|
|
|
b62af3 |
%{_bindir}/fh2svg
|
|
|
b62af3 |
%{_bindir}/fh2text
|
|
|
b62af3 |
%{_mandir}/man1/fh2raw.1*
|
|
|
b62af3 |
%{_mandir}/man1/fh2svg.1*
|
|
|
b62af3 |
%{_mandir}/man1/fh2text.1*
|
|
|
b62af3 |
|
|
|
b62af3 |
%changelog
|
|
|
b62af3 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.2-11
|
|
|
b62af3 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
b62af3 |
Related: rhbz#1991688
|
|
|
b62af3 |
|
|
|
b62af3 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.2-10
|
|
|
b62af3 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
b62af3 |
|
|
|
b62af3 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-9
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-8
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 0.1.2-7
|
|
|
b62af3 |
- Use make macros
|
|
|
b62af3 |
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
b62af3 |
|
|
|
b62af3 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-6
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-5
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-4
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-3
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Sat Sep 16 2017 David Tardon <dtardon@redhat.com> - 0.1.2-1
|
|
|
b62af3 |
- new upstream release
|
|
|
b62af3 |
|
|
|
b62af3 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-7
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-6
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-5
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-4
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-3
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Thu Jun 11 2015 David Tardon <dtardon@redhat.com> - 0.1.1-1
|
|
|
b62af3 |
- new upstream release
|
|
|
b62af3 |
|
|
|
b62af3 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.1.0-4
|
|
|
b62af3 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
b62af3 |
|
|
|
b62af3 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-3
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
|
|
|
b62af3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b62af3 |
|
|
|
b62af3 |
* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1
|
|
|
b62af3 |
- new upstream release
|
|
|
b62af3 |
|
|
|
b62af3 |
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.0.0-4
|
|
|
b62af3 |
- generate man pages
|
|
|
b62af3 |
|
|
|
b62af3 |
* Mon Nov 04 2013 David Tardon <dtardon@redhat.com> - 0.0.0-3
|
|
|
b62af3 |
- fix memory leak
|
|
|
b62af3 |
|
|
|
b62af3 |
* Thu Oct 31 2013 David Tardon <dtardon@redhat.com> 0.0.0-2
|
|
|
b62af3 |
- add gperf to BuildRequires
|
|
|
b62af3 |
|
|
|
b62af3 |
* Thu Oct 31 2013 David Tardon <dtardon@redhat.com> 0.0.0-1
|
|
|
b62af3 |
- initial import
|