[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/boolstuff/devel boolstuff.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



Author: pertusus

Update of /cvs/extras/rpms/boolstuff/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25098/devel

Modified Files:
	.cvsignore sources 
Added Files:
	boolstuff.spec 
Log Message:
Initial import of 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 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 free fr> 0.1.10-1
- Initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/boolstuff/devel/.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	9 May 2007 22:28:27 -0000	1.2
@@ -0,0 +1 @@
+boolstuff-0.1.11.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/boolstuff/devel/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	9 May 2007 22:28:27 -0000	1.2
@@ -0,0 +1 @@
+a92409c6a483011eb015ecade68f3d9e  boolstuff-0.1.11.tar.gz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]