]> git.pld-linux.org Git - packages/dclib.git/blobdiff - dclib.spec
- massive attack: no need for 755 for *.la
[packages/dclib.git] / dclib.spec
index 145e74d2687e4c90fb47c549ffcbb581a5d1c28b..9a30639ee30f7ab979a4f56571fac1acc8ea7376 100644 (file)
@@ -1,19 +1,23 @@
-%define                _beta           beta9
+%define                _beta           beta1
 %define                _release        1
 
 Summary:       dclib - libraries for Direct Connect client.
 Summary(pl):   dclib - biblioteki dla klienta Direct Connecta.
 Name:          dclib
-Version:       0.1
+Version:       0.2
 Release:       %{_beta}.%{_release}
 License:       GPL v2
 Group:         X11/Libraries
-Source0:       http://dc.ketelhot.de/files/dcgui/unstable/source/%{name}-%{version}%{_beta}.tar.bz2
+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: qt-devel
+BuildRequires: libxml2-devel > 2.0.0
+BuildRequires: bzip2-devel
+BuildRequires: qt-devel >= 3.0.5
+Provides:      %{name} = %{version}%{_beta}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
@@ -28,7 +32,8 @@ Biblioteki dla klienta Direct Connecta.
 Summary:       Developement files for dclib
 Summary(pl):   Pliki nag³ówkowe dla dclib
 Group:         X11/Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}%{_beta}
+Provides:      %{name}-devel = %{version}%{_beta}
 
 %description devel
 The header files are only needed for development of programs using the
@@ -42,7 +47,8 @@ dclib.
 Summary:       Static libraries dclib
 Summary(pl):   Statyczne biblioteki dclib
 Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}%{_beta}
+Provides:      %{name}-static = %{version}%{_beta}
 
 %description static
 Static dclib libraries.
@@ -52,10 +58,9 @@ Statyczne biblioteki dclib.
 
 %prep
 %setup -q -n %{name}-%{version}%{_beta}
+%patch0 -p1
 
 %build
-aclocal
-%{__autoconf}
 cp -f /usr/share/automake/config.* .
 %configure
 
@@ -66,8 +71,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} DESTDIR=$RPM_BUILD_ROOT install
 
-gzip -9nf README NEWS TODO AUTHORS
-
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
@@ -80,8 +83,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc *.gz
-%attr(755,root,root) %{_libdir}/*.la
+%doc README NEWS TODO AUTHORS
+%{_libdir}/*.la
 %attr(755,root,root) %{_libdir}/*.so
 %attr(755,root,root) %{_includedir}/%{name}/*.h
 
This page took 0.340903 seconds and 4 git commands to generate.