Author: glen                         Date: Sun May 16 13:56:11 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add -devel; rel 2

---- Files affected:
packages/php-xhp:
   php-xhp.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/php-xhp/php-xhp.spec
diff -u packages/php-xhp/php-xhp.spec:1.3 packages/php-xhp/php-xhp.spec:1.4
--- packages/php-xhp/php-xhp.spec:1.3   Sun May 16 14:46:11 2010
+++ packages/php-xhp/php-xhp.spec       Sun May 16 15:56:06 2010
@@ -7,7 +7,7 @@
 Summary:       Inline XML For PHP
 Name:          php-%{modname}
 Version:       1.3.8
-Release:       1
+Release:       2
 License:       PHP 3.01
 Group:         Development/Languages/PHP
 Source0:       
http://github.com/facebook/xhp/tarball/%{version}/%{name}-%{version}.tar.gz
@@ -30,6 +30,16 @@
 you to use PHP as a stricter templating engine and offers much more
 straightforward implementation of reusable components.
 
+%package devel
+Summary:       Header files for xhp
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki xhp
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      php-devel >= 4:5.2.0
+
+%description devel
+Header files for xhp.
+
 %prep
 %setup -qc
 mv facebook-%{modname}-*/* .
@@ -49,6 +59,7 @@
 
 %{__make} install \
        INSTALL_ROOT=$RPM_BUILD_ROOT \
+       INSTALL_HEADERS=xhp/xhp_preprocess.hpp \
        EXTENSION_DIR=%{php_extensiondir}
 cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
 ; Enable %{modname} extension module
@@ -72,12 +83,20 @@
 %config(noreplace) %verify(not md5 mtime size) 
%{php_sysconfdir}/conf.d/%{modname}.ini
 %attr(755,root,root) %{php_extensiondir}/%{modname}.so
 
+%files devel
+%defattr(644,root,root,755)
+%dir %{_includedir}/php/xhp
+%{_includedir}/php/xhp/xhp_preprocess.hpp
+
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[email protected]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/05/16 13:56:06  glen
+- add -devel; rel 2
+
 Revision 1.3  2010/05/16 12:46:11  glen
 - bison/flex deps are for non-release builds
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-xhp/php-xhp.spec?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to