1 Summary: BoolStuff is a C++ library that supports a few operations on boolean expression binary trees
7 Source0: http://perso.b2b2c.ca/sarrazip/dev/%{name}-%{version}.tar.gz
8 # Source0-md5: 084a834f8b4c59f690f1dcf2f385d404
9 URL: http://perso.b2b2c.ca/sarrazip/dev/boolstuff.html
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: libstdc++-devel
13 BuildRequires: libtool
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 BoolStuff is a C++ library that supports a few operations on boolean
18 expression binary trees. The main features are:
20 a simple boolean expression parser (supports operators AND, OR and
21 NOT, as well as parentheses); an algorithm to convert a boolean
22 expression binary tree into its Disjunctive Normal Form (this
23 algorithm supports the NOT operator); a function that determines if an
24 expression tree is in DNF.
27 Summary: Header files for boolstuff library
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
32 Header files for boolstuff library.
35 Summary: Commandline boolstuff tools
39 Commandline boolstuff tools.
43 echo "AC_CONFIG_MACRO_DIR([macros])" >> configure.ac
47 %{__aclocal} -I macros
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
60 install examples/{*.cpp,*.pl} $RPM_BUILD_ROOT%{_examplesdir}/%{name}
63 rm -rf $RPM_BUILD_ROOT
65 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog NEWS README THANKS TODO
71 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
72 %attr(755,root,root) %ghost %{_libdir}/lib*.so.?
74 %{_mandir}/man3/boolstuff.3*
75 %{_examplesdir}/%{name}
78 %defattr(644,root,root,755)
80 %{_includedir}/boolstuff-0.1
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/*
86 %{_mandir}/man1/booldnf.1*