ALT Linux repositórios
S: | 0.21.10-alt1 |
D: | 0.20.5-alt1 |
5.0: | 0.20.2-alt1.1 |
4.1: | 0.20.2-alt1.1 |
4.0: | 0.20.2-alt1 |
3.0: | 0.19.3-alt1 |
Group :: Ferramentas de texto
RPM: unrtf
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: unrtf
Version: 0.21.10
Release: alt1
Summary: UnRTF is a moderately complicated converter from RTF to other formats
License: GPLv3
Group: Text tools
Url: http://www.gnu.org/software/unrtf/unrtf.html
Packager: Ilya Mashkin <oddity at altlinux.ru>
BuildRequires: automake
Source0: %name-%version.tar.gz
%description
The program unrtf is a converter from Rich Text Format (RTF) to a
growing number of document formats. At present it supports
Hypertext Markup Language (HTML), plain text, text with VT100 codes,
LaTeX, and PostScript. All output formats except HTML are "alpha" i.e.
limited and development has just begun. However with HTML, the program
supports tables, fonts, embedded images, hyperlinks, and paragraph alignment.
Font support includes face and size changes, as well as typical attributes
such as italic, bold, underlining, strikethrough, smallcaps, allcaps, expand,
compress and both foreground and background colors. Images are always stored
to separate files in the current directory, or they can be ignored.
%prep
%setup -q
# ALT bug#27309
#sed -i 's,/usr/local/lib/unrtf/,%_libdir/unrtf/,g' src/path.h
sed -i -e 's#/usr/local/lib/unrtf/#%{_datadir}/unrtf/#' src/main.h
sed -i -e 's#/usr/local/lib/unrtf/#%{_datadir}/unrtf/#' src/path.h
sed -i -e 's#/usr/local/lib/unrtf/#%{_datadir}/unrtf/#' src/my_iconv.h
%build
autoreconf -fi
%configure
%make_build
# The ./configure command (specifically the symlinks in the ./config/
# directory) assume that automake is present in an "automake-1.13" directory.
# That is the case on EL7, but it's not the case in Fedora. That is why we
# regenerate the automake/autoconf bits by running the ./bootstrap script here.
#./bootstrap
#configure
#make_build
%install
%makeinstall
%files
%doc AUTHORS ChangeLog NEWS README tests
%_bindir/*
#_libdir/%name/*
%_man1dir/*
%_datadir/%name/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.21.10
Release: alt1
Summary: UnRTF is a moderately complicated converter from RTF to other formats
License: GPLv3
Group: Text tools
Url: http://www.gnu.org/software/unrtf/unrtf.html
Packager: Ilya Mashkin <oddity at altlinux.ru>
BuildRequires: automake
Source0: %name-%version.tar.gz
%description
The program unrtf is a converter from Rich Text Format (RTF) to a
growing number of document formats. At present it supports
Hypertext Markup Language (HTML), plain text, text with VT100 codes,
LaTeX, and PostScript. All output formats except HTML are "alpha" i.e.
limited and development has just begun. However with HTML, the program
supports tables, fonts, embedded images, hyperlinks, and paragraph alignment.
Font support includes face and size changes, as well as typical attributes
such as italic, bold, underlining, strikethrough, smallcaps, allcaps, expand,
compress and both foreground and background colors. Images are always stored
to separate files in the current directory, or they can be ignored.
%prep
%setup -q
# ALT bug#27309
#sed -i 's,/usr/local/lib/unrtf/,%_libdir/unrtf/,g' src/path.h
sed -i -e 's#/usr/local/lib/unrtf/#%{_datadir}/unrtf/#' src/main.h
sed -i -e 's#/usr/local/lib/unrtf/#%{_datadir}/unrtf/#' src/path.h
sed -i -e 's#/usr/local/lib/unrtf/#%{_datadir}/unrtf/#' src/my_iconv.h
%build
autoreconf -fi
%configure
%make_build
# The ./configure command (specifically the symlinks in the ./config/
# directory) assume that automake is present in an "automake-1.13" directory.
# That is the case on EL7, but it's not the case in Fedora. That is why we
# regenerate the automake/autoconf bits by running the ./bootstrap script here.
#./bootstrap
#configure
#make_build
%install
%makeinstall
%files
%doc AUTHORS ChangeLog NEWS README tests
%_bindir/*
#_libdir/%name/*
%_man1dir/*
%_datadir/%name/*
%changelog
…
Todas as alterações você pod ver aqui