]> git.pld-linux.org Git - packages/dclib.git/blame - dclib.spec
- 0.3.23 - ssl patch from upstream added, obsolete removed, no longer
[packages/dclib.git] / dclib.spec
CommitLineData
25c75371
JB
1#
2# Conditional build:
46978f0f 3%bcond_with lying # lie about the H header (always H:1)
25c75371 4#
a95b674e 5Summary: DirectConnect support library for dcgui-qt
45f7b9cd 6Summary(pl.UTF-8): Biblioteka obsługująca DirectConnect dla dcgui-qt
a97cdc01 7Name: dclib
57a2e0a5
PG
8Version: 0.3.23
9Release: 1
bcbb008b 10Epoch: 1
a95b674e 11License: GPL
9578f9b3 12Group: Libraries
af139c20 13Source0: http://dl.sourceforge.net/wxdcgui/%{name}-%{version}.tar.bz2
57a2e0a5 14# Source0-md5: 6852e420e48d09b514fcb9f783611cdc
46978f0f 15Patch0: %{name}-lying_tags.patch
57a2e0a5 16Patch1: %{name}-ssl.patch
af139c20 17URL: http://wxdcgui.sourceforge.net/
2b4f16c0
PG
18BuildRequires: autoconf
19BuildRequires: automake
5d8bc76d 20BuildRequires: bzip2-devel
9578f9b3 21BuildRequires: libstdc++-devel
2b4f16c0 22BuildRequires: libtool
7cca6f8f 23BuildRequires: libxml2-devel > 2.0.0
9c907330 24BuildRequires: openssl-devel >= 0.9.7d
5d8bc76d 25Requires: libxml2 > 2.0.0
a97cdc01
PG
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
a97cdc01 28%description
5d8bc76d 29DirectConnect support library for dcgui-qt.
a97cdc01 30
3b6ce15d
JR
31%description -l pl.UTF-8
32Biblioteka obsługująca DirectConnect dla dcgui-qt.
a97cdc01
PG
33
34%package devel
a95b674e 35Summary: Header files for dclib
45f7b9cd 36Summary(pl.UTF-8): Pliki nagłówkowe dla dclib
9578f9b3 37Group: Development/Libraries
06f9e904 38Requires: %{name} = %{epoch}:%{version}-%{release}
9578f9b3
JB
39Requires: bzip2-devel
40Requires: libstdc++-devel
41Requires: libxml2-devel > 2.0.0
42Requires: openssl-devel
57a2e0a5 43Obsoletes: dclib-static
a97cdc01
PG
44
45%description devel
5d8bc76d 46Header files for dclib.
a97cdc01 47
3b6ce15d
JR
48%description devel -l pl.UTF-8
49Pliki nagłówkowe dla dclib.
a97cdc01 50
a97cdc01 51%prep
fa58460f 52%setup -q
46978f0f 53%{?with_lying:%patch0 -p1}
af139c20 54%patch1 -p1
a97cdc01
PG
55
56%build
a97cdc01 57%configure
a97cdc01
PG
58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
b4ada796
PG
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
a97cdc01
PG
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
5d8bc76d
JB
69%post -p /sbin/ldconfig
70%postun -p /sbin/ldconfig
71
a97cdc01
PG
72%files
73%defattr(644,root,root,755)
915f2c4a 74%doc AUTHORS README
5d8bc76d 75%attr(755,root,root) %{_libdir}/libdc.so.*.*
a97cdc01
PG
76
77%files devel
78%defattr(644,root,root,755)
5d8bc76d
JB
79%attr(755,root,root) %{_libdir}/*.so
80%{_libdir}/*.la
57a2e0a5
PG
81%dir %{_includedir}/dclib-0.3/
82%dir %{_includedir}/dclib-0.3/dclib/core
83%{_includedir}/dclib-0.3/dclib/core/*.h
84%dir %{_includedir}/dclib-0.3/dclib
85%{_includedir}/dclib-0.3/dclib/*.h
130f8006 86%{_pkgconfigdir}/*.pc
This page took 0.086784 seconds and 4 git commands to generate.