Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > c8e3313d50357aed33314b7a68e134ab > files > 2

cacti-cactid-0.8.6e-1mdk.src.rpm

%define name	cacti-cactid
%define version	0.8.6e
%define release	%mkrel 1

Summary:	A backend data gatherer for cacti
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		System/Servers
URL:		http://www.cacti.net/
Source0:	http://www.cacti.net/downloads/cactid/%{name}-%{version}.tar.bz2
Requires:	cacti
BuildRequires:	MySQL-devel
BuildRequires:	net-snmp-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
This code represents the future replacement for cmd.php. As you
can see from the short changelog, development on this code has
only just begun. It has been included in the main release for
*testing* purposes only! Please stick to cmd.php for now.

%prep

%setup -q

%build
# x86_64 fix
export LDFLAGS="-L%{_libdir}"
%configure2_5x
%make

%install
rm -rf %{buildroot}

install -d %{buildroot}%{_sysconfdir}
install -d %{buildroot}%{_sbindir}

install -m0644 cactid.conf %{buildroot}%{_sysconfdir}/
install -m0755 cactid %{buildroot}%{_sbindir}/

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc CHANGELOG INSTALL README
%config(noreplace) %{_sysconfdir}/cactid.conf
%attr(0755,root,root) %{_sbindir}/cactid

%changelog
* Tue Jul 19 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.8.6e-1mdk 
- new release
- used %%mkrel
- spec cleanup
- drop version requirement on cacti dependency

* Tue May 10 2005 Oden Eriksson <oeriksson@mandriva.com> 0.8.6d-1mdk
- 0.8.6d
- use better anti ^M stripper
- drop P0, it's implemented upstream
- fix build on x86_64

* Mon Feb 28 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.8.6c-3mdk
- fix #13965
- strip away annoying ^M

* Mon Jan 24 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.8.6c-2mdk
- rebuilt against MySQL-4.1.x system libs

* Mon Dec 20 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.8.6c-1mdk
- 0.8.6c
- fix url

* Fri Oct 08 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.8.6b-1mdk
- initial mandrake package