]>
Commit | Line | Data |
---|---|---|
cb5cec7d ER |
1 | Summary: PHP browscap file |
2 | Name: browscap | |
3 | Version: 5009 | |
4 | Release: 1 | |
5 | License: Freeware | |
6 | Group: Applications/Text | |
7 | URL: http://browscap.org/ | |
8 | Source0: php_%{name}.ini | |
9 | BuildArch: noarch | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | The browscap.ini file contains information about each known browser. | |
14 | ||
15 | It is a standard text file that lists features a browser supports and | |
16 | maps browser capabilities to the HTTP User Agent header. | |
17 | ||
18 | %prep | |
19 | %setup -qcT | |
20 | ||
21 | %install | |
22 | rm -rf $RPM_BUILD_ROOT | |
23 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} | |
24 | cp -p %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/%{name} | |
25 | ||
26 | %clean | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | ||
29 | %files | |
30 | %defattr(644,root,root,755) | |
31 | %dir %{_datadir}/%{name} | |
32 | %{_datadir}/%{name}/php_browscap.ini |