]> git.pld-linux.org Git - packages/bmon.git/commitdiff
- add %config macro
authorJan Wideł <jasw@pld-linux.org>
Thu, 4 Nov 2004 22:10:02 +0000 (22:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- back autotool macro (thanks jm)

Changed files:
    bmon.spec -> 1.7

bmon.spec

index 02c675969cc127e6f2c675a89609fe49c0ea0974..8d41783bbb860aeb7a715c7cdd4792f9f23e524b 100644 (file)
--- a/bmon.spec
+++ b/bmon.spec
@@ -8,6 +8,9 @@ Group:          Applications/Networking
 Source0:       http://people.suug.ch/~tgr/bmon/files/%{name}-%{version}.tar.gz
 # Source0-md5: d0da9d05f18c82a621171985d536dec7
 URL:           http://people.suug.ch/~tgr/bmon/        
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
 BuildRequires: ncurses-devel
 Conflicts:     nstats
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -52,6 +55,10 @@ bmon.
 %setup -q
 
 %build
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
 %configure
 %{__make}
 
@@ -72,7 +79,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog
 %attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/%{name}.conf
+%config(noreplace) %{_sysconfdir}/%{name}.conf
 %{_mandir}/man1/*
 
 %files devel
This page took 0.115704 seconds and 4 git commands to generate.