Sisyphus repository
Last update: 18 july 2018 | SRPMs: 18627 | Visits: 11895940
en ru br
ALT Linux repos
5.0: 0.10.7-alt0.M50.1
4.1: 0.8.17-alt1
4.0: 0.8.12-alt1

Other repositories

Group :: Text tools
RPM: fbreader

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: fbreader
Version: 0.99.5
Release: alt5%ubt
Summary: E-Book Reader
Summary (ru_RU.UTF-8): Программа для чтения электронных книг (E-Book, Ebook)
License: GPL
Group: Text tools
Source: FBReader-%version.tar.gz
Source1: watch
Source2: %{name}16.png
Source3: %{name}32.png
Source4: %{name}48.png
Source5: x-fb2.desktop
Patch1: %name-%version-alt-gcc6.patch
Patch2: %name-%version-alt-debuginfo.patch
Patch3: %name-%version-alt-crash.patch
Patch4: %name-%version-alt-fix-menu-about.patch

BuildRequires(pre): rpm-build-ubt
# Automatically added by buildreq on Wed Nov 11 2015
# optimized out: fontconfig libqt4-core libqt4-gui libqt4-network libstdc++-devel pkg-config
BuildRequires: bzlib-devel gcc-c++ libexpat-devel libfribidi-devel libqt4-devel libsqlite3-devel libunibreak-devel zlib-devel

E-Book Reader. Supports several e-book formats: fb2 (fictionbook), html, plucker, palmdoc, zTxt, plain text.

%description -l ru_RU.UTF-8
Программа для чтения электронных книг (E-book, Ebook). Поддерживает форматы: fb2 (fictionbook), html, plucker, palmdoc, zTxt, plain text.

%setup -n FBReader-%version
%patch1 -p1
%patch2 -p2
%patch3 -p2
%patch4 -p2

# explicitly setting CC variable is required for building on p8, c8 and older branches.
%make ZLSHARED=no TARGET_ARCH=desktop UI_TYPE=qt4 TARGET_STATUS=debug CC='g++ -std=c++11'

#%__subst "s,mozilla,firefox," fbreader/data/default/external.desktop.xml
#%__subst "s,FBReader.png,fbreader.png," fbreader/desktop/desktop
%make ZLSHARED=no LIBDIR=%_libdir DESTDIR=%buildroot INSTALLDIR=/usr TARGET_ARCH=desktop UI_TYPE=qt4 TARGET_STATUS=debug CC='g++ -std=c++11' MOC=%_qt4dir/bin/moc install
ln -s FBReader %buildroot%_bindir/fbreader
%__install -pD -m644 %SOURCE2 %buildroot%_miconsdir/%name.png
%__install -pD -m644 %SOURCE3 %buildroot%_niconsdir/%name.png
%__install -pD -m644 %SOURCE4 %buildroot%_liconsdir/%name.png
%__install -pD -m644 %SOURCE5 %buildroot%_datadir/mimelnk/application/x-fb2.desktop
#echo "MimeType=application/x-zip-compressed-fb2;application/x-fb2;application/rtf;application/x-chm;application/vnd.palm" >>%buildroot%_datadir/applications/FBReader.desktop



Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin