]> git.pld-linux.org Git - packages/botnet.git/commitdiff
- added examples patch
authorSebastian Zagrodzki <sebek@zagrodzki.net>
Wed, 23 Aug 2000 16:57:32 +0000 (16:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    botnet.spec -> 1.5

botnet.spec

index 9359cf4b7c30a47a1df747e9570583618a142481..e49e3b3fd8848f99424ffc50bcc396d3d5998f7c 100644 (file)
@@ -8,6 +8,7 @@ Group:          Libraries
 Group(fr):     Librairies
 Group(pl):     Biblioteki
 Source0:       http://zekiller.skytech.org/fichiers/botnet/%{name}-%{version}.tar.gz
 Group(fr):     Librairies
 Group(pl):     Biblioteki
 Source0:       http://zekiller.skytech.org/fichiers/botnet/%{name}-%{version}.tar.gz
+Patch0:                %{name}-examples.patch
 URL:           http://zekiller.skytech.org/main.html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 URL:           http://zekiller.skytech.org/main.html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -59,6 +60,8 @@ korzystaj
 
 %prep
 %setup -q
 
 %prep
 %setup -q
+%patch0 -p1
+
 
 %build
 aclocal
 
 %build
 aclocal
@@ -66,7 +69,7 @@ autoheader
 autoconf
 automake 
 
 autoconf
 automake 
 
-LDFLAGS="-s" ; export LDFLAGS
+LDFLAGS="-s"; export LDFLAGS
 %configure 
 
 %{__make}
 %configure 
 
 %{__make}
@@ -77,7 +80,8 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} DESTDIR=$RPM_BUILD_ROOT install
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} DESTDIR=$RPM_BUILD_ROOT install
-install example/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install example/*.c $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}
+install example/Makefile.new $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}/Makefile
 
 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/*.so.*.*
 
 
 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/*.so.*.*
 
This page took 0.05376 seconds and 4 git commands to generate.