Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mfabian
fbreader
fbreader.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fbreader.spec of Package fbreader
# # spec file for package fbreader (Version 0.8.17) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: fbreader BuildRequires: libbz2-devel libexpat-devel liblinebreak-devel libstdc++-devel update-desktop-files zlib-devel %if %suse_version < 1030 BuildRequires: gtk2-devel libqt4-devel %define uitype gtk %else BuildRequires: libqt4-devel %define uitype qt4 %endif Url: http://www.fbreader.org License: GPL Group: Productivity/Publishing/Other Summary: FBReader - reader for e-books in various formats Version: 0.8.17 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: http://www.fbreader.org/fbreader-sources-%{version}.tar.bz2 Patch0: cflags.patch AutoReqProv: on %description FBReader is an e-book reader for various platforms. Supported formats include: fb2, HTML, chm, plucker, palmdoc, zTxt, TCR, RTF, OEB, OpenReader, mobipocket, plain text. %prep %setup -q %patch0 -p1 %build #fix wrong moc filename perl -pi -e 's/moc-qt4/moc/' makefiles/arch/desktop.mk export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" make TARGET_ARCH="desktop" UI_TYPE=%uitype DESTDIR=${RPM_BUILD_ROOT} INSTALLDIR=%{_prefix} LIBDIR=%{_libdir} %install make TARGET_ARCH="desktop" UI_TYPE=%uitype DESTDIR=${RPM_BUILD_ROOT} INSTALLDIR=%{_prefix} LIBDIR=%{_libdir} install %suse_update_desktop_file -i FBReader Office Viewer %clean rm -rf ${RPM_BUILD_ROOT} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc fbreader/LICENSE %{_bindir}/FBReader %{_libdir}/libzlcore.so.* %{_libdir}/libzltext.so.* %dir %{_libdir}/zlibrary %dir %{_libdir}/zlibrary/ui %if "%uitype" == "qt4" %{_libdir}/zlibrary/ui/zlui-qt4.so %else %{_libdir}/zlibrary/ui/zlui-gtk.so %endif %{_datadir}/FBReader/ %{_datadir}/pixmaps/* %{_datadir}/zlibrary/ /usr/share/applications/FBReader.desktop %changelog * Fri May 16 2008 mfabian@suse.de - build with UI_TYPE=gtk for openSUSE < 10.3 because Qt4 is far too broken on openSUSE 10.2 to be useful. * Thu May 15 2008 mfabian@suse.de - new package: fbreader 0.8.17. Based on .spec file from Antony Dovgal <tony@daylessday.org>.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor