rpms/boolstuff/EL-5 boolstuff.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Thu May 10 07:25:42 UTC 2007


Author: pertusus

Update of /cvs/extras/rpms/boolstuff/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12864/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	boolstuff.spec 
Log Message:
add other branches for boolstuff


--- NEW FILE boolstuff.spec ---
Name:           boolstuff
Version:        0.1.11
Release:        1%{?dist}
Summary:        Disjunctive Normal Form boolean expression library
Group:          System Environment/Libraries

License:        GPL
URL:            http://perso.b2b2c.ca/sarrazip/dev/boolstuff.html
Source0:        http://perso.b2b2c.ca/sarrazip/dev/boolstuff-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# for testcases
BuildRequires:  perl
# for api documentation
BuildRequires:  doxygen


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

%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é.


%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%description    devel -l fr
Ce paquetage contient les bibliothèques et fichiers d'en-tête
permettant de développer des applications avec %{name}.


%package        -n booldnf
Summary:        Disjunctive Normal Form boolean expression command-line
Group:          Development/Tools
Requires:       %{name} = %{version}-%{release}

%description    -n booldnf
booldnf is a program that reads boolean expressions from its standard
input and rewrites them in Disjunctive Normal Form on its standard output.  
It uses the BoolStuff library.

%description    -n booldnf -l fr
booldnf est un programme qui lit une expression booléenne depuis l'entrée
standard et la réécrit sur la sortie standard en forme normale disjonctive. 
Cette commande utilise la bibliothèque BoolStuff.


%prep
%setup -q

%build
%configure
make %{?_smp_mflags}
pushd src/boolstuff
make doc
popd


%install
rm -rf $RPM_BUILD_ROOT
# we install the doc files in a temporary directory we remove immediatly
# since the doc files are in main package %doc
make install DESTDIR=$RPM_BUILD_ROOT docdir=%{_datadir}/tmpdocdir INSTALL="%{__install} -p"
rm -rf $RPM_BUILD_ROOT%{_datadir}/tmpdocdir

rm $RPM_BUILD_ROOT%{_libdir}/libboolstuff-*.la

rm -rf __fedora_docs
mkdir __fedora_docs
cp -pR src/boolstuff/html __fedora_docs/api-html
# fix the timestamp of the generated docs such that it is the same on all
# architectures
touch -r NEWS __fedora_docs/api-html/*
cp -pR examples/ __fedora_docs/
mv __fedora_docs/examples/test-booldnf.pl __fedora_docs/
chmod a-x __fedora_docs/test-booldnf.pl
rm -rf __fedora_docs/examples/Makefile* __fedora_docs/examples/.deps


%check
make check


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc THANKS README COPYING NEWS AUTHORS TODO
%{_libdir}/*.so.*


%files -n booldnf
%defattr(-,root,root,-)
%doc __fedora_docs/test-booldnf.pl
%{_bindir}/booldnf
%{_mandir}/man1/booldnf.1*


%files devel
%defattr(-,root,root,-)
%doc __fedora_docs/examples __fedora_docs/api-html
%{_includedir}/boolstuff*/
%{_libdir}/*.so
%{_mandir}/man3/boolstuff.3*
%{_libdir}/pkgconfig/boolstuff-0.1.pc


%changelog
* Sun May  6 2007 Patrice Dumas <pertusus at free.fr> 0.1.11-1
- update to 0.1.11
- use a directory for in-source docs

* Fri Jan 19 2007 Patrice Dumas <pertusus at free.fr> 0.1.10-1
- Initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/boolstuff/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 May 2007 20:26:12 -0000	1.1
+++ .cvsignore	10 May 2007 07:25:07 -0000	1.2
@@ -0,0 +1 @@
+boolstuff-0.1.11.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/boolstuff/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 May 2007 20:26:12 -0000	1.1
+++ sources	10 May 2007 07:25:07 -0000	1.2
@@ -0,0 +1 @@
+a92409c6a483011eb015ecade68f3d9e  boolstuff-0.1.11.tar.gz




More information about the fedora-extras-commits mailing list