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