SPECS: bmon.spec - up to 2.0.1 version - add devel package

Jan Meizner jm w pa103.nowa-wies.sdi.tpnet.pl
Czw, 4 Lis 2004, 22:56:05 CET



On Thu, 4 Nov 2004, jasw wrote:

> Author: jasw                         Date: Thu Nov  4 13:35:28 2004 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - up to 2.0.1 version
> - add devel package
> 
> ---- Files affected:
> SPECS:
>    bmon.spec (1.4 -> 1.5) 
> 
> ---- Diffs:
> 
> ================================================================
> Index: SPECS/bmon.spec
> diff -u SPECS/bmon.spec:1.4 SPECS/bmon.spec:1.5
> --- SPECS/bmon.spec:1.4	Thu Mar  4 22:00:46 2004
> +++ SPECS/bmon.spec	Thu Nov  4 13:35:21 2004
> @@ -2,16 +2,13 @@
[...]
>  Group:		Applications/Networking
> -Source0:	http://trash.net/~reeler/bmon/files/%{name}-%{version}.tar.bz2
> -# Source0-md5:	52c400477996b6f85046981226b2d278
> -URL:		http://trash.net/~reeler/bmon/
> -BuildRequires:	autoconf
> -BuildRequires:	automake
> -BuildRequires:	gettext-devel
> +Source0:	http://people.suug.ch/~tgr/bmon/files/%{name}-%{version}.tar.gz
> +# Source0-md5:	d0da9d05f18c82a621171985d536dec7
> +URL:		http://people.suug.ch/~tgr/bmon/	
[...]
>  %build
> -%{__gettextize}
> -%{__aclocal}
> -%{__autoconf}
> -%{__autoheader}
>  %configure
>  %{__make}

...a to dlaczego? Są jakieś powody czy od tak walczymy z autotoolsami?

>  
>  %install
> -rm -rf $RPM_BUILD_ROOT
> -install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
> +install -d $RPM_BUILD_ROOT%{_sysconfdir}
> +install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
> +install etc/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
> +install include/%{name}/* $RPM_BUILD_ROOT%{_includedir}/%{name}/ 
> +

>  
>  %files
>  %defattr(644,root,root,755)
> -%doc AUTHORS ChangeLog
> +%doc ChangeLog
>  %attr(755,root,root) %{_bindir}/*
> +%{_sysconfdir}/%{name}.conf
...od tak po prostu...nie trzeba tego jakoś oznaczyć jako config?
[...]

--
Pozdrawiam
Jan Meizner
jm w pld-linux.org




Więcej informacji o liście dyskusyjnej pld-devel-pl