summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Kajaba <pkajaba@redhat.com>2015-11-12 18:40:17 +0100
committerPavel Kajaba <pkajaba@redhat.com>2015-11-12 18:40:17 +0100
commit51c114a11b11353a378070bd710a526d7a845f6a (patch)
tree49fe349e4c35d7c6356c75088a772ab1e7ae56e6
downloadpagila-51c114a11b11353a378070bd710a526d7a845f6a.tar.gz
pagila-51c114a11b11353a378070bd710a526d7a845f6a.tar.xz
pagila-51c114a11b11353a378070bd710a526d7a845f6a.zip
Initial commit of spec file and SRPM
-rw-r--r--pagila-0.10.1-1.fc23.src.rpmbin0 -> 634534 bytes
-rw-r--r--pagila.spec55
2 files changed, 55 insertions, 0 deletions
diff --git a/pagila-0.10.1-1.fc23.src.rpm b/pagila-0.10.1-1.fc23.src.rpm
new file mode 100644
index 0000000..3e253d0
--- /dev/null
+++ b/pagila-0.10.1-1.fc23.src.rpm
Binary files differ
diff --git a/pagila.spec b/pagila.spec
new file mode 100644
index 0000000..ceb879a
--- /dev/null
+++ b/pagila.spec
@@ -0,0 +1,55 @@
+%global pginstdir %{_libdir}/pgsql
+%global sname pagila
+
+Summary: A sample database for PostgreSQL
+Name: %{sname}
+Version: 0.10.1
+Release: 1%{?dist}
+License: BSD
+Group: Applications/Databases
+URL: http://pgfoundry.org/projects/dbsamples
+
+Source0: http://pgfoundry.org/frs/download.php/1719/%{sname}-%{version}.zip
+
+Requires: postgresql-server(:MODULE_COMPAT_%{postgresql_major})
+Buildarch: noarch
+
+%global _pagiladir %{_datadir}/%{name}
+
+%description
+Pagila is a port of the Sakila example database available for MySQL, which was
+originally developed by Mike Hillyer of the MySQL AB documentation team. It
+is intended to provide a standard schema that can be used for examples in
+books, tutorials, articles, samples, etc.
+
+%prep
+%setup -q -n %{sname}-%{version}
+
+%build
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{_pagiladir}
+install -m 644 -p *.sql %{buildroot}%{_pagiladir}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(0644,root,root,0755)
+%doc README
+%dir %{_pagiladir}
+%attr(644,root,root) %{_pagiladir}/*.sql
+
+%changelog
+* Thu Nov 12 2015 Pavel Kajaba <pkajaba@redhat.com> 0.10.1-2
+- Added changes to work under Fedora
+
+* Mon Sep 27 2010 Devrim Gunduz <devrim@gunduz.org> 0.10.1-2
+- Apply some minor fixes for new PostgreSQL RPM layout.
+
+* Sat Jun 14 2008 Devrim Gunduz <devrim@gunduz.org> 0.10.1-1
+- Update to 0.10.1
+
+* Fri Feb 1 2008 Devrim Gunduz <devrim@gunduz.org> 0.10.0-1
+- Initial packaging for Fedora/EPEL