--- libdockapp.spec.orig 2006-10-02 17:00:08 +0700 +++ libdockapp.spec.orig 2006-10-02 17:58:50 +0700 @@ -3,7 +3,7 @@ Name: libdockapp Version: 0.6.1 -Release: alt1 +Release: alt1.1 Summary: DockApp Making Standard Library Group: System/Libraries @@ -11,11 +11,9 @@ Url: http://solfertje.student.utwente.nl/~dalroi/libdockapp/ Source: %url/files/%name-%version.tar.bz2 -#Patch: %name-0.5.0-alt-DAInitialize.patch -#Patch1: %name-0.5.0-alt-xpm-file.patch +Patch: %name-0.6.1-alt-warnings-fix.patch -# Automatically added by buildreq on Thu Apr 07 2005 -BuildRequires: xorg-x11-devel +BuildRequires: libXt-devel libXext-devel libXpm-devel %description This is a simple (trivial) library for writing Window Maker dock @@ -29,8 +27,7 @@ Summary: DockApp Making Standard Library Group: Development/C Requires: %name = %version-%release -# FIXME: we NEED xpm library -Requires: xorg-x11-devel +Requires: libXpm-devel %description devel This is a simple (trivial) library for writing Window Maker dock @@ -42,24 +39,22 @@ This package contains header files needed for development. -%prep +%prep %setup -q -n dockapp-%version -#patch -p1 -#patch1 -p1 -find . -type d -name CVS -print0 | xargs -r0 %__rm -rf -- +patch -p1 <%PATCH0 %build %configure \ --disable-static \ --without-font \ --without-examples -%make_build COND_FONT= +%make_build CFLAGS="%optflags -Werror" COND_FONT= %install %makeinstall COND_FONT= %files -%doc AUTHORS ChangeLog COPYING INSTALL NEWS README +%doc AUTHORS BUGS ChangeLog COPYING NEWS README %_libdir/lib*.so.* %files devel @@ -68,6 +63,16 @@ %_includedir/*.h %changelog +* Mon Oct 02 2006 Slava Semushin 0.6.1-alt1.1 +- NMU +- Reduce redundant Requires (#9922) +- Updated BuildRequires +- Fixed all warnings from compiler +- Using -Werror flag for compiler by default +- Removed file INSTALL from package +- Packing file BUGS +- Cleanup spec + * Wed Aug 03 2005 Sir Raorn 0.6.1-alt1 - [0.6.1] @@ -100,9 +105,3 @@ * Tue Feb 13 2001 Alexey Voinov - initial release - - - - - -