/
plparrot.spec
46 lines (31 loc) · 1.05 KB
/
plparrot.spec
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
Name: plparrot
Version: 0.03
Release: 1%{?dist}
Summary: A PostgreSQL procedural language for the Parrot virtual machine
Group: Development/Libraries
License: Artistic 2.0
URL: http://pl.parrot.org/
Source0: http://github.com/downloads/leto/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: postgresql-server, postgresql-devel
BuildRequires: parrot, parrot-devel, parrot-tools
Requires: postgresql-server
%description
PL/Parrot is the Parrot Virtual Machine, embedded into the PostgreSQL relational database. This means that any Parrot language has the opportunity to become a PostgreSQL Procedural Language (PL).
%prep
%setup -q
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE README ROADMAP CREDITS html TODO
%{_libdir}/pgsql/plparrot.so
%{_datadir}/pgsql/contrib/plparrot.sql
%changelog
* Mon Sep 13 2010 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.02-1
- initial .spec file