Logoj0ke.net Open Build Service > Projects > server:php:applications > php-pear-mail_mime > Changes
Sign Up | Log In

Changes of Revision 2

[-] Added php-pear-mail_mime.spec
x
 
1
@@ -0,0 +1,97 @@
2
+#
3
+# spec file for package php5-pear-mail_mime (Version 1.3.1)
4
+#
5
+# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+# This file and all modifications and additions to the pristine
7
+# package are under the same license as the package itself.
8
+#
9
+#
10
+
11
+# norootforbuild
12
+
13
+%if %suse_version >= 1010
14
+%define _name    php5-pear-mail_mime
15
+%define _phpdir  php5
16
+%define _phpbin  %{_bindir}/php5
17
+%define _peardir PEAR
18
+%define _pear    pear5
19
+%else
20
+%define _name    php4-pear-mail_mime
21
+%define _phpdir  php
22
+%define _phpbin  %{_bindir}/php
23
+%define _peardir /
24
+%define _pear    pear
25
+%endif
26
+
27
+Name:           %{_name}
28
+%define peardir %{_datadir}/%{_phpdir}/%{_peardir}
29
+License:        Other License(s), see package, Other uncritical OpenSource License
30
+Group:          Productivity/Networking/Web/Servers
31
+Version:        1.3.1
32
+Release:        0
33
+Summary:        PEAR classes to create and decode mime messages.
34
+URL:            http://pear.php.net/package/Mail_Mime
35
+%if %suse_version >= 1010
36
+Requires:       php5-pear
37
+BuildRequires:  php5-pear
38
+%else
39
+Requires:       php4-pear
40
+BuildRequires:  php4-pear
41
+%endif
42
+Provides:       php-pear-mail_mime
43
+Source:         http://pear.php.net/get/Mail_Mime-%{version}.tgz
44
+BuildArch:      noarch
45
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
46
+
47
+%description
48
+This PEAR package provides classes to deal with creation and
49
+manipulation of mime messages.
50
+
51
+
52
+
53
+Authors:
54
+--------
55
+    Thomas V.V.Cox <cox@idecnet.com>
56
+    George Schlossnagle <george@omniti.com>
57
+    Richard Heyes
58
+    Cipriano Groenendal <cipri@php.net>
59
+    Sean Coates <sean@php.net>
60
+
61
+%debug_package
62
+%prep
63
+%setup -c
64
+
65
+%build
66
+
67
+%install
68
+%__mv package*.xml Mail_Mime-%{version}
69
+cd Mail_Mime-%{version}
70
+PHP_PEAR_PHP_BIN="%{_phpbin} -d memory_limit=50m" %{_pear} -v -d doc_dir=%{_docdir}/%{name} install -R "$RPM_BUILD_ROOT" package.xml
71
+%__rm -rf "$RPM_BUILD_ROOT"/%{peardir}/.{filemap,lock,registry,channels,depdb,depdblock}
72
+
73
+%clean
74
+%__rm -rf %{BuildRoot}
75
+
76
+%files
77
+%defattr(-, root, root)
78
+%{peardir}/data/Mail_Mime
79
+%{peardir}/Mail/mime*
80
+
81
+%changelog -n php4-pear-mail_mime
82
+* Sat Jun 17 2006 - Marcus Hüwe <suse-tux@gmx.de>
83
+- made spec file portable for older/new suse-versions
84
+- removed #usedforbuild, added %clean-macro
85
+- added rpmmacros (changed "mv" to "%__mv" etc.)
86
+- removed Packager-tag :)
87
+* Sun Jun 11 2006 Marcus Hüwe <suse-tux@gmx.de>
88
+- built for 10.0 because it's missing there
89
+- added Packager-tag
90
+* Wed Jan 25 2006 - mls@suse.de
91
+- converted neededforbuild to BuildRequires
92
+* Thu Jan 19 2006 - mmarek@suse.de
93
+- fix filelist, remove temporary files created by pear installer
94
+- unify php5-pear-*.spec files
95
+- increase php's memory_limit during installation (parsing
96
+  xml needs more than default 8M sometimes)
97
+* Mon Jan 16 2006 - mmarek@suse.cz
98
+- created package to satisfy horde dependencies
99