]> git.pld-linux.org Git - SPECS.git/blob - judy.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / judy.spec
1 Summary:        Exteremelly fast dynamic libraries in C
2 Summary(pl.UTF-8):      Ekstremalnie szybkie dynamiczne tablice w C
3 Name:           judy
4 Version:        1.0.5
5 Release:        2
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/judy/Judy-%{version}.tar.gz
9 # Source0-md5:  115a0d26302676e962ae2f70ec484a54
10 URL:            http://judy.sourceforge.net/
11 BuildRequires:  automake
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Judy is a library developed by HP for superfast dynamic arrays in C.
16
17 %description -l pl.UTF-8
18 Judy jest biblioteką opracowaną przez HP implementującą bardzo szybkie
19 dynamiczne tablice w C.
20
21 %package devel
22 Summary:        Development files for Judy
23 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Judy
24 Group:          Development/Libraries
25 Requires:       %{name} = %{version}-%{release}
26
27 %description devel
28 Documentation and header files needed to compile programs using Judy.
29
30 %description devel -l pl.UTF-8
31 Dokumentacja i pliki nagłówkowe potrzebne do kompilacji programów
32 wykorzystujących bibliotekę Judy.
33
34 %package static
35 Summary:        Judy static library
36 Summary(pl.UTF-8):      Biblioteka statyczna Judy
37 Group:          Development/Libraries
38 Requires:       %{name}-devel = %{version}-%{release}
39
40 %description static
41 Judy static library.
42
43 %description static -l pl.UTF-8
44 Biblioteka statyczna Judy.
45
46 %prep
47 %setup -q
48
49 %build
50 cp -f /usr/share/automake/config.sub .
51 %configure
52 %{__make} -C tool
53 %{__make} -C doc -j1
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog README
72 %attr(755,root,root) %{_libdir}/libJudy.so.*.*.*
73 %attr(755,root,root) %ghost %{_libdir}/libJudy.so.1
74
75 %files devel
76 %defattr(644,root,root,755)
77 %doc doc/int/*
78 %attr(755,root,root) %{_libdir}/libJudy.so
79 %{_libdir}/libJudy.la
80 %{_includedir}/Judy.h
81 %{_mandir}/man3/J1*.3*
82 %{_mandir}/man3/JH*.3*
83 %{_mandir}/man3/JL*.3*
84 %{_mandir}/man3/JS*.3*
85 %{_mandir}/man3/Judy*.3*
86
87 %files static
88 %defattr(644,root,root,755)
89 %{_libdir}/libJudy.a
This page took 0.378213 seconds and 3 git commands to generate.