]> git.pld-linux.org Git - packages/apachetop.git/commitdiff
- updated to 0.6
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 5 Oct 2003 20:37:36 +0000 (20:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- make use of %%configure and %%make install DESTDIR=
- updated %%doc
- added apachetop manpage
- apachetop binary now in %%{_sbindir}

Changed files:
    apachetop.spec -> 1.5

apachetop.spec

index 6783c16bd1293c535ce9f5b534114c98b8fdb375..67ae8cdf134071cecffe5ca9ab8fc3a2d84472e3 100644 (file)
@@ -4,12 +4,12 @@
 Summary:       Apache top-like display
 Summary(pl):   Podobny do topa program pokazuj±cy pracê Apache'a
 Name:          apachetop
-Version:       0.5
+Version:       0.6
 Release:       1
 License:       BSD
 Group:         Networking/Utilities
 Source0:       http://clueful.shagged.org/%{name}/files/%{name}-%{version}.tar.gz
-# Source0-md5: 02fd919e77b9791f6162cb462daa7749
+# Source0-md5: b68994e5dab65ac273465d0218083b71
 URL:           http://clueful.shagged.org/apachetop/
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,21 +24,23 @@ Apache'a, w
 najbardziej popularne URL-e, itp.
 
 %prep
-%setup -q -n ApacheTop-%{version}
+%setup -q
 
 %build
-%{__make} linux \
-       CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+%configure
+%{__make} \
+       CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES README
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS ChangeLog INSTALL NEWS README TODO
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man1/*
This page took 0.116406 seconds and 4 git commands to generate.