View | Details | Raw Unified | Return to bug 21133
Collapse All | Expand All

(-)dclib.spec (-10 / +18 lines)
Lines 1-18 Link Here
1
%undefine __libtoolize
1
%undefine __libtoolize
2
2
3
Name: dclib
3
%define rname dclib
4
Name: libeiskaltdc
4
Version: 0.3.23
5
Version: 0.3.23
5
Release: alt1
6
Release: alt0.M50.1
7
%define beta p3097
6
8
7
License: GPL
9
License: GPL
8
Url: http://wxdcgui.sourceforge.net/
10
Url: http://wxdcgui.sourceforge.net/
9
Packager: Evgeny V. Shishkov <shev@altlinux.org>
10
Summary: Direct Connect file sharing library
11
Summary: Direct Connect file sharing library
11
Group: System/Libraries
12
Group: System/Libraries
12
Source: %name-%version.tar.bz2
13
13
14
Requires: libxml2 libssl zlib
14
Requires: libxml2 libssl zlib
15
15
16
Source: %rname-%version%{?beta:_%beta}.tar.bz2
17
16
# Automatically added by buildreq on Tue Dec 09 2008
18
# Automatically added by buildreq on Tue Dec 09 2008
17
BuildRequires: bzlib-devel gcc-c++ libssl-devel libxml2-devel
19
BuildRequires: bzlib-devel gcc-c++ libssl-devel libxml2-devel
18
20
Lines 25-46 based on dclib. Link Here
25
Summary: Development Direct Connect shared library
27
Summary: Development Direct Connect shared library
26
Group: Development/C++
28
Group: Development/C++
27
Requires: %name = %version-%release
29
Requires: %name = %version-%release
28
30
Conflicts: dclib-devel
29
%description devel
31
%description devel
30
This library implements the Direct Connect file sharing protocol.
32
This library implements the Direct Connect file sharing protocol.
31
The package contains the C++ headers and static library to compile programs
33
The package contains the C++ headers and static library to compile programs
32
based on dclib.
34
based on dclib.
33
35
34
%prep
36
%prep
35
%setup
37
%setup -qn %rname-%version%{?beta:_%beta}
38
sed -i 's|libdc|libeiskaltdc|' dclib/Makefile.am
39
sed -i 's|libdc|libeiskaltdc|' extras/Makefile.am
40
sed -i 's|-ldc|-leiskaltdc|' dclib.pc.in
36
41
37
%build
38
autoreconf -isv
42
autoreconf -isv
39
43
44
%build
40
%configure \
45
%configure \
41
    --enable-shared \
46
    --enable-shared \
42
    --disable-static \
47
    --disable-static \
43
    --enable-debug
48
    --disable-debug
44
49
45
%make_build
50
%make_build
46
51
Lines 53-62 autoreconf -isv Link Here
53
%files devel
58
%files devel
54
%_libdir/*.so
59
%_libdir/*.so
55
%_libdir/pkgconfig/*.pc
60
%_libdir/pkgconfig/*.pc
56
%_includedir/%name-0.3/%name/*.h
61
%_includedir/%rname-*
57
%_includedir/%name-0.3/%name/*/*.h
58
62
59
%changelog
63
%changelog
64
* Sat Aug 15 2009 Sergey V Turchin <zerg at altlinux dot org> 0.3.23-alt0.M50.1
65
- rename libname
66
- built for M50
67
60
* Mon Feb 16 2009 Evgeny V. Shishkov <shev@altlinux.org> 0.3.23-alt1
68
* Mon Feb 16 2009 Evgeny V. Shishkov <shev@altlinux.org> 0.3.23-alt1
61
- New version 0.3.23
69
- New version 0.3.23
62
70

Return to bug 21133