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

Neal Becker (nbecker) fedora-extras-commits at redhat.com
Tue Feb 19 17:54:44 UTC 2008


Author: nbecker

Update of /cvs/pkgs/rpms/unuran/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22760/devel

Modified Files:
	.cvsignore sources 
Added Files:
	unuran.spec 
Log Message:
init



--- NEW FILE unuran.spec ---
Name:		unuran
Version:	1.2.0
Release: 	1%{?dist}
Summary:	Universal Non-Uniform Random number generator

Group:		System Environment/Libraries
License:	GPLv2+
URL:		http://statistik.wu-wien.ac.at/unuran
Source0:	http://statistik.wu-wien.ac.at/unuran/%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

#BuildRequires:	
Requires(post): /sbin/ldconfig, /sbin/install-info
Requires(preun): /sbin/install-info

%description

UNU.RAN  is an ANSI C library licensed under GPL. 
It contains universal (also called automatic or black-box) algorithms
that can generate random numbers from large classes of continuous or
discrete distributions, and also from practically all standard
distributions.

The library and an extensive online documentation are available at:

          -------------------------------------------
             http://statistik.wu-wien.ac.at/unuran/ 
          -------------------------------------------

%package devel
Requires: %{name} = %{version}-%{release}
Group: Development/Libraries
Summary: Header and object files for unuran
License: GPLv2+

%description devel
Header and object files for unuran, and pdf docs.

%prep
%setup -q


%build
%configure --enable-shared --disable-static --enable-logging
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
#mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
#cp doc/unuran.pdf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
rm $RPM_BUILD_ROOT/%{_libdir}/libunuran.la
rm $RPM_BUILD_ROOT/%{_includedir}/unuran_tests.h
rm $RPM_BUILD_ROOT/%{_infodir}/unuran_win32*
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir

# clean examples
rm -rf __dist_examples __clean_examples
cp -a examples __clean_examples
make -C __clean_examples distclean
rm __clean_examples/Makefile*
mkdir __dist_examples
mv __clean_examples __dist_examples/examples

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig
/sbin/install-info %{_infodir}/unuran.info %{_infodir}/dir || :

%preun
if [ $1 = 0 ]; then
  /sbin/install-info --delete %{_infodir}/unuran.info %{_infodir}/dir || :
fi

%postun -p /sbin/ldconfig



%files
%defattr(-,root,root,-)
%doc COPYING AUTHORS README NEWS KNOWN-PROBLEMS THANKS UPGRADE
%{_infodir}/unuran*
%{_libdir}/libunuran.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/unuran*.h
%{_libdir}/libunuran.so
%doc doc/unuran.pdf __dist_examples/examples

%check # enable if you want - takes a long time
make check

%changelog
* Tue Feb 19 2008 Neal Becker <ndbecker2 at gmail.com> - 1.2.0-1
- Update to 1.2.0
- Re-enable check

* Sat Feb  9 2008 Neal Becker <ndbecker2 at gmail.com> - 1.1.0-6
- Patches from pertusus at free.fr

* Fri Jan 18 2008 Neal Becker <ndbecker2 at gmail.com> - 1.1.0-5
- rm %%{_infodir}/dir

* Wed Jan  9 2008 Neal Becker <ndbecker2 at gmail.com> - 1.1.0-4
- Add examples
- install -p
- Add check

* Tue Jan  8 2008 Neal Becker <ndbecker2 at gmail.com> - 1.1.0-3
- Move devel stuff to devel package

* Wed Dec 26 2007 Neal Becker <ndbecker2 at gmail.com> - 1.1.0-2
- Fix install-info stuff
- docdir *.spec

* Wed Dec 26 2007 Neal Becker <ndbecker2 at gmail.com> - 1.1.0-1
- Update to 1.1.0
- 1nstall unuran.pdf
- disable-static
- install-info

* Fri May 12 2006 Neal Becker <ndbecker2 at gmail.com> - 0.7.2-2
- rm unuran_tests.h
- Add post, postun
- Fix files



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/unuran/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Feb 2008 22:11:43 -0000	1.1
+++ .cvsignore	19 Feb 2008 17:54:10 -0000	1.2
@@ -0,0 +1 @@
+unuran-1.2.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/unuran/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Feb 2008 22:11:43 -0000	1.1
+++ sources	19 Feb 2008 17:54:10 -0000	1.2
@@ -0,0 +1 @@
+a419141932b0b4b4c5e6033fe7db389f  unuran-1.2.0.tar.gz




More information about the fedora-extras-commits mailing list