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