mirror of
https://github.com/znc/znc.git
synced 2026-08-09 18:32:55 +02:00
fixed a couple makefile bugs, created specfile
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@63 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -35,4 +35,4 @@ clean:
|
||||
install: znc @MODTARGET@
|
||||
mkdir -p $(DEST)$(prefix)/bin
|
||||
install -m 0711 znc $(DEST)$(prefix)/bin
|
||||
(cd modules; $(DEST)$(MAKE))
|
||||
(cd modules; $(MAKE) install DEST=$(DEST))
|
||||
|
||||
+3
-3
@@ -14,13 +14,13 @@ depend::
|
||||
g++ -M $(CXXFLAGS) $(SRCS) $(INCLUDES) >.depend
|
||||
|
||||
install: all create_install_dir $(INSTALL_TARGS)
|
||||
install -m 0711 *.so $(prefix)/share/znc
|
||||
install -m 0711 *.so $(DEST)$(prefix)/share/znc
|
||||
|
||||
create_install_dir:
|
||||
mkdir -p $(prefix)/share/znc
|
||||
mkdir -p $(DEST)$(prefix)/share/znc
|
||||
|
||||
install_%:
|
||||
install -m 0711 $(subst install_,,$@) $(prefix)/share
|
||||
install -m 0711 $(subst install_,,$@) $(DEST)$(prefix)/share
|
||||
|
||||
clean:
|
||||
rm -rf *.so *.o core core.*
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
Name: znc
|
||||
Version: 2.0
|
||||
Release: 1
|
||||
Packager: imaginos@imaginos.net
|
||||
Summary: znc
|
||||
License: GPL
|
||||
Group: none
|
||||
URL: http://sourceforge.net/projects/znc/
|
||||
BuildRequires: gcc >= 3.2
|
||||
BuildRequires: openssl >= 0.9b
|
||||
BuildRoot: /tmp/znc-TMP/
|
||||
Prefix: /usr
|
||||
Source: znc.tar.gz
|
||||
|
||||
%description
|
||||
ZNC is an IRC bounce with many advanced features like detaching, multiple users, per channel playback buffer, SSL, transparent DCC bouncing, and c++ module support to name a few.
|
||||
|
||||
%prep
|
||||
%setup -n znc
|
||||
|
||||
%build
|
||||
./configure --prefix=%{prefix}
|
||||
make all
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%install
|
||||
make install DEST=$RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%{prefix}
|
||||
|
||||
Reference in New Issue
Block a user