X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdclib.git;a=blobdiff_plain;f=dclib.spec;h=3a107c03f142c0d9e8863468b876752d7205d198;hp=4589fda532dc7fab612dfff889d3d30cc62c258e;hb=50c4c2394610502a9bc56fb8a78aa302885b1952;hpb=9578f9b34b42ba69fcac38763931ea662816bedf diff --git a/dclib.spec b/dclib.spec index 4589fda..3a107c0 100644 --- a/dclib.spec +++ b/dclib.spec @@ -1,61 +1,61 @@ +# +# Conditional build: +%bcond_with lying # lie about the H header (always H:1) +# Summary: DirectConnect support library for dcgui-qt -Summary(pl): Biblioteka obs³uguj±ca DirectConnect dla dcgui-qt +Summary(pl.UTF-8): Biblioteka obsługująca DirectConnect dla dcgui-qt Name: dclib -Version: 0.2.21 -Release: 2 +Version: 0.3.23 +Release: 4 +Epoch: 1 License: GPL Group: Libraries -Source0: http://download.berlios.de/dcgui/%{name}-%{version}.tar.bz2 -# Source0-md5: 71b8c1e3f601c505227141dab312c11d -URL: http://dc.ketelhot.de/ +Source0: http://dl.sourceforge.net/wxdcgui/%{name}-%{version}.tar.bz2 +# Source0-md5: 6852e420e48d09b514fcb9f783611cdc +Patch0: %{name}-lying_tags.patch +Patch1: %{name}-ssl.patch +URL: http://wxdcgui.sourceforge.net/ +BuildRequires: autoconf BuildRequires: automake BuildRequires: bzip2-devel BuildRequires: libstdc++-devel +BuildRequires: libtool BuildRequires: libxml2-devel > 2.0.0 -BuildRequires: openssl-devel +BuildRequires: openssl-devel >= 0.9.7d +BuildRequires: pkgconfig Requires: libxml2 > 2.0.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description DirectConnect support library for dcgui-qt. -%description -l pl -Biblioteka obs³uguj±ca DirectConnect dla dcgui-qt. +%description -l pl.UTF-8 +Biblioteka obsługująca DirectConnect dla dcgui-qt. %package devel Summary: Header files for dclib -Summary(pl): Pliki nag³ówkowe dla dclib +Summary(pl.UTF-8): Pliki nagłówkowe dla dclib Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{epoch}:%{version}-%{release} Requires: bzip2-devel Requires: libstdc++-devel Requires: libxml2-devel > 2.0.0 Requires: openssl-devel +Obsoletes: dclib-static %description devel Header files for dclib. -%description devel -l pl -Pliki nag³ówkowe dla dclib. - -%package static -Summary: Static dclib library -Summary(pl): Statyczna biblioteka dclib -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} - -%description static -Static dclib library. - -%description static -l pl -Statyczna biblioteka dclib. +%description devel -l pl.UTF-8 +Pliki nagłówkowe dla dclib. %prep %setup -q +%{?with_lying:%patch0 -p1} +%patch1 -p1 %build -cp -f /usr/share/automake/config.sub admin -%configure +%configure PTHREAD_LIBS=-lpthread %{__make} %install @@ -72,16 +72,17 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS NEWS README ChangeLog +%doc AUTHORS README +%attr(755,root,root) %ghost %{_libdir}/libdc.so.5 %attr(755,root,root) %{_libdir}/libdc.so.*.* -%{_datadir}/dcgui %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/*.so %{_libdir}/*.la -%{_includedir}/dclib - -%files static -%defattr(644,root,root,755) -%{_libdir}/*.a +%dir %{_includedir}/dclib-0.3/ +%dir %{_includedir}/dclib-0.3/dclib/core +%{_includedir}/dclib-0.3/dclib/core/*.h +%dir %{_includedir}/dclib-0.3/dclib +%{_includedir}/dclib-0.3/dclib/*.h +%{_pkgconfigdir}/*.pc