source: projects/specs/trunk/J/Judy/Judy-vl.spec @ 9356

Revision 9356, 4.3 KB checked in by inagaki, 9 years ago (diff)

2015-02-17 Ryoichi INAGAKI <ryo1@…>

  • Judy: rebuilt
  • gtkwave: updated


Line 
1Name:           Judy
2Version:        1.0.5
3Release:        2%{?_dist_release}
4Summary:        General purpose dynamic array
5Summary(ja):    汎用の動的配列ライブラリ
6
7Group:          System Environment/Libraries
8License:        LGPLv2+
9URL:            http://sourceforge.net/projects/judy/
10
11Source0:        http://downloads.sourceforge.net/judy/Judy-%{version}.tar.gz
12Source1:        README.Fedora
13# Make tests use shared instead of static libJudy.
14Patch0:         Judy-1.0.4-test-shared.patch
15# The J1* man pages were incorrectly being symlinked to Judy, rather
16# than Judy1.  This patch corrects that.  Submitted upstream 2008/11/27.
17Patch1:         Judy-1.0.4-fix-Judy1-mans.patch
18# Fix some code with undefined behavior, commented on and removed by gcc
19Patch2:         Judy-1.0.5-undefined-behavior.patch
20
21BuildRoot:      %{_tmppath}/%{name}-%{version}-root
22
23%description
24Judy is a C library that provides a state-of-the-art core technology
25that implements a sparse dynamic array. Judy arrays are declared
26simply with a null pointer. A Judy array consumes memory only when it
27is populated, yet can grow to take advantage of all available memory
28if desired. Judy's key benefits are scalability, high performance, and
29memory efficiency. A Judy array is extensible and can scale up to a
30very large number of elements, bounded only by machine memory. Since
31Judy is designed as an unbounded array, the size of a Judy array is
32not pre-allocated but grows and shrinks dynamically with the array
33population.
34
35
36%package devel
37Summary:        Development libraries and headers for Judy
38Summary(ja):    Judy の開発用ライブラリとヘッダファイル
39Group:          Development/Libraries
40Requires:       %{name} = %{version}-%{release}
41
42%description devel
43This package contains the development libraries and header files
44for developing applications that use the Judy library.
45
46
47%prep
48%setup -q -n judy-%{version}
49%patch0 -p1 -b .test-shared
50%patch1 -p1 -b .fix-Judy1-mans
51%patch2 -p1 -b .behavior
52cp -p %{SOURCE1} .
53
54
55%build
56export CFLAGS="%{optflags} -fno-strict-aliasing -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-copy-prop -fno-tree-vrp"
57%configure --disable-static
58make
59# fails to compile properly with parallel make:
60# http://sourceforge.net/tracker/index.php?func=detail&aid=2129019&group_id=55753&atid=478138
61
62
63%install
64rm -rf $RPM_BUILD_ROOT
65make install DESTDIR=$RPM_BUILD_ROOT
66# get rid of static libs and libtool archives
67rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{a,la}
68# clean out zero length and generated files from doc tree
69rm -rf doc/man
70rm -f doc/Makefile* doc/ext/README_deliver
71[ -s doc/ext/COPYRIGHT ] || rm -f doc/ext/COPYRIGHT
72[ -s doc/ext/LICENSE ] || rm -f doc/ext/LICENSE
73
74
75%check
76cd test
77./Checkit
78
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post -p /sbin/ldconfig
84
85%postun -p /sbin/ldconfig
86
87
88%files
89%defattr(-,root,root,-)
90%doc AUTHORS ChangeLog COPYING README README.Fedora examples/
91%{_libdir}/*.so.*
92
93%files devel
94%defattr(-,root,root,-)
95%doc doc
96%{_libdir}/*.so
97%{_includedir}/*
98%{_mandir}/man3/*
99
100
101%changelog
102* Wed Feb 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.0.5-2
103- rebuilt on current VineSeed
104- added patch2 from Fedora
105  * Tue Feb 18 2014 Paul Howarth <paul@city-fan.org> - 1.0.5-8
106  - Fix some code with undefined behavior
107
108* Sat Feb 11 2012 NAKAMURA Kenta <kenta@vinelinux.org> - 1.0.5-1
109- updated to 1.0.5
110
111* Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.4-7
112- Initial build for Vine Linux
113
114* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-6
115- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
116
117* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-5
118- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
119
120* Sat Dec 13 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-4
121- for Judy1 man page fix, patch Makefile.{am,in} instead of
122  relying on autotools to regenerate the latter.
123- Add README.Fedora with upstream's license explanation.
124
125* Thu Nov 30 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-3
126- fix Judy1 man page symlinks
127- use valid tag License: LGPLv2+ confirmed with upstream
128- use version macro in Source0
129- remove Makefiles from installed doc tree
130
131* Thu Nov 27 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-2
132- patch tests to run with shared library
133- run tests in check section
134
135* Sun Oct 05 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-1
136- Initial package for Fedora
Note: See TracBrowser for help on using the repository browser.