Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > d9f61b97ceab6f610d12efab23f0cfda > files > 1

phpmyvisites-2.2-4mdv2009.0.src.rpm

%define name phpmyvisites
%define version 2.2
%define oversion 2_2 
%define release %mkrel 4

%define __phpmvroot /var/www/html/phpmyvisites

Summary:        Powerful application for websites statistics and audience measurements
Name:           %{name}
Version:        %{version}
Release:        %{release}
Source0:        %{name}_%{oversion}.tar.bz2
License:        GPL
URL:            http://www.phpmyvisites.net
Group:          Networking/WWW
BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot
Requires:       webserver mysqlserver php-common mod_php php-mysql php-gd php-xml
BuildArch:      noarch
Prefix:         %{__phpmvroot}

%description
phpMyVisites is an open-source and free application for the management of
statistics of websites. After you have installed the application on your web
server (the installation phase is completely automated and does not required
any technical knowledge), you need to insert a short Javascript code (you will
be able to copy and paste it) on the pages from where you wish to obtain
statistics: the setup is very simple and immediate.

Everyone will be able to take advantage of the statistics. It can be that you
are only intested by the number of web page consultation, the average time that
your visitors pass on your pages, or again if you wish to analyze in depth your
statistics (in taking advantage of several features of phpMyVisites) and to
have like this, means to progress on your website.

%prep

%setup -q -n phpmv2

%build

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

install -d %{buildroot}/%{__phpmvroot}
cp -ar *.php %{buildroot}/%{__phpmvroot}/
cp -ar images langs %{buildroot}/%{__phpmvroot}/

#%post
#chown apache.apache %{__phpmvroot}

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%attr(-,apache,apache) %dir %{__phpmvroot}
%doc CHANGELOG README TODO
%{__phpmvroot}




%changelog
* Fri Aug 01 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.2-4mdv2009.0
+ Revision: 258997
- rebuild

* Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.2-3mdv2009.0
+ Revision: 246875
- rebuild

* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 2.2-1mdv2008.1
+ Revision: 136403
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request


* Sun Dec 03 2006 Emmanuel Andry <eandry@mandriva.org> 2.2-1mdv2007.0
+ Revision: 90261
- New version 2.2
- Import phpmyvisites