]> git.pld-linux.org Git - packages/bmon.git/blobdiff - bmon.spec
- fix md5
[packages/bmon.git] / bmon.spec
index 46e37542b624f65ba6acf9f11719161eafef20ca..4320bc0d4913cf0740ea94e6e531d343fa6732f6 100644 (file)
--- a/bmon.spec
+++ b/bmon.spec
@@ -1,22 +1,24 @@
 
-%define                _pre    pre1
-
+%define        _pre    pre1
+%define        _sysconfdir     /etc/%{name}
 Summary:       Console interface bandwidth usage monitor
 Summary(pl):   Konsolowy monitor u¿ycia interfejsu sieciowego
 Name:          bmon
-Version:       2.1.1
+Version:       2.2.0
 Release:       0.%{_pre}.1
 License:       Artistic
 Group:         Applications/Networking
 Source0:       http://people.suug.ch/~tgr/bmon/files/%{name}-%{version}-%{_pre}.tar.gz
-# Source0-md5: e08f5d8a7b0fb6e632484cbfc95ebd33
+# Source0-md5: f4ec66927751027f855886f3dc45c218
 URL:           http://people.suug.ch/~tgr/bmon/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
+BuildRequires: libdbi-devel
+BuildRequires: libnl-devel
 BuildRequires: ncurses-devel
+BuildRequires: postgresql-devel
 BuildRequires: rrdtool-devel
-BuildRequires: libdbi-devel
 Conflicts:     nstats
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -55,7 +57,6 @@ Header files neccesary to develop bmon applications.
 Pliki nag³ówkowe niezbêdne do tworzenia aplikacji korzystaj±cych z
 bmon.
 
-
 %prep
 %setup -q -n %{name}-%{version}-%{_pre}
 
@@ -72,10 +73,9 @@ cp -f /usr/share/automake/config.sub .
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sysconfdir}
 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
-install etc/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
+cp -r etc/* $RPM_BUILD_ROOT%{_sysconfdir}
 install include/%{name}/* $RPM_BUILD_ROOT%{_includedir}/%{name}/
 
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
@@ -86,7 +86,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog
 %attr(755,root,root) %{_bindir}/*
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
+%dir %{_sysconfdir}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
 %{_mandir}/man1/*
 
 %files devel
This page took 0.053357 seconds and 4 git commands to generate.