]> git.pld-linux.org Git - SPECS.git/blob - browscap.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / browscap.spec
1 Summary:        PHP browscap file
2 Name:           browscap
3 Version:        5037
4 Release:        1
5 License:        BSD
6 Group:          Applications/Text
7 URL:            http://browscap.org/
8 Source0:        http://browscap.org/stream?q=PHP_BrowsCapINI&/php_%{name}.ini
9 # Source0-md5:  b6d0f7f293460e84ff1189cc65c58eab
10 BuildArch:      noarch
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 The browscap.ini file contains information about each known browser.
15
16 It is a standard text file that lists features a browser supports and
17 maps browser capabilities to the HTTP User Agent header.
18
19 %prep
20 %setup -qcT
21 cp -p %{SOURCE0} .
22
23 %install
24 rm -rf $RPM_BUILD_ROOT
25 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
26 cp -p *.ini $RPM_BUILD_ROOT%{_datadir}/%{name}
27
28 %clean
29 rm -rf $RPM_BUILD_ROOT
30
31 %files
32 %defattr(644,root,root,755)
33 %dir %{_datadir}/%{name}
34 %{_datadir}/%{name}/php_browscap.ini
This page took 0.139439 seconds and 3 git commands to generate.