Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37534960
en ru br
ALT Linux repos
5.0: 0.3.22-alt2
4.1: 0.3.22-alt1.M41.1
3.0: 0.3.8-alt1

Group :: System/Libraries
RPM: dclib

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: dclib
Version: 0.3.8
Release: alt1

License: GPL
Url: http://dcgui.berlios.de
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Summary: Direct Connect file sharing library
Group: System/Libraries
Source: %name-%version.tar.bz2
#Source2: %name.ipfilter.txt

#Patch1: dclib.libxml.patch

Patch2: dclib.xmllist.patch
#Patch3: dclib_connection_fix.patch
Patch4: dclib_automake.patch
Patch5: patch-ipfilter-2.diff

# Automatically added by buildreq on Sat Apr 02 2005

BuildRequires: bzlib-devel gcc-c++ gcc-g77 hostinfo libssl-devel libstdc++-devel libxml2-devel mozilla-psm zlib-devel

Requires: libxml2 libssl zlib

%description
This library implements the Direct Connect file sharing protocol.
The package contains the shared library required for running programs
based on dclib.

%package devel
Summary: Development Direct Connect shared library
Group: Development/C++
Requires: %name = %version-%release

%description devel
This library implements the Direct Connect file sharing protocol.
The package contains the C++ headers and static library to compile programs
based on dclib.

%prep
%setup -q -n %name

#%patch1 -p1

%patch2 -p1
#%patch3 -p1
%patch4 -p1
#%patch5 -p1

%make -f Makefile.dist

%build
%configure \
--enable-shared \
--disable-static \
--enable-debug=yes \

%make_build

%install
%__mkdir_p %buildroot{{%_libdir,%_libdir/pkgconfig},%_includedir}

%makeinstall install-strip

#%__install -pm644 $RPM_BUILD_DIR/%name-%version/%name.pc %buildroot%_libdir/pkgconfig/%name.pc


%post -p %post_ldconfig

%postun -p %postun_ldconfig

%files
%_libdir/*.so*
#%_libdir/pkgconfig/%name.pc

%files devel
%_libdir/pkgconfig/*.pc
%_includedir/%name/*.h
%_includedir/%name/*/*.h

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin