SPECS: phpxref.spec - packaging
glen
glen at pld-linux.org
Wed Dec 19 21:31:53 CET 2007
Author: glen Date: Wed Dec 19 20:31:53 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- packaging
---- Files affected:
SPECS:
phpxref.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/phpxref.spec
diff -u SPECS/phpxref.spec:1.1 SPECS/phpxref.spec:1.2
--- SPECS/phpxref.spec:1.1 Wed Dec 19 19:05:09 2007
+++ SPECS/phpxref.spec Wed Dec 19 21:31:47 2007
@@ -3,15 +3,19 @@
Summary: PHP Cross Referencing Documentation Generator
Name: phpxref
Version: 0.7
-Release: 0.1
+Release: 0.4
License: GPL v2
Group: Development/Languages/PHP
Source0: http://dl.sourceforge.net/phpxref/%{name}-%{version}.tar.gz
# Source0-md5: 9518c12578c6daa6ee69bd23379ec8ba
URL: http://phpxref.sourceforge.net/
BuildRequires: rpm-perlprov >= 4.1-13
+Requires: perl-base >= 1:5.6
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _appdir %{_datadir}/%{name}
+
%description
PHPXref is a developer tool that's designed to ease the process of
working on large PHP projects by making it very fast and easy to
@@ -22,15 +26,20 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
install phpxref.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
+cp -a phpxref.cfg $RPM_BUILD_ROOT%{_appdir}
+cp -a jstree *.js *.gif php4_functionlist.txt $RPM_BUILD_ROOT%{_appdir}
+cp -a sample* $RPM_BUILD_ROOT%{_appdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc Changelog UPGRADE
+%doc Changelog UPGRADE README.html
+%attr(755,root,root) %{_bindir}/phpxref
+%{_appdir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -38,6 +47,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2007-12-19 20:31:47 glen
+- packaging
+
Revision 1.1 2007-12-19 18:05:09 glen
- initial
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/phpxref.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list