]> git.pld-linux.org Git - packages/php-pear-OLE.git/blob - php-pear-OLE.spec
- initial import
[packages/php-pear-OLE.git] / php-pear-OLE.spec
1 # ToDo:
2 # - pl description
3 %include        /usr/lib/rpm/macros.php
4 %define         _class          OLE
5 %define         _status         alpha
6 %define         _pearname       %{_class}
7 Summary:        %{_pearname} - Package for reading and writing OLE containers
8 Summary(pl):    %{_pearname} - Pakiet do odczytu i zapisu kontenerów OLE
9 Name:           php-pear-%{_pearname}
10 Version:        0.2.1
11 Release:        1
12 License:        PHP
13 Group:          Development/Languages/PHP
14 # Source0-md5:  0684be1d8b21c64bfab65894ca392fc9
15 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
16 URL:            http://pear.php.net/
17 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This package allows reading and writing of OLE (Object Linking and
24 Embedding) files, the format used as container for Excel, Word and
25 other MS file formats. Documentation for the OLE format can be found
26 at: http://user.cs.tu-berlin.de/~schwartz/pmh/guide.html
27
28 This class has in PEAR status: %{_status}.
29
30 %prep
31 %setup -q -c
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/{,PPS}
36
37 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
38 install %{_pearname}-%{version}/PPS/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/PPS
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %dir %{php_pear_dir}/%{_class}/PPS
46 %{php_pear_dir}/%{_class}/*.php
47 %{php_pear_dir}/%{_class}/PPS/*.php
This page took 0.064246 seconds and 4 git commands to generate.