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
|
/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
|
%global appname libzim
|
||||||
Version: 1.0
|
|
||||||
Release: 18%{?dist}
|
|
||||||
Summary: Library for reading/writing ZIM files
|
|
||||||
|
|
||||||
License: GPLv2+
|
Name: zimlib
|
||||||
URL: http://openzim.org/wiki/Main_Page
|
Version: 4.0.5
|
||||||
Source0: http://www.openzim.org/download/%{name}-%{version}.tar.gz
|
Release: 1%{?dist}
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
License: GPLv2 and ASL 2.0 and BSD
|
||||||
BuildRequires: gcc
|
Summary: Reference implementation of the ZIM specification
|
||||||
BuildRequires: xz-devel
|
|
||||||
|
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
|
%description
|
||||||
The zimlib is the standard implementation of the ZIM specification. It is a
|
The ZIM library is the reference implementation for the ZIM file
|
||||||
library which implements the read and write method for ZIM files. Use zimlib in
|
format. It's a solution to read and write ZIM files on many systems
|
||||||
your own software - like reader applications - to make them ZIM-capable without
|
and architectures.
|
||||||
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.
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
|
||||||
%package devel
|
%description devel
|
||||||
Summary: Development files for %{name}
|
%{summary}.
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
The %{name}-devel package contains libraries and header files for
|
|
||||||
developing applications that use %{name}.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -n %{appname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%meson
|
||||||
make %{?_smp_mflags}
|
%meson_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# notified upstream about non-preserving installation of files. He filed a bug.
|
%meson_install
|
||||||
%make_install INSTALL="/usr/bin/install -c -p"
|
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
||||||
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS COPYING
|
%doc AUTHORS ChangeLog README.md
|
||||||
%{_bindir}/zimdump
|
%license COPYING
|
||||||
%{_bindir}/zimsearch
|
%{_libdir}/%{appname}.so.4*
|
||||||
%{_libdir}/*.so.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/zim/
|
%{_includedir}/zim
|
||||||
%{_libdir}/*.so
|
%{_libdir}/%{appname}.so
|
||||||
|
%{_libdir}/pkgconfig/%{appname}.pc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-18
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue