forked from mgmarino/pillowtalk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pillowtalk.spec
41 lines (31 loc) · 890 Bytes
/
pillowtalk.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
Name: pillowtalk
Version: 0.3
Summary: ANSI C library that talks to CouchDB using libcurl and yajl
Release: 2
Source: %{name}-%{version}.tgz
License: MIT-LICENSE
Group: Development/Tools
URL: http://github.com/jubos/pillowtalk/
Packager: Guy Albertelli ([email protected])
BuildRoot: /var/tmp/%{name}-%{version}.root
%description
ANSI C library that talks to CouchDB using libcurl and yajl
%prep
%setup -n %{name}-%{version}
%build
pwd
./configure --prefix=$RPM_BUILD_ROOT
cmake -DCMAKE_INSTALL_PREFIX=$RPM_BUILD_ROOT/usr
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
make install
#cp -R *.html *.png *.css LICENSE*.txt images jam $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
%files
%defattr(-,root,root)
%attr(644,root,root) /usr/lib/*
%attr(644,root,root) /usr/include/*
%clean
rm -rf $RPM_BUILD_ROOT