diff --git a/.gitignore b/.gitignore
index e69de29..65b37d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/seadata.tgz
diff --git a/pari-seadata.spec b/pari-seadata.spec
new file mode 100644
index 0000000..48821a8
--- /dev/null
+++ b/pari-seadata.spec
@@ -0,0 +1,49 @@
+Name: pari-seadata
+Version: 20090618
+Release: 3%{?dist}
+Summary: PARI/GP Computer Algebra System modular polynomials
+Group: System Environment/Libraries
+License: GPLv2+
+URL: http://pari.math.u-bordeaux.fr/packages.html
+Source0: http://pari.math.u-bordeaux.fr/pub/pari/packages/seadata.tgz
+Source1: http://pari.math.u-bordeaux.fr/pub/pari/packages/seadata.tgz.asc
+BuildArch: noarch
+
+%description
+This package contains the optional PARI package seadata, which provides the
+modular polynomials for prime level up to 500 needed by the GP functions
+ellap and ellsea.
+
+These polynomials were extracted from the ECHIDNA databases available at
+ and computed by David R. Kohel
+at the University of Sydney.
+
+%prep
+%setup -cq
+mv data/seadata/README .
+
+%build
+
+%install
+mkdir -p %{buildroot}%{_datadir}/pari/
+cp -a data/seadata %{buildroot}%{_datadir}/pari/
+%{_fixperms} %{buildroot}%{_datadir}/pari/
+
+%files
+%doc README
+%{_datadir}/pari/
+
+%changelog
+* Fri Jun 1 2012 Paul Howarth - 20090618-3
+- Drop conflict with old versions of pari, which cannot use this package but
+ aren't broken by it either
+
+* Wed May 23 2012 Paul Howarth - 20090618-2
+- Add dist tag
+- Use %%{_fixperms} to ensure packaged files have sane permissions
+- At least version 2.4.3 of pari is required to use this data, so conflict
+ with older versions; can't use a versioned require here as it would lead to
+ circular build dependencies with pari itself
+
+* Fri May 18 2012 Paul Howarth - 20090618-1
+- Initial RPM package
diff --git a/seadata.tgz.asc b/seadata.tgz.asc
new file mode 100644
index 0000000..1375316
--- /dev/null
+++ b/seadata.tgz.asc
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iEYEABECAAYFAko6C0AACgkQeDPs8bVESBUCIgCeIV0NJP2+v3KMKbJ3csjb52SW
+etwAnjBufbkBNOdkU3li4ZsnY6jDsMis
+=VxQI
+-----END PGP SIGNATURE-----
diff --git a/sources b/sources
index e69de29..3a4fdbe 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6e9c119ccb3c65916a48e1a8cd899558 seadata.tgz