Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:A
ebook-tools
ebook-tools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ebook-tools.spec of Package ebook-tools
# # spec file for package ebook-tools # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: ebook-tools Summary: A library for reading ebook files License: MIT Group: Development/Libraries/C and C++ Version: 0.2.2 Release: 0 Url: http://sourceforge.net/projects/ebook-tools BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libxml2-devel BuildRequires: libzip-devel BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %name-%{version}.tar.gz Source1: baselibs.conf Patch1: ebook-tools-64bit-installation.diff Patch2: ebook-tools-visibility-hidden.patch %description ebook-tools provides some tools to handle ebook files %package -n libepub0 Summary: A library for reading ebook files Group: Development/Libraries/C and C++ %description -n libepub0 libepub library is needed for okular to support ebook format. %package -n libepub-devel Summary: Header files for libepub library Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libepub0 = %{version} %description -n libepub-devel Header files for the libepub library %prep %setup %patch1 -p1 %patch2 %build mkdir build cd build export CFLAGS=$RPM_OPT_FLAGS export CXXFLAGS=$RPM_OPT_FLAGS export LDFLAGS="-Wl,-Bsymbolic-functions $LDFLAGS" _libsuffix=$(echo %_lib | cut -b4-) cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=%_prefix -DLIB_SUFFIX="$_libsuffix" .. %{__make} %{?_smp_mflags} VERBOSE=1 %install cd build %{__make} install DESTDIR=%{buildroot} nm -C -D %{buildroot}%{_libdir}/libepub.so.* %post -n libepub0 -p /sbin/ldconfig %postun -n libepub0 -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/einfo %{_bindir}/lit2epub %files -n libepub0 %defattr(-,root,root) %{_libdir}/libepub.so.* %files -n libepub-devel %defattr(-,root,root) %{_includedir}/epub.h %{_includedir}/epub_version.h %{_includedir}/epub_shared.h %{_libdir}/libepub.so %changelog
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