Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
postgresql
>
postgresql-ip4r
> postgresql-ip4r.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File postgresql-ip4r.spec of Package postgresql-ip4r (Revision 5)
Currently displaying revision
5
,
show latest
%define sname ip4r Summary: IPv4 and IPv4 range index types for PostgreSQL Name: postgresql-%{sname} Version: 1.05 Release: 10 License: BSD Group: Applications/Databases Source0: http://pgfoundry.org/frs/download.php/1581/%{sname}-%{version}.tar.gz URL: http://pgfoundry.org/projects/ip4r BuildRequires: postgresql-devel >= 8.1 Requires: postgresql-server >= 8.1 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description ip4 and ip4r are types that contain a single IPv4 address and a range of IPv4 addresses respectively. They can be used as a more flexible, indexable version of the cidr type. %prep %setup -q -n %{sname}-%{version} %build make USE_PGXS=1 %{?_smp_mflags} sed -i 's,\$libdir,%{_libdir}/pgsql,g' %{sname}.sql %install rm -rf %{buildroot} install -d %{buildroot}%{_libdir}/pgsql/ install -d %{buildroot}%{_datadir}/%{name} install -m 755 %{sname}.so %{buildroot}%{_libdir}/pgsql/%{sname}.so install -p -m 755 %{sname}.sql %{buildroot}%{_datadir}/%{name} %clean rm -rf %{buildroot} %files %defattr(644,root,root,755) %doc README.ip4r %{_datadir}/%{name} %{_datadir}/%{name}/%{sname}*.sql %dir %{_libdir}/pgsql %{_libdir}/pgsql/%{sname}.so %changelog