automatic rebuild by autodist [release 1.1.10-2mamba;Thu Aug 01 2013]

This commit is contained in:
Automatic Build System 2024-01-05 17:51:00 +01:00
parent 1f198d8892
commit d79855c008
3 changed files with 213 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# silc-toolkit # silc-toolkit
SILC Toolkit is a package intended for software developers who would like to develop their own SILC based applications or help in the development of the SILC.
The Toolkit includes SILC Protocol Core library, SILC Crypto library, SILC Key Exchange (SKE) library, SILC Math library, SILC Modules (SIM) library, SILC Utility library, SILC Client library and few other libraries.

View File

@ -0,0 +1,47 @@
diff -Nru silc-toolkit-1.0.2.orig/apps/irssi/docs/Makefile.in silc-toolkit-1.0.2/apps/irssi/docs/Makefile.in
--- silc-toolkit-1.0.2.orig/apps/irssi/docs/Makefile.in 2006-01-01 19:06:18.000000000 +0100
+++ silc-toolkit-1.0.2/apps/irssi/docs/Makefile.in 2006-01-01 19:06:55.000000000 +0100
@@ -98,7 +98,7 @@
*) f=$$p;; \
esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-am__installdirs = "$(DESTDIR)$(docdir)"
+am__installdirs = "$(docdir)"
docDATA_INSTALL = $(INSTALL_DATA)
DATA = $(doc_DATA)
ETAGS = etags
@@ -313,20 +313,20 @@
uninstall-info-am:
install-docDATA: $(doc_DATA)
@$(NORMAL_INSTALL)
- test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
+ test -z "$(docdir)" || $(mkdir_p) "$(docdir)"
@list='$(doc_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
- echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
- $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
+ echo " $(docDATA_INSTALL) '$$d$$p' '$(docdir)/$$f'"; \
+ $(docDATA_INSTALL) "$$d$$p" "$(docdir)/$$f"; \
done
uninstall-docDATA:
@$(NORMAL_UNINSTALL)
@list='$(doc_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
- rm -f "$(DESTDIR)$(docdir)/$$f"; \
+ echo " rm -f '$(docdir)/$$f'"; \
+ rm -f "$(docdir)/$$f"; \
done
# This directory's subdirectories are mostly independent; you can cd
@@ -509,7 +509,7 @@
all-am: Makefile $(DATA)
installdirs: installdirs-recursive
installdirs-am:
- for dir in "$(DESTDIR)$(docdir)"; do \
+ for dir in "$(docdir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
done
install: install-recursive

163
silc-toolkit.spec Normal file
View File

@ -0,0 +1,163 @@
Name: silc-toolkit
Version: 1.1.10
Release: 2mamba
Summary: Secure Internet Live Conferencing protocol development toolkit
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://silcnet.org/
Source: http://silcnet.org/download/toolkit/sources/%{name}-%{version}.tar.bz2
Patch0: silc-1.0.2-fixdestdir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
SILC Toolkit is a package intended for software developers who would like to develop their own SILC based applications or help in the development of the SILC.
The Toolkit includes SILC Protocol Core library, SILC Crypto library, SILC Key Exchange (SKE) library, SILC Math library, SILC Modules (SIM) library, SILC Utility library, SILC Client library and few other libraries.
%package -n libsilc
Summary: Libraries from the SILC Toolkit
Group: System/Libraries
Obsoletes: silc
%description -n libsilc
SILC Toolkit is a package intended for software developers who would like to develop their own SILC based applications or help in the development of the SILC.
The Toolkit includes SILC Protocol Core library, SILC Crypto library, SILC Key Exchange (SKE) library, SILC Math library, SILC Modules (SIM) library, SILC Utility library, SILC Client library and few other libraries.
%package -n libsilc-devel
Summary: Devel package for libsilc
Group: Development/Libraries
Requires: libsilc = %{version}-%{release}
%description -n libsilc-devel
SILC Toolkit is a package intended for software developers who would like to develop their own SILC based applications or help in the development of the SILC.
This package contains static libraries and header files need for development.
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: libsilc = %{version}-%{release}
Provides: libsilc-doc
Obsoletes: libsilc-doc
Provides: silc-doc
Obsoletes: silc-doc
%description doc
SILC Toolkit is a package intended for software developers who would like to develop their own SILC based applications or help in the development of the SILC.
The SILC Toolkit documentation in HTML format.
Useful for writing new SILC applications.
%prep
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%setup -q
#%patch0 -p1
%define _use_internal_dependency_generator 0
%define __find_provides %{_builddir}/silc-toolkit-%{version}/find_provides.sh
cat > find_provides.sh << _EOF
#! /bin/sh
grep -v %{buildroot}%{_libdir}/silc/modules|\
%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu}
_EOF
chmod +x find_provides.sh
%build
%configure \
--includedir=%{_includedir}/silc \
--with-docdir=%{_docdir}/%{name}-%{version} \
--with-helpdir=%{_docdir}/%{name}-%{version}/help \
--with-logsdir=%{_localstatedir}/log \
--with-simdir=%{_libdir}/silc/modules \
--with-silcd-pid-file="%{_localstatedir}/run/silcd.pid" \
--enable-shared \
--with-irssi \
--with-silcd
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall \
helpdir=%{_docdir}/%{name}-%{version}/help
# FIX build time path references in *.la files
sed -i "s|-L%{_builddir}/%{name}-%{version}/lib||" %{buildroot}%{_libdir}/*.la
# cleanup unpackaged files
find %{buildroot}%{_libdir} \
-type f \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \;
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -n libsilc
%defattr(-,root,root)
%{_libdir}/libsilc-1.1.so.*
%{_libdir}/libsilcclient-1.1.so.*
%dir %_libdir/silc
%dir %_libdir/silc/modules
%{_libdir}/silc/modules/*.so
#%{_mandir}/man1/silc.*
%files -n libsilc-devel
%defattr(-,root,root)
%{_libdir}/libsilc.so
%{_libdir}/libsilc.a
%{_libdir}/libsilc.la
%{_libdir}/libsilcclient.so
%{_libdir}/libsilcclient.a
%{_libdir}/libsilcclient.la
%{_libdir}/pkgconfig/silc.pc
%{_libdir}/pkgconfig/silcclient.pc
%dir %_includedir/silc
%{_includedir}/silc/*.h
%files doc
%defattr(-,root,root)
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/*
%changelog
* Thu Aug 01 2013 Automatic Build System <autodist@mambasoft.it> 1.1.10-2mamba
- automatic rebuild by autodist
* Sun Aug 16 2009 Automatic Build System <autodist@mambasoft.it> 1.1.10-1mamba
- automatic update by autodist
* Sun Mar 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.9-1mamba
- automatic update by autodist
* Wed Jan 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.8-1mamba
- automatic update by autodist
* Thu Jun 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.7-1mamba
- update to 1.1.7
- renamed to silc-toolkit
- server and client packages need to be built apart when needed
- libsilc obsoletes silc
* Tue May 08 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-2mamba
- rebuilt
* Sun Jan 01 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1qilnx
- update to version 1.0.2 by autospec
- enabled client server build support
* Tue Mar 08 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.12-3qilnx
- fixed missing %%defattr string in the doc package
* Tue Feb 08 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.12-2qilnx
- fixed incorrect provides for some libraries
* Wed Oct 27 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.12-1qilnx
- package created by autospec