File: darts.spec

package info (click to toggle)
darts 0.32-20
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,040 kB
  • sloc: sh: 2,458; cpp: 95; makefile: 32; perl: 3
file content (40 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
%define prefix /usr
%define version 0.32
%define release 1

Summary: Double ARray Trie System
Name: darts
Version: %{version}
Release: %{release}
Copyright: LGPL
Group: local
Packager: Taku Kudo <taku-ku@is.aist-nara.ac.jp>
Source: %{name}-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}
Requires: zlib-devel

%description
Double ARray Trie System

%prep

%setup

%build
./configure --prefix=%{prefix}
make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"

%install
make prefix=$RPM_BUILD_ROOT%{prefix} install

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%doc README AUTHORS COPYING doc/*.html doc/*.css
%{prefix}/include/darts.h
%{prefix}/libexec/darts/*