SPECS: t0xirc.spec - rel 1
glen
glen at pld-linux.org
Wed Feb 4 12:34:28 CET 2009
Author: glen Date: Wed Feb 4 11:34:28 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 1
---- Files affected:
SPECS:
t0xirc.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/t0xirc.spec
diff -u SPECS/t0xirc.spec:1.5 SPECS/t0xirc.spec:1.6
--- SPECS/t0xirc.spec:1.5 Mon Feb 12 23:09:17 2007
+++ SPECS/t0xirc.spec Wed Feb 4 12:34:23 2009
@@ -3,18 +3,19 @@
Summary(pl.UTF-8): Klasa bramki PHP do Eggdropa
Name: t0xirc
Version: 1.0.4
-Release: 0.2
+Release: 1
License: GPL v2
Group: Libraries
Source0: http://t0xirc.si.kz/downloads/%{name}_%{version}.tgz
# Source0-md5: f529648d6e00d1db7fb8c06580b05198
Source1: %{name}.php
URL: http://t0xirc.si.kz/
+BuildRequires: rpmbuild(macros) >= 1.461
Requires: php-common
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _appdir %{_datadir}/php
+%define php_data_dir %{_datadir}/php
%description
t0xirc is a PHP class that enable your applications to interact with
@@ -29,8 +30,8 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir},%{_examplesdir}/%{name}-%{version}}
-cp -a t0xirc.php $RPM_BUILD_ROOT%{_appdir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{php_data_dir},%{_examplesdir}/%{name}-%{version}}
+cp -a t0xirc.php $RPM_BUILD_ROOT%{php_data_dir}
cp -a example.php $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/%{name}
@@ -41,8 +42,8 @@
%defattr(644,root,root,755)
%doc ChangeLog README
%attr(755,root,root) %{_bindir}/t0xirc
-%{_appdir}/*
-%{_examplesdir}/*
+%{php_data_dir}/t0xirc.php
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -50,6 +51,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2009/02/04 11:34:23 glen
+- rel 1
+
Revision 1.5 2007/02/12 22:09:17 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/t0xirc.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list