-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpgmemcache.spec
More file actions
36 lines (28 loc) · 878 Bytes
/
pgmemcache.spec
File metadata and controls
36 lines (28 loc) · 878 Bytes
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
Name: pgmemcache%{?rpm_name_suffix}
Version: %{major_version}
Release: %{minor_version}%{?dist}
Summary: PostgreSQL memcache functions
Group: Applications/Databases
License: MIT
Source0: pgmemcache-rpm-src.tar.gz
%description
pgmemcache is a set of PostgreSQL user-defined functions that provide an
interface to memcached. Installing pgmemcache is easy, but does have a few
trivial requirements.
%prep
%setup -q -n pgmemcache
%build
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
echo "$(pg_config --sharedir)/extension/pgmemcache*" > files.txt
echo "$(pg_config --pkglibdir)/pgmemcache.so" >> files.txt
%clean
rm -rf %{buildroot}
%files -f files.txt
%defattr(-,root,root,-)
%doc README.rst NEWS LICENSE
%changelog
* Mon Aug 19 2013 Oskari Saarenmaa <os@ohmu.fi> - 2.1.1-11.g4e63c8a
- Initial.