summaryrefslogtreecommitdiffstats
path: root/pagila.spec
blob: 51a4fb466f00f889cdaa3a43aa7192c5226172de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%global		sname pagila
%global		_pagiladir  %{_datadir}/%{name}

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

Buildarch:	noarch

%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
install -d %{buildroot}%{_pagiladir}
install -m 644 -p *.sql %{buildroot}%{_pagiladir}

%files
%doc README
%dir %{_pagiladir}
%{_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