rpms/L-function/devel L-function.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Conrad Meyer konradm at fedoraproject.org
Sun Mar 22 21:48:50 UTC 2009


Author: konradm

Update of /cvs/pkgs/rpms/L-function/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19602/devel

Modified Files:
	.cvsignore sources 
Added Files:
	L-function.spec import.log 
Log Message:
Import.



--- NEW FILE L-function.spec ---
Name:           L-function
Version:        1.2
Release:        3%{?dist}
Summary:        L-function calculator
Group:          Development/Libraries
License:        GPLv2+
URL:            http://pmmac03.math.uwaterloo.ca/~mrubinst/L_function_public/L.html
Source0:        http://pmmac03.math.uwaterloo.ca/%7Emrubinst/L_function_public/CODE/L-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  pari-devel


%description
A library and a command-line executable that do computations on a class
of special functions called L-functions. Among others, this class
includes the Riemann zeta function and the Ramanujan tau function.


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

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


%prep
%setup -q -n L-%{version}
rm -f .*DS_Store
rm -f include/.*{DS_Store,.swp}
rm -f src/.*{DS_Store,.swp}
sed -i -e 's|^[^#]*LDFLAGS2.*LDFLAGS1.*$|LDFLAGS2 = $(LDFLAGS1)|' src/Makefile
sed -i -e 's/\r//' src/example_programs/example.cc


%build
cd src
make %{?_smp_mflags} EXTRA="%{optflags} -lpari" \
  PREPROCESSOR_DEFINE=-DINCLUDE_PARI \
  LOCATION_PARI_H=%{_includedir}/pari \
  LOCATION_PARI_LIBRARY=%{_libdir}
cd ..
rm -f src/example_programs/example


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_libdir}
install -p -m 0755 src/lcalc $RPM_BUILD_ROOT%{_bindir}/
install -p -m 0644 src/libLfunction.a $RPM_BUILD_ROOT%{_libdir}/

mkdir -p $RPM_BUILD_ROOT%{_includedir}/Lfunction
for file in include/*.h; do
  install -p -m 0644 $file $RPM_BUILD_ROOT%{_includedir}/Lfunction/
done


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README COPYING
%{_bindir}/lcalc


%files devel
%defattr(-,root,root,-)
%doc src/example_programs
%{_libdir}/libLfunction.a
%{_includedir}/Lfunction


%changelog
* Tue Mar 17 2009 Conrad Meyer <konrad at tylerc.org> - 1.2-3
- Add missing BR on pari-devel.

* Sat Mar 14 2009 Conrad Meyer <konrad at tylerc.org> - 1.2-2
- Include headers in -devel subpackage.
- Include PARI support.

* Sat Nov 8 2008 Conrad Meyer <konrad at tylerc.org> - 1.2-1
- Initial package.


--- NEW FILE import.log ---
L-function-1_2-3_fc10:HEAD:L-function-1.2-3.fc10.src.rpm:1237758420


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/L-function/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	22 Mar 2009 05:47:10 -0000	1.1
+++ .cvsignore	22 Mar 2009 21:48:19 -0000	1.2
@@ -0,0 +1 @@
+L-1.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/L-function/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 Mar 2009 05:47:10 -0000	1.1
+++ sources	22 Mar 2009 21:48:20 -0000	1.2
@@ -0,0 +1 @@
+aafe9ae59f5676cc91f30749f831c337  L-1.2.tar.gz




More information about the fedora-extras-commits mailing list