]> git.pld-linux.org Git - packages/dclib.git/blobdiff - dclib.spec
- kill unneeded automake BR and stuff that belongs to it
[packages/dclib.git] / dclib.spec
index b884810530f4185e165a118aa154d16563374741..1f57654df8d6701154d6422dc39a546e8b5cf288 100644 (file)
@@ -1,93 +1,93 @@
-%define                _beta           beta1
-%define                _release        1
-
-Summary:       dclib - libraries for Direct Connect client
-Summary(pl):   dclib - biblioteki dla klienta Direct Connecta
+#
+# Conditional build:
+%bcond_with    lying   # lie about the H header (always H:1)
+#
+Summary:       DirectConnect support library for dcgui-qt
+Summary(pl.UTF-8):     Biblioteka obsługująca DirectConnect dla dcgui-qt
 Name:          dclib
-Version:       0.2
-Release:       %{_beta}.%{_release}
-License:       GPL v2
-Group:         X11/Libraries
-Source0:       http://download.berlios.de/dcgui/%{name}-%{version}%{_beta}.tar.bz2
-Patch0:                %{name}-xml_ugly_fix.patch
-URL:           http://dc.ketelhot.de/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libtool
-BuildRequires: libxml2-devel > 2.0.0
+Version:       0.3.8
+Release:       2
+Epoch:         1
+License:       GPL
+Group:         Libraries
+Source0:       http://downloads.sourceforge.net/wxdcgui/%{name}-%{version}.tar.bz2
+# Source0-md5: 4ae0980b1e09eff8c7d193867d213333
+Patch0:                %{name}-lying_tags.patch
+URL:           http://dcgui.berlios.de/
 BuildRequires: bzip2-devel
-BuildRequires: qt-devel >= 3.0.5
-Provides:      %{name} = %{version}%{_beta}
+BuildRequires: libstdc++-devel
+BuildRequires: libxml2-devel > 2.0.0
+BuildRequires: openssl-devel >= 0.9.7d
+Requires:      libxml2 > 2.0.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-
 %description
-Libraries for Direct Connect client.
+DirectConnect support library for dcgui-qt.
 
-%description -l pl
-Biblioteki dla klienta Direct Connecta.
+%description -l pl.UTF-8
+Biblioteka obsługująca DirectConnect dla dcgui-qt.
 
 %package devel
-Summary:       Developement files for dclib
-Summary(pl):   Pliki nag³ówkowe dla dclib
-Group:         X11/Development/Libraries
-Requires:      %{name} = %{version}%{_beta}
-Provides:      %{name}-devel = %{version}%{_beta}
+Summary:       Header files for dclib
+Summary(pl.UTF-8):     Pliki nagłówkowe dla dclib
+Group:         Development/Libraries
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      bzip2-devel
+Requires:      libstdc++-devel
+Requires:      libxml2-devel > 2.0.0
+Requires:      openssl-devel
 
 %description devel
-The header files are only needed for development of programs using the
-dclib.
+Header files for dclib.
 
-%description devel -l pl
-Pliki nag³ówkowe potrzebne tylko przy rozwijaniu programów z u¿yciem
-dclib.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla dclib.
 
 %package static
-Summary:       Static libraries dclib
-Summary(pl):   Statyczne biblioteki dclib
-Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}%{_beta}
-Provides:      %{name}-static = %{version}%{_beta}
+Summary:       Static dclib library
+Summary(pl.UTF-8):     Statyczna biblioteka dclib
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 
 %description static
-Static dclib libraries.
+Static dclib library.
 
-%description static -l pl
-Statyczne biblioteki dclib.
+%description static -l pl.UTF-8
+Statyczna biblioteka dclib.
 
 %prep
-%setup -q -n %{name}-%{version}%{_beta}
-%patch0 -p1
+%setup -q
+%{?with_lying:%patch0 -p1}
 
 %build
-cp -f /usr/share/automake/config.* .
 %configure
-
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
-
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.so.*.*
+%doc AUTHORS README
+%attr(755,root,root) %{_libdir}/libdc.so.*.*
+%{_datadir}/dclib
 
 %files devel
 %defattr(644,root,root,755)
-%doc README NEWS TODO AUTHORS
-%{_libdir}/*.la
 %attr(755,root,root) %{_libdir}/*.so
-%attr(755,root,root) %{_includedir}/%{name}/*.h
+%{_libdir}/*.la
+%{_includedir}/dclib
+%{_pkgconfigdir}/*.pc
 
 %files static
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.a
+%{_libdir}/*.a
This page took 0.084251 seconds and 4 git commands to generate.