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

Contents of /cauldron/horde-text-filter/current/SPECS/horde-text-filter.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1780044 - (show annotations) (download)
Fri Feb 18 02:18:19 2022 UTC (3 years, 4 months ago) by danf
File size: 2444 byte(s)
SILENT: Switch to https URLs, fix project URL
1 %define prj Horde_Text_Filter
2
3 %define xmldir %{_var}/lib/pear
4 %define peardir %(pear config-get php_dir 2> /dev/null)
5
6 Name: horde-text-filter
7 Version: 0.0.2
8 Release: %mkrel 3
9 Summary: Horde Text Filter API
10 License: LGPL
11 Group: Networking/Mail
12 Url: https://pear.horde.org/#horde_text_filter
13 Source0: %{prj}-%{version}.tgz
14 BuildArch: noarch
15 Requires(pre): php-pear
16 Requires: horde-util
17 Requires: horde-text-rest
18 Requires: php-gettext
19 BuildRequires: php-pear
20 BuildRequires: php-pear-channel-horde
21
22
23 %description
24 The Text_Filter:: class provides common methods for fitering and
25 converting text.
26
27
28 %prep
29 %setup -q -n %{prj}-%{version}
30
31 %build
32 mv ../package.xml .
33
34 %install
35 pear install --packagingroot %{buildroot} --nodeps package.xml
36
37 %__rm -rf %{buildroot}/%{peardir}/.{filemap,lock,registry,channels,depdb,depdblock}
38
39 %__mkdir_p %{buildroot}%{xmldir}
40 cp package.xml %{buildroot}%{xmldir}/%{prj}.xml
41
42 %clean
43 %__rm -rf %{buildroot}
44
45 %post
46 pear install --nodeps --soft --force --register-only %{xmldir}/%{prj}.xml
47
48 %postun
49 if [ "$1" -eq "0" ]; then
50 pear uninstall --nodeps --ignore-errors --register-only pear.horde.org/%{prj}
51 fi
52
53 %files
54 %defattr(-, root, root)
55 %{xmldir}/%{prj}.xml
56 %dir %{peardir}/Horde/Text
57 %dir %{peardir}/Horde/Text/Filter
58 %{peardir}/Horde/Text/Filter.php
59 %{peardir}/Horde/Text/Filter/bbcode.php
60 %{peardir}/Horde/Text/Filter/cleanascii.php
61 %{peardir}/Horde/Text/Filter/dimsignature.php
62 %{peardir}/Horde/Text/Filter/emails.php
63 %{peardir}/Horde/Text/Filter/emoticons.php
64 %{peardir}/Horde/Text/Filter/environment.php
65 %{peardir}/Horde/Text/Filter/highlightquotes.php
66 %{peardir}/Horde/Text/Filter/html2text.php
67 %{peardir}/Horde/Text/Filter/linkurls.php
68 %{peardir}/Horde/Text/Filter/rst.php
69 %{peardir}/Horde/Text/Filter/simplemarkup.php
70 %{peardir}/Horde/Text/Filter/space2html.php
71 %{peardir}/Horde/Text/Filter/tabs2spaces.php
72 %{peardir}/Horde/Text/Filter/text2html.php
73 %{peardir}/Horde/Text/Filter/words.php
74 %{peardir}/Horde/Text/Filter/xss.php
75 %dir %{peardir}/tests/Horde_Text_Filter
76 %dir %{peardir}/tests/Horde_Text_Filter/tests
77 %{peardir}/tests/Horde_Text_Filter/tests/Filter_emails.phpt
78 %{peardir}/tests/Horde_Text_Filter/tests/Filter_environment.phpt
79 %{peardir}/tests/Horde_Text_Filter/tests/Filter_html2text.phpt
80 %{peardir}/tests/Horde_Text_Filter/tests/Filter_html2text2.phpt
81 %{peardir}/tests/Horde_Text_Filter/tests/Filter_space2html.phpt
82
83

  ViewVC Help
Powered by ViewVC 1.1.30