|
@@ -1,18 +1,13 @@
|
|
Name: Judy
|
|
Name: Judy
|
|
Version: 1.0.5
|
|
Version: 1.0.5
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_dist_release}
|
|
Summary: General purpose dynamic array
|
|
Summary: General purpose dynamic array
|
|
|
|
+Summary(ja): 汎用の動的配列ライブラリ
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
-# The source code itself says:
|
|
|
|
-# "GNU Lesser General Public License as published by the
|
|
|
|
-# Free Software Foundation; either version 2 of the License,
|
|
|
|
-# or (at your option) any later version."
|
|
|
|
-# This will probably change to LGPLv2 in a future upstream release,
|
|
|
|
-# but until then, LGPLv2+ is the proper license. Confirmed
|
|
|
|
-# with upstream on 2008/11/28.
|
|
|
|
License: LGPLv2+
|
|
License: LGPLv2+
|
|
URL: http://sourceforge.net/projects/judy/
|
|
URL: http://sourceforge.net/projects/judy/
|
|
|
|
+
|
|
Source0: http://downloads.sourceforge.net/judy/Judy-%{version}.tar.gz
|
|
Source0: http://downloads.sourceforge.net/judy/Judy-%{version}.tar.gz
|
|
Source1: README.Fedora
|
|
Source1: README.Fedora
|
|
# Make tests use shared instead of static libJudy.
|
|
# Make tests use shared instead of static libJudy.
|
|
@@ -20,12 +15,11 @@ Patch0: Judy-1.0.4-test-shared.patch
|
|
# The J1* man pages were incorrectly being symlinked to Judy, rather
|
|
# The J1* man pages were incorrectly being symlinked to Judy, rather
|
|
# than Judy1. This patch corrects that. Submitted upstream 2008/11/27.
|
|
# than Judy1. This patch corrects that. Submitted upstream 2008/11/27.
|
|
Patch1: Judy-1.0.4-fix-Judy1-mans.patch
|
|
Patch1: Judy-1.0.4-fix-Judy1-mans.patch
|
|
|
|
+# Fix some code with undefined behavior, commented on and removed by gcc
|
|
|
|
+Patch2: Judy-1.0.5-undefined-behavior.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
-#BuildRequires:
|
|
|
|
-#Requires:
|
|
|
|
-
|
|
|
|
%description
|
|
%description
|
|
Judy is a C library that provides a state-of-the-art core technology
|
|
Judy is a C library that provides a state-of-the-art core technology
|
|
that implements a sparse dynamic array. Judy arrays are declared
|
|
that implements a sparse dynamic array. Judy arrays are declared
|
|
@@ -41,6 +35,7 @@ population.
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
Summary: Development libraries and headers for Judy
|
|
Summary: Development libraries and headers for Judy
|
|
|
|
+Summary(ja): Judy の開発用ライブラリとヘッダファイル
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
@@ -53,13 +48,14 @@ for developing applications that use the Judy library.
|
|
%setup -q -n judy-%{version}
|
|
%setup -q -n judy-%{version}
|
|
%patch0 -p1 -b .test-shared
|
|
%patch0 -p1 -b .test-shared
|
|
%patch1 -p1 -b .fix-Judy1-mans
|
|
%patch1 -p1 -b .fix-Judy1-mans
|
|
|
|
+%patch2 -p1 -b .behavior
|
|
cp -p %{SOURCE1} .
|
|
cp -p %{SOURCE1} .
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
+export CFLAGS="%{optflags} -fno-strict-aliasing -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-copy-prop -fno-tree-vrp"
|
|
%configure --disable-static
|
|
%configure --disable-static
|
|
make
|
|
make
|
|
-#%{?_smp_mflags}
|
|
|
|
# fails to compile properly with parallel make:
|
|
# fails to compile properly with parallel make:
|
|
# http://sourceforge.net/tracker/index.php?func=detail&aid=2129019&group_id=55753&atid=478138
|
|
# http://sourceforge.net/tracker/index.php?func=detail&aid=2129019&group_id=55753&atid=478138
|
|
|
|
|
|
@@ -91,7 +87,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%doc AUTHORS ChangeLog COPYING README README.Fedora
|
|
+%doc AUTHORS ChangeLog COPYING README README.Fedora examples/
|
|
%{_libdir}/*.so.*
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
@@ -103,6 +99,12 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Feb 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.0.5-2
|
|
|
|
+- rebuilt on current VineSeed
|
|
|
|
+- added patch2 from Fedora
|
|
|
|
+ * Tue Feb 18 2014 Paul Howarth <paul@city-fan.org> - 1.0.5-8
|
|
|
|
+ - Fix some code with undefined behavior
|
|
|
|
+
|
|
* Sat Feb 11 2012 NAKAMURA Kenta <kenta@vinelinux.org> - 1.0.5-1
|
|
* Sat Feb 11 2012 NAKAMURA Kenta <kenta@vinelinux.org> - 1.0.5-1
|
|
- updated to 1.0.5
|
|
- updated to 1.0.5
|
|
|
|
|