summaryrefslogtreecommitdiffstats
path: root/php-oauth.spec
blob: e678d96b6d0484d5c86702f550552c1a1a4993f5 (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
%define realname oauth
%define svnrevision svn1262

Name:           php-oauth
Version:        1.0
Release:        0.9.%{svnrevision}%{?dist}
Summary:        PHP Authentication library for desktop to web applications

Group:          Development/Libraries
License:        MIT
URL:            http://code.google.com/p/oauth/

# Package tarball not present. To compress:
# svn export -r 1262 http://oauth.googlecode.com/svn/code/php/ oauth
# tar -czf php-oauth-1.0.tar.gz oauth
Source0:        %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
Requires:       php

%description
An open protocol to allow API authentication in a simple and standard
method from desktop and web applications.

%prep
%setup -qn %{realname}
mv OAuth_TestServer.php example

%build
# Empty build


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/php/%{realname}
install -p -m 644 OAuth.php $RPM_BUILD_ROOT%{_datadir}/php/%{realname}/


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc doc example
%{_datadir}/php/%{realname}


%changelog
* Sun Aug 21 2011 Remi Collet <RPMS@FamilleCollet.com> 1.0-0.9.svn1262
- rebuild for remi repository

* Fri Aug 19 2011 F. Kooman <fkooman@tuxed.net> - 1.0-0.9.svn1262
- update to svn1262
- move test server class to examples

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.8.svn592
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.7.svn592
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.6.svn592
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Sat Aug 23 2008 Rakesh Pandit <rakesh@fedoraproject.org> 1.0-0.5.svn592
 - Changed release field

* Sat Aug 23 2008 Rakesh Pandit <rakesh@fedoraproject.org> 1.0-4.svn592
 - Updated tarball export info and updated tarball (Peter Lemenkov)

* Sun Jul 13 2008 Rakesh Pandit <rakesh@fedoraproject.org> 1.0-3.svn592
 - Corrected srpm release, correct svn link

* Sat Jul 12 2008 Rakesh Pandit <rakesh@fedoraproject.org> 1.0-2
 - Corrected spec and package name

* Fri Jul 11 2008 Rakesh Pandit <rakesh@fedoraproject.org> 1.0-1
 - Initial packages