[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/php-pear-File-SMBPasswd/EL-5 php-pear-File-SMBPasswd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



Author: xulchris

Update of /cvs/extras/rpms/php-pear-File-SMBPasswd/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24768/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	php-pear-File-SMBPasswd.spec 
Log Message:
Initial check-in


--- NEW FILE php-pear-File-SMBPasswd.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name File_SMBPasswd

Name:           php-pear-File-SMBPasswd
Version:        1.0.2
Release:        1%{?dist}
Summary:        Class for managing SAMBA style password files

Group:          Development/Languages
License:        BSD
URL:            http://pear.php.net/package/File_SMBPasswd
Source0:        http://pear.php.net/get/%{pear_name}-%{version}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  php-pear >= 1:1.4.9-1.2
Requires:       php-pear(PEAR) php-pear(Crypt_CHAP) >= 1.0.0
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides:       php-pear(%{pear_name}) = %{version}

%description
With this package, you can maintain smbpasswd-files, usualy used by SAMBA.


%prep
%setup -qc
[ -f package2.xml ] || mv package.xml package2.xml
mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml
cd %{pear_name}-%{version}


%build
cd %{pear_name}-%{version}
# Empty build section, most likely nothing required.


%install
cd %{pear_name}-%{version}
rm -rf $RPM_BUILD_ROOT docdir
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml

# Move documentation
mkdir -p docdir
mv $RPM_BUILD_ROOT%{pear_docdir}/* docdir

# Clean up unnecessary files
rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*

# Install XML package description
install -d $RPM_BUILD_ROOT%{pear_xmldir}
install -pm 644 %{pear_name}.xml $RPM_BUILD_ROOT%{pear_xmldir}


%clean
rm -rf $RPM_BUILD_ROOT


%post
%{__pear} install --nodeps --soft --force --register-only \
    %{pear_xmldir}/%{pear_name}.xml >/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    %{__pear} uninstall --nodeps --ignore-errors --register-only \
        %{pear_name} >/dev/null || :
fi


%files
%defattr(-,root,root,-)
%doc %{pear_name}-%{version}/docdir/%{pear_name}/*
%{pear_xmldir}/%{pear_name}.xml
%dir %{pear_phpdir}/File
%{pear_phpdir}/File/SMBPasswd.php


%changelog
* Tue Mar 13 2007 Christopher Stone <chris stone gmail com> 1.0.2-1
- Initial Fedora release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-File-SMBPasswd/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 May 2007 15:27:34 -0000	1.1
+++ .cvsignore	15 May 2007 13:05:48 -0000	1.2
@@ -0,0 +1 @@
+File_SMBPasswd-1.0.2.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-File-SMBPasswd/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 May 2007 15:27:34 -0000	1.1
+++ sources	15 May 2007 13:05:48 -0000	1.2
@@ -0,0 +1 @@
+dcb06b21db84f1bf64cf94eb364d8fb9  File_SMBPasswd-1.0.2.tgz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]