File: boolstuff-0.1.spec.in

package info (click to toggle)
boolstuff 0.1.11-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,664 kB
  • ctags: 152
  • sloc: sh: 8,653; cpp: 1,435; makefile: 200; ansic: 162; perl: 106
file content (82 lines) | stat: -rw-r--r-- 2,100 bytes parent folder | download | duplicates (2)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# RPM .spec file
#
# Release number can be specified with rpm --define 'rel SOMETHING' ...
# If no such --define is used, the release number is 1.
#
# Source archive's extension can be specified with rpm --define 'srcext .foo'
# where .foo is the source archive's actual extension.
# To compile an RPM from a .bz2 source archive, give the command
#   rpmbuild -ta --define 'srcext .bz2' @PACKAGE@-@VERSION@.tar.bz2
#
%if %{?rel:0}%{!?rel:1}
%define rel 1
%endif
%if %{?srcext:0}%{!?srcext:1}
%define srcext .gz
%endif

Summary: @PACKAGE_SUMMARY_EN@
Name: @PACKAGE@
Version: @VERSION@
Release: %{rel}
License: GPL
Group: Development/Libraries
Source: %{name}-%{version}.tar%{srcext}
URL: http://sarrazip.com/dev/@PACKAGE@.html
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
This library contains an algorithm that converts a boolean expression
binary tree into the Disjunctive Normal Form.  The NOT operator
is supported.
A command that calls this library is also provided.

%description -l fr
Cette librairie contient un algorithme qui convertit une expression
booléenne sous forme d'arbre binaire en sa forme normale disjonctive.
L'opérateur de négation est supporté.
Une commande appelant cette librairie est aussi fournie.


%package devel
Summary: C++ header files for the @PACKAGE@ library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
C++ header files for the Disjunctive Normal Form boolean expression library.


%prep
%setup -q

%build
# Option --disable-dependency-tracking seems necessary for g++ 2.95.3.
%configure --disable-dependency-tracking --disable-maintainer-mode
make %{?_smp_mflags}

%install
rm -fR $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"

%clean
rm -fR $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%{_libdir}/lib*.so.*
%{_mandir}/man*/*.*
%{_bindir}/*
%doc %{_defaultdocdir}/*

%files devel
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/lib*.so
%{_prefix}/lib/lib*.la
%{_libdir}/pkgconfig/*