]> git.pld-linux.org Git - packages/eggdrop.git/blobdiff - eggdrop.spec
- rediff pathes, rebuild with openssl 3.0.0, rel 2
[packages/eggdrop.git] / eggdrop.spec
index a5939fe4114543f05d0010e5a3910bd01fe562e8..1e97929f3e58f376b940c80ba1487ce085abcf6f 100644 (file)
@@ -1,18 +1,16 @@
 #
 # Conditional build:
-%bcond_with    suzi    # encoding enhancements
-#
 Summary:       Eggdrop is an IRC bot, written in C
 Summary(pl.UTF-8):     Eggdrop jest botem IRC napisanym w C
 Summary(pt_BR.UTF-8):  Bot de IRC escrito em C
 Summary(ru.UTF-8):     Eggdrop, это IRC-бот написанный на языке C.
 Name:          eggdrop
-Version:       1.6.19
-Release:       6
+Version:       1.8.3
+Release:       2
 License:       GPL v2
 Group:         Applications/Communications
-Source0:       ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/%{name}%{version}.tar.bz2
-# Source0-md5: b706bbe4fdd05964e0ea0cd920f28539
+Source0:       ftp://ftp.eggheads.org/pub/eggdrop/source/1.8/%{name}-%{version}.tar.gz
+# Source0-md5: 30b076b813a6b04f7421ab709309af7b
 # In order to unify filenames, following language packs and third-party modules were
 # repackaged. Some files were renamed, but none modified. Original archives can be
 # found by looking at http://www.egghelp.org/
@@ -43,31 +41,35 @@ Source24:   %{name}-module-irctree-1.1.tar.gz
 # Source24-md5:        8bf884c57adbb131228fe47bffc69836
 Source25:      %{name}-module-megahal-2.6b.tar.gz
 # Source25-md5:        1c8762d63d16c95bee3a2399614b8ac5
-Source26:      %{name}-module-stats-1.3.3dev1.tar.gz
-# Source26-md5:        f50299b06dc9c8d29f7abb19defaa917
+
 Source27:      %{name}-module-idea-1.0.2.tar.gz
 # Source27-md5:        dce4a43dfcfb72e143c71e8f6c6fc8c8
 Source28:      %{name}-module-twofish-1.0.tar.gz
 # Source28-md5:        861957c170b4af105199202e724be2a3
 #Source29:     %{name}-module-rijndael-1.0.tar.gz
 # http://eggdrop.msk.ru/files/irc/eggdrop1.6.19-patch-sp0009+SSL.tar.bz2
-Source30:      http://eggdrop.msk.ru/files/irc/eggdrop1.6.19-patch-sp0009.tar.bz2
+Source30:      http://eggdrop.msk.ru/files/irc/%{name}1.6.19-patch-sp0009.tar.bz2
 # Source30-md5:        37df8dbb76a2b2283e2e80c182dc9967
 Patch0:                %{name}-FHS.patch
 Patch1:                %{name}-doc_makefile.patch
-Patch2:                %{name}-multilevel_sharing.patch
-Patch3:                %{name}-topicprot.patch
+
+# http://www.egghelp.org/files.htm#patches
+
 Patch4:                %{name}-config_encryption.patch
 Patch5:                %{name}-autobotchk.patch
-Patch6:                %{name}-ssl.patch
+# http://www.egghelp.org/files.htm#patches
+
 Patch7:                %{name}-nolibs.patch
-Patch8:                %{name}-nohostwhowhom.patch
+
 Patch9:                %{name}-nmu.patch
-Patch10:       %{name}-ipv6-ssl.patch
+
+Patch12:       %{name}-build.patch
 URL:           http://www.eggheads.org/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: openssl-devel >= 0.9.7d
+%{?with_ssl:BuildRequires:     openssl-devel >= 0.9.7d}
+BuildRequires: rpm >= 4.4.9-56
+BuildRequires: rpmbuild(macros) >= 1.453
 BuildRequires: tcl-devel
 Requires:      tcl
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -150,30 +152,23 @@ Eggdrop находится на канале в целях оказания за
 соответствующих прав и привилегий.
 
 %prep
-%setup -q -n %{name}%{version} -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a30
+%setup -q -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a20 -a21 -a22 -a23 -a24 -a25 -a27 -a28 -a30
+mv aclocal.m4 acinclude.m4
 %patch0 -p1
-%patch1 -p0
-%patch3 -p1
+%patch1 -p1
+
 %patch4 -p1
 %patch5 -p1
 %patch7 -p1
-%patch8 -p1
 
-%if %{with suzi}
-patch -p1 < eggdrop1.6.19-sp.0009.diff || exit 1
-%else
-%patch2 -p1
-%patch6 -p1
-%endif
+#%patch9 -p0 - wtf is this?
 
-%patch9 -p0
-%patch10 -p0
+%patch12 -p1
 
-%build
 # detect threaded tcl version
-sed -i -e 's#TclpFinalizeThreadData#Tcl_FinalizeThread#g' aclocal.m4
+sed -i -e 's#TclpFinalizeThreadData#Tcl_FinalizeThread#g' acinclude.m4
 
-mv aclocal.m4 acinclude.m4
+%build
 cp -f /usr/share/automake/config.sub misc/
 cp -f %{name}.conf doc/%{name}.conf.example
 %{__aclocal}
@@ -197,7 +192,8 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/modules,%{_mandir}/man1,%{_datadir}/%{name}}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       INSTALL="install -p" \
+       DEST=$RPM_BUILD_ROOT
 
 mv $RPM_BUILD_ROOT/%{name}-%{version} $RPM_BUILD_ROOT%{_bindir}/%{name}
 mv $RPM_BUILD_ROOT{/{text/*,help,scripts,language},%{_datadir}/%{name}/}
@@ -215,7 +211,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc docs/* %{?with_suzi:docs/*utf-8*.txt}
+%doc docs/*
 %attr(755,root,root) %{_bindir}/%{name}
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/modules
This page took 0.041837 seconds and 4 git commands to generate.