Sisyphus repository
Last update: 27 february 2020 | SRPMs: 17504 | Visits: 17533451
en ru br
ALT Linux repos
S:0.99.5-alt6
5.0: 0.10.7-alt0.M50.1
4.1: 0.8.17-alt1
4.0: 0.8.12-alt1

Other repositories
Upstream:0.8.15

Group :: Text tools
RPM: fbreader

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: fbreader
Version: 0.8.12
Release: alt1
Summary: E-Book Reader
Summary (ru_RU.UTF-8): Программа для чтения электронных книг (E-Book, Ebook)
License: GPL
Group: Text tools
URL: http://only.mawhrin.net/fbreader/
Source: %name-sources-%version.tar
Source1: watch
Source2: %{name}16.png
Source3: %{name}32.png
Source4: %{name}48.png
Source5: x-fb2.desktop

# Automatically added by buildreq on Thu Mar 29 2007

BuildRequires: bzlib-devel fontconfig gcc-c++ libexpat-devel libqt4-devel

%description
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.
---

%prep
%setup -q

%build
export QTDIR=%_qt4dir
%make LIBDIR=%_libdir INSTALLDIR=/usr TARGET_ARCH=desktop UI_TYPE=qt4 TARGET_STATUS=debug MOC=%_qt4dir/bin/moc UILIBS="-L%_qt4dir/lib -lQtGui"


%install
%__subst "s,mozilla,firefox," fbreader/data/default/external.desktop.xml
%__subst "s,FBReader.png,fbreader.png," fbreader/desktop/desktop
%make LIBDIR=%_libdir DESTDIR=%buildroot INSTALLDIR=/usr TARGET_ARCH=desktop UI_TYPE=qt4 TARGET_STATUS=release MOC=%_qt4dir/bin/moc UILIBS="-L%_qt4dir/lib -lQtGui" 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 %SOURCE4 %buildroot%_liconsdir/%name.png
%__install -pD -m644 %SOURCE5 %buildroot%_datadir/mimelnk/application/x-fb2.desktop
echo "MimeType=application/x-fb2;text/plain;application/rtf;application/x-chm;application/vnd.palm;" >>%buildroot%_datadir/applications/FBReader.desktop


%post
%update_menus
%postun
%clean_menus

%files
%_bindir/*
%_datadir/FBReader
%_datadir/pixmaps/*
%_datadir/zlibrary
%_libdir/*.so.*
%_libdir/zlibrary
%_datadir/applications/FBReader.desktop
%_datadir/mimelnk/application/x-fb2.desktop
%_miconsdir/%name.png
%_niconsdir/%name.png
%_liconsdir/%name.png
%changelog

Full changelog you can see here

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