/[pkgs]/devel/Judy/Judy.spec
ViewVC logotype

Contents of /devel/Judy/Judy.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jul 24 15:34:48 2009 UTC (4 months ago) by jkeating
Branch: MAIN
CVS Tags: F-12-split, Judy-1_0_4-6_fc12, HEAD
Changes since 1.2: +4 -1 lines
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1 Name: Judy
2 Version: 1.0.4
3 Release: 6%{?dist}
4 Summary: General purpose dynamic array
5
6 Group: System Environment/Libraries
7 # The source code itself says:
8 # "GNU Lesser General Public License as published by the
9 # Free Software Foundation; either version 2 of the License,
10 # or (at your option) any later version."
11 # This will probably change to LGPLv2 in a future upstream release,
12 # but until then, LGPLv2+ is the proper license. Confirmed
13 # with upstream on 2008/11/28.
14 License: LGPLv2+
15 URL: http://sourceforge.net/projects/judy/
16 Source0: http://downloads.sourceforge.net/judy/Judy-%{version}.tar.gz
17 Source1: README.Fedora
18 # Make tests use shared instead of static libJudy.
19 Patch0: Judy-1.0.4-test-shared.patch
20 # The J1* man pages were incorrectly being symlinked to Judy, rather
21 # than Judy1. This patch corrects that. Submitted upstream 2008/11/27.
22 Patch1: Judy-1.0.4-fix-Judy1-mans.patch
23 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
24
25 #BuildRequires:
26 #Requires:
27
28 %description
29 Judy is a C library that provides a state-of-the-art core technology
30 that implements a sparse dynamic array. Judy arrays are declared
31 simply with a null pointer. A Judy array consumes memory only when it
32 is populated, yet can grow to take advantage of all available memory
33 if desired. Judy's key benefits are scalability, high performance, and
34 memory efficiency. A Judy array is extensible and can scale up to a
35 very large number of elements, bounded only by machine memory. Since
36 Judy is designed as an unbounded array, the size of a Judy array is
37 not pre-allocated but grows and shrinks dynamically with the array
38 population.
39
40
41 %package devel
42 Summary: Development libraries and headers for Judy
43 Group: Development/Libraries
44 Requires: %{name} = %{version}-%{release}
45
46 %description devel
47 This package contains the development libraries and header files
48 for developing applications that use the Judy library.
49
50
51 %prep
52 %setup -q
53 %patch0 -p1 -b .test-shared
54 %patch1 -p1 -b .fix-Judy1-mans
55 cp -p %{SOURCE1} .
56
57
58 %build
59 %configure --disable-static
60 make
61 #%{?_smp_mflags}
62 # fails to compile properly with parallel make:
63 # http://sourceforge.net/tracker/index.php?func=detail&aid=2129019&group_id=55753&atid=478138
64
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 make install DESTDIR=$RPM_BUILD_ROOT
69 # get rid of static libs and libtool archives
70 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{a,la}
71 # clean out zero length and generated files from doc tree
72 rm -rf doc/man
73 rm -f doc/Makefile* doc/ext/README_deliver
74 [ -s doc/ext/COPYRIGHT ] || rm -f doc/ext/COPYRIGHT
75 [ -s doc/ext/LICENSE ] || rm -f doc/ext/LICENSE
76
77
78 %check
79 cd test
80 ./Checkit
81
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86
87 %files
88 %defattr(-,root,root,-)
89 %doc AUTHORS ChangeLog COPYING README README.Fedora
90 %{_libdir}/*.so.*
91
92
93 %files devel
94 %defattr(-,root,root,-)
95 %doc doc
96 %{_libdir}/*.so
97 %{_includedir}/*
98 %{_mandir}/man3/*
99
100
101 %post -p /sbin/ldconfig
102
103 %postun -p /sbin/ldconfig
104
105
106 %changelog
107 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-6
108 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
109
110 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-5
111 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
112
113 * Sat Dec 13 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-4
114 - for Judy1 man page fix, patch Makefile.{am,in} instead of
115 relying on autotools to regenerate the latter.
116 - Add README.Fedora with upstream's license explanation.
117
118 * Thu Nov 30 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-3
119 - fix Judy1 man page symlinks
120 - use valid tag License: LGPLv2+ confirmed with upstream
121 - use version macro in Source0
122 - remove Makefiles from installed doc tree
123
124 * Thu Nov 27 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-2
125 - patch tests to run with shared library
126 - run tests in check section
127
128 * Sun Oct 05 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-1
129 - Initial package for Fedora

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2