Updated to version 4.0.5. Major SPEC cleanup.
This commit is contained in:
parent
b4e42d5c2e
commit
afc259dacc
|
@ -1 +1,2 @@
|
|||
/zimlib-1.0.tar.gz
|
||||
/4.0.5.tar.gz
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
d5370ef03c4399ffb73e73807e0bec14 zimlib-1.0.tar.gz
|
||||
SHA512 (4.0.5.tar.gz) = 7329976f25fee9d6c6c97b58582fd081dff438604af97847578e9d4ae1dbf6d2b8b5e09ac653e2b3299ac5a948bcde05c1d41b5b580570871c3b348a97f21e6c
|
||||
|
|
85
zimlib.spec
85
zimlib.spec
|
@ -1,65 +1,62 @@
|
|||
Name: zimlib
|
||||
Version: 1.0
|
||||
Release: 18%{?dist}
|
||||
Summary: Library for reading/writing ZIM files
|
||||
%global appname libzim
|
||||
|
||||
License: GPLv2+
|
||||
URL: http://openzim.org/wiki/Main_Page
|
||||
Source0: http://www.openzim.org/download/%{name}-%{version}.tar.gz
|
||||
Name: zimlib
|
||||
Version: 4.0.5
|
||||
Release: 1%{?dist}
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc
|
||||
BuildRequires: xz-devel
|
||||
License: GPLv2 and ASL 2.0 and BSD
|
||||
Summary: Reference implementation of the ZIM specification
|
||||
|
||||
URL: https://github.com/openzim/%{appname}
|
||||
Source0: %{url}/archive/%{version}.tar.gz
|
||||
|
||||
BuildRequires: xapian-core-devel
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: gtest-devel
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: xz-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: meson
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
The zimlib is the standard implementation of the ZIM specification. It is a
|
||||
library which implements the read and write method for ZIM files. Use zimlib in
|
||||
your own software - like reader applications - to make them ZIM-capable without
|
||||
the need having to dig too much into the ZIM file format. zimlib is written in
|
||||
C++. It also includes the binaries zimsearch and zimdump, for directly
|
||||
searching and viewing ZIM file contents.
|
||||
The ZIM library is the reference implementation for the ZIM file
|
||||
format. It's a solution to read and write ZIM files on many systems
|
||||
and architectures.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%autosetup -n %{appname}-%{version}
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
# notified upstream about non-preserving installation of files. He filed a bug.
|
||||
%make_install INSTALL="/usr/bin/install -c -p"
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%doc AUTHORS COPYING
|
||||
%{_bindir}/zimdump
|
||||
%{_bindir}/zimsearch
|
||||
%{_libdir}/*.so.*
|
||||
%doc AUTHORS ChangeLog README.md
|
||||
%license COPYING
|
||||
%{_libdir}/%{appname}.so.4*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/zim/
|
||||
%{_libdir}/*.so
|
||||
|
||||
%{_includedir}/zim
|
||||
%{_libdir}/%{appname}.so
|
||||
%{_libdir}/pkgconfig/%{appname}.pc
|
||||
|
||||
%changelog
|
||||
* Tue Mar 19 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 4.0.5-1
|
||||
- Updated to version 4.0.5.
|
||||
- Major SPEC cleanup.
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue