Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:libraries:c_c++
libmobi
libmobi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmobi.spec of Package libmobi
# # spec file for package libmobi # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define sover 0 Name: libmobi Version: 0.9 Release: 0 Summary: Library for handling Kindle (MOBI) formats of ebook documents License: LGPL-3.0-or-later URL: https://github.com/bfabiszewski/libmobi Source0: https://github.com/bfabiszewski/libmobi/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(zlib) %description Features: * reading and parsing: - some older text Palmdoc formats (pdb), - Mobipocket files (prc, mobi), - newer MOBI files including KF8 format (azw, azw3), - Replica Print files (azw4) * recreating source files using indices * reconstructing references (links and embedded) in html files * reconstructing source structure that can be fed back to kindlegen * reconstructing dictionary markup (orth, infl tags) * writing back loaded documents * metadata editing * handling encrypted documents %package -n %{name}%{sover} Summary: Library for handling Kindle (MOBI) formats of ebook documents %description -n %{name}%{sover} Features: * reading and parsing: - some older text Palmdoc formats (pdb), - Mobipocket files (prc, mobi), - newer MOBI files including KF8 format (azw, azw3), - Replica Print files (azw4) * recreating source files using indices * reconstructing references (links and embedded) in html files * reconstructing source structure that can be fed back to kindlegen * reconstructing dictionary markup (orth, infl tags) * writing back loaded documents * metadata editing * handling encrypted documents %package tools Summary: CLI tools for libmobi %description tools This package contains the CLI tools for libmobi. %package devel Summary: Development files for %{name}%{sover} Requires: %{name}%{sover} = %{version} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup %build autoreconf -vfi %configure \ --disable-static \ --enable-encryption \ --with-libxml2 \ --with-zlib %make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %post -n %{name}%{sover} -p /sbin/ldconfig %postun -n %{name}%{sover} -p /sbin/ldconfig %files -n %{name}%{sover} %license COPYING %{_libdir}/%{name}.so.%{sover} %{_libdir}/%{name}.so.%{sover}.* %files tools %{_bindir}/mobimeta %{_bindir}/mobitool %{_mandir}/man1/mobimeta.1%{?ext_man} %{_mandir}/man1/mobitool.1%{?ext_man} %files devel %{_includedir}/mobi.h %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %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