Todd R 2016-10-21 00:10:04 +00:00 committed by Git OBS Bridge
parent 0b9fb25a62
commit ae2592166d
2 changed files with 15 additions and 14 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Thu May 28 12:17:46 UTC 2020 - Kristyna Streitova <kstreitova@suse.com>
- run spec-cleaner
-------------------------------------------------------------------
Fri Mar 18 15:10:59 UTC 2016 - bwiedemann@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package judy
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# 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/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -21,14 +21,15 @@ Name: judy
Version: 1.0.5
Release: 0
Summary: A general purpose dynamic array implemented as a C callable library
License: LGPL-2.1-or-later
License: LGPL-2.1+
Group: Development/Libraries/C and C++
URL: http://judy.sourceforge.net/
Url: http://judy.sourceforge.net/
Source0: http://sourceforge.net/projects/judy/files/judy/Judy-%{version}/Judy-%{version}.tar.gz
# PATCH-FIX-OPENSUSE Judy-test-shared.patch -- use shared library for testing
Patch0: Judy-test-shared.patch
Patch1: reproducible.patch
BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Judy is a C library that provides a state-of-the-art core technology that implements
@ -70,7 +71,9 @@ This package holds the development files for Judy.
%package doc
Summary: Development files for Judy
Group: Documentation/Other
%if 0%{?suse_version} >= 1130 || 0%{?fedora_version}
BuildArch: noarch
%endif
%description doc
This package contains documentation about Judy library and examples.
@ -84,32 +87,35 @@ This package contains documentation about Judy library and examples.
%configure \
--disable-static
# not parallel safe
%make_build -j1
make -j1
%check
%make_build check
make %{?_smp_mflags} check
%install
%make_install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
%fdupes -s %{buildroot}/%{_mandir}
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files devel
%defattr(-,root,root)
%{_includedir}/Judy.h
%{_libdir}/libJudy.so
%{_mandir}/man3/J*
%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/libJudy.so.1*
%files doc
%license COPYING
%doc AUTHORS ChangeLog doc/ext/README_deliver doc/ext/*.htm* doc/int/*.htm*
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog doc/ext/README_deliver doc/ext/*.htm* doc/int/*.htm*
%doc examples
%changelog