]> git.pld-linux.org Git - SPECS.git/blob - php-facebook-athenaeum.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / php-facebook-athenaeum.spec
1 %define         php_min_version 5.2
2 Summary:        Tools to extend library services to Facebook users through Facebook applications
3 Name:           php-facebook-athenaeum
4 Version:        0.1.10
5 Release:        6
6 License:        Apache v2.0
7 Group:          Development/Languages/PHP
8 Source0:        http://facebook-athenaeum.googlecode.com/files/fb-athenaeum-%{version}.tar.gz
9 # Source0-md5:  c9805c5d03afeeae61383212224cf293
10 URL:            http://code.google.com/p/facebook-athenaeum/
11 BuildRequires:  rpm-php-pearprov
12 BuildRequires:  rpmbuild(macros) >= 1.461
13 Requires:       php(core) >= %{php_min_version}
14 Patch0:         json-dep.patch
15 Requires:       php(json)
16 Requires:       php(pcre)
17 Requires:       php(simplexml)
18 #Requires:      php-date
19 Suggests:       php(curl)
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 # bad depsolver
24 %define         _noautoreq_pear facebookapi_php5_restlib.php
25
26 # exclude optional php dependencies
27 %define         _noautoreq      php-curl
28
29 %description
30 Facebook Athenaeum provides libraries an easy to implement Facebook
31 application to extend library resources to students in Facebook. The
32 application is easily customized for your institution and includes an
33 integrated RSS reader, search tools, and a friend locator that allows
34 Facebook users to record their location in the library so their
35 friends can find them.
36
37 %prep
38 %setup -q -n fb-athenaeum-%{version}
39 %patch0 -p1
40
41 # we depend on php 5.2
42 rm -rf libs/facebook_api/jsonwrapper
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_data_dir}
47 cp -a libs/facebook_api $RPM_BUILD_ROOT%{php_data_dir}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %{php_data_dir}/facebook_api
This page took 0.05871 seconds and 3 git commands to generate.