]> git.pld-linux.org Git - packages/php-pear-File_IMC.git/commitdiff
- initial import
authorAdam Gołębiowski <adamg@pld-linux.org>
Wed, 1 Oct 2003 10:12:18 +0000 (10:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-File_IMC.spec -> 1.1

php-pear-File_IMC.spec [new file with mode: 0644]

diff --git a/php-pear-File_IMC.spec b/php-pear-File_IMC.spec
new file mode 100644 (file)
index 0000000..2b8beee
--- /dev/null
@@ -0,0 +1,54 @@
+# ToDo:
+# - pl description
+%include       /usr/lib/rpm/macros.php
+%define         _class          File
+%define         _subclass       IMC
+%define                _status         beta
+%define                _pearname       %{_class}_%{_subclass}
+
+Summary:       %{_pearname} - Create and parse Internet Mail Consortium-style files
+Summary(pl):   %{_pearname} - Tworzenie i parsowanie plików typu Internet Mail Consortium
+Name:          php-pear-%{_pearname}
+Version:       0.3
+Release:       1
+License:       PHP 2.02
+Group:         Development/Languages/PHP
+Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: 48b2b15969f5f5aecaf8e76eef03a6d1
+URL:           http://pear.php.net/package/%{_pearname}/
+BuildRequires: rpm-php-pearprov >= 4.0.2-98
+Requires:      php-pear
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Allows you to programmatically create a vCard or vCalendar, and fetch
+the text.
+
+IMPORTANT: The array structure has changed slightly from
+Contact_Vcard_Parse. See the example output for the new structure. Also
+different from Contact_Vcard is the use of a factory pattern. Again, see
+the examples. 
+
+This class has in PEAR status: %{_status}.
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/{Build,Parse}
+
+install %{_pearname}-%{version}/%{_class}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+install %{_pearname}-%{version}/%{_class}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
+install %{_pearname}-%{version}/%{_class}/%{_subclass}/Build/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Build
+install %{_pearname}-%{version}/%{_class}/%{_subclass}/Parse/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Parse
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{_pearname}-%{version}/{sample.*,*.php}
+%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/%{_class}/%{_subclass}
This page took 0.05836 seconds and 4 git commands to generate.