/[packages]/cauldron/horde-datatree/current/SPECS/horde-datatree.spec
ViewVC logotype

Contents of /cauldron/horde-datatree/current/SPECS/horde-datatree.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1780005 - (show annotations) (download)
Fri Feb 18 02:13:41 2022 UTC (3 years, 4 months ago) by danf
File size: 1481 byte(s)
SILENT: Switch to https URLs, fix project URL
1 %define prj Horde_DataTree
2
3 %define xmldir %{_var}/lib/pear
4 %define peardir %(pear config-get php_dir 2> /dev/null)
5
6 Name: horde-datatree
7 Version: 0.0.3
8 Release: %mkrel 3
9 Summary: DataTree API
10 License: LGPL
11 Group: Networking/Mail
12 Url: https://pear.horde.org/#horde_datatree
13 Source0: %{prj}-%{version}.tgz
14 BuildArch: noarch
15 BuildRoot: %{_tmppath}/%{name}-%{version}-build
16 Requires(pre): php-pear
17 Requires: horde-framework
18 Requires: horde-serialize
19 Requires: horde-sql
20 Requires: horde-util
21 Requires: php-gettext
22 Requires: php-pear
23 BuildRequires: php-pear
24 BuildRequires: php-pear-channel-horde
25
26 %description
27 There is no description for the package available :(
28
29
30 %prep
31 %setup -q -n %{prj}-%{version}
32
33 %build
34 mv ../package.xml .
35
36 %install
37 pear install --packagingroot %{buildroot} --nodeps package.xml
38
39 %__rm -rf %{buildroot}/%{peardir}/.{filemap,lock,registry,channels,depdb,depdblock}
40
41 %__mkdir_p %{buildroot}%{xmldir}
42 cp package.xml %{buildroot}%{xmldir}/%{prj}.xml
43
44 %clean
45 %__rm -rf %{buildroot}
46
47 %post
48 pear install --nodeps --soft --force --register-only %{xmldir}/%{prj}.xml
49
50 %postun
51 if [ "$1" -eq "0" ]; then
52 pear uninstall --nodeps --ignore-errors --register-only pear.horde.org/%{prj}
53 fi
54
55 %files
56 %defattr(-, root, root)
57 %{xmldir}/%{prj}.xml
58 %dir %{peardir}/Horde/DataTree
59 %{peardir}/Horde/DataTree.php
60 %{peardir}/Horde/DataTree/null.php
61 %{peardir}/Horde/DataTree/sql.php
62
63
64

  ViewVC Help
Powered by ViewVC 1.1.30