rpms/php-hkit/devel import.log, NONE, 1.1 php-hkit.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Patrick Monnerat monnerat at fedoraproject.org
Mon Jun 22 17:26:00 UTC 2009


Author: monnerat

Update of /cvs/pkgs/rpms/php-hkit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8358/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log php-hkit.spec 
Log Message:

* Mon Jun 22 2009 Patrick Monnerat <pm at datasphere.ch> 0.5-1
- Initial import.



--- NEW FILE import.log ---
php-hkit-0_5-1_fc12:HEAD:php-hkit-0.5-1.fc12.src.rpm:1245691378


--- NEW FILE php-hkit.spec ---
Name:		php-hkit
Summary:	Simple PHP5 API for extracting common microformats from a page
Version:	0.5
Release:	1%{?dist}
License:	LGPLv2+
Group:		System Environment/Libraries
Source0:	http://hkit.googlecode.com/files/hkit-v%{version}.tgz
URL:		http://allinthehead.com/hkit
Requires:	php >= 5.0.0
Buildarch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root

%description
  hKit is a simple toolkit for extracting common microformats from a page.
The page can be presented as a string or a URL, and the result is handed
back as a standard PHP array structure. hKit uses SimpleXML for parsing,
and therefore requires PHP5.
  Designed for humans first and machines second, microformats are a set of
simple, open data formats built upon existing and widely adopted standards.
  The only microformat module currently supported by hKit is hCard. However,
hKit makes possible for a user to write its own microformat module.


#-------------------------------------------------------------------------------
%prep
#-------------------------------------------------------------------------------

%setup -q -c


#-------------------------------------------------------------------------------
%build
#-------------------------------------------------------------------------------

#	Nothing to do.


#-------------------------------------------------------------------------------
%install
#-------------------------------------------------------------------------------

rm -rf "${RPM_BUILD_ROOT}"

#	install directory.

install -p -d -m 755 "${RPM_BUILD_ROOT}/%{_datadir}/php"


#	Install files.

install -p -m 644 hkit.class.php "${RPM_BUILD_ROOT}/%{_datadir}/php/"
install -p -m 644 hcard.profile.php "${RPM_BUILD_ROOT}/%{_datadir}/php/"


#-------------------------------------------------------------------------------
%clean
#-------------------------------------------------------------------------------

rm -rf "${RPM_BUILD_ROOT}"


#-------------------------------------------------------------------------------
%files
#-------------------------------------------------------------------------------

%defattr(-, root, root, -)
%doc example.php
%{_datadir}/php/*


#-------------------------------------------------------------------------------
%changelog
#-------------------------------------------------------------------------------

* Tue Jun  2 2009 Patrick Monnerat <pm at datasphere.ch> 0.5-1
- Initial RPM spec file.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-hkit/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	18 Jun 2009 20:16:51 -0000	1.1
+++ .cvsignore	22 Jun 2009 17:25:29 -0000	1.2
@@ -0,0 +1 @@
+hkit-v0.5.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-hkit/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	18 Jun 2009 20:16:51 -0000	1.1
+++ sources	22 Jun 2009 17:25:29 -0000	1.2
@@ -0,0 +1 @@
+37f3c192a94a86cd96770d53b3f22095  hkit-v0.5.tgz




More information about the fedora-extras-commits mailing list