File project.diff of Package mando

--- mando.spec.orig
+++ mando.spec
@@ -1,47 +1,41 @@
 #
 # spec file for package mando (Version 1.6.0)
 #
-# Copyright (c) 2007 SuSE Linux AG, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# Copyright (c) 2009 Buschmann <buschmann23@opensuse.org>
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
-# Please submit bug fixes or comments via http://www.suse.de/feedback/
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 # norootforbuild
 
-%define _prefix	/usr
-%define rversion 1.6
-%define rrelease 3.1
-%define releasesuffix suse%(echo "%{suse_version}" | %__sed -e 's/.$//')DSB
 
-Name:		mando
-Version:	1.6.0
-Release:	%{rrelease}%{releasesuffix}
-%if %suse_version < 1020
-Distribution:	SUSE Linux %(echo "%{suse_version}" | %__sed -e 's/.$//' -e ':a;s/\(.$\)/\.\1/g')
-%else
-Distribution:	openSUSE %(echo "%{suse_version}" | %__sed -e 's/.$//' -e ':a;s/\(.$\)/\.\1/g')
-%endif
-Summary:	Interactive Camera-Projector System
-Source:		%{name}-%{rversion}.tar.bz2
-Source1:	%{name}.desktop
-URL:		http://vision.eng.shu.ac.uk/mediawiki/index.php/Interactive_Camera-Projector_System
-Packager:	Donnie S Bhayangkara - http://donnie.110mb.com
-Group:		Productivity/Office/Other
-License:	GPL v3 or Later
-BuildRoot:	%{_tmppath}/build-%{name}-%{version}
-BuildRequires:	autoconf automake libtool libxslt
-BuildRequires: 	lapack blas Mesa-devel libqt4-devel
-BuildRequires: 	libstdc++-devel f2c boost-devel freeglut-devel
-BuildRequires:	fftw3-devel update-desktop-files libdc1394-devel
-%if %suse_version <= 1030
-BuildRequires:	libgfortran42 gcc42-fortran gcc42 gcc42-c++ gcc-fortran libdc1394_control12-devel
-%else
-BuildRequires:	libgfortran43 gcc43-fortran gcc43 gcc43-c++ gcc-fortran libdc1394_control12-devel
-%endif
-Requires: 	lapack blas boost freeglut fftw3
-Requires:	libqt4 libqt4-x11 libdc1394
+Name:           mando
+BuildRequires:  autoconf automake libtool libxslt
+BuildRequires:  Mesa-devel blas lapack libqt4-devel
+BuildRequires:  boost-devel f2c freeglut-devel libstdc++-devel
+BuildRequires:  fftw3-devel libdc1394-devel update-desktop-files
+BuildRequires:  gcc gcc-c++ gcc-fortran libdc1394_control12-devel
+Version:        1.6.0
+Release:        1
+%define rversion 1.6
+Summary:        Interactive Camera-Projector System
+Source:         %{name}-%{rversion}.tar.bz2
+Source1:        %{name}.desktop
+Url:            http://vision.eng.shu.ac.uk/mediawiki/index.php/Interactive_Camera-Projector_System
+#Packager:	Donnie S Bhayangkara - http://donnie.110mb.com
+Group:          System/X11/Utilities
+License:        GPLv3 or Later
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 A software for camera-projector interaction.
@@ -58,40 +52,41 @@ Authors:
 	Jan Wedekind <jan@wedesoft.de>
 
 %if !0%{?opensuse_bs}
-%debug_package
 %endif
+
 %prep
 %setup -q -n "%{name}-%{rversion}"
 %{?suse_update_config:%{suse_update_config -f}}
 
 %build
-
 %configure
-
 %__make %{?jobs:-j%{jobs}}
 
 %install
 %makeinstall
-
 %__install -D -m 0644 "%{_builddir}/%{name}-%{rversion}/mandologo.png" "%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png"
 %__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
-
 %suse_update_desktop_file -G "Interactive Camera-Projector System" -r "%{name}" Qt Utility Accessibility
 
-find %{buildroot} -type f -o -type l | sed "s|^%{buildroot}||" >master.list
-
-%if %suse_version < 930
-%__strip "%{buildroot}%{_bindir}"/*
-%endif
-
 %clean
 %__rm -rf "%{buildroot}"
 
-%files -f master.list
+%files
 %defattr(-,root,root)
 %doc ChangeLog COPYING
+%_bindir/%name
+%_datadir/icons/hicolor
+%_datadir/applications/%name.desktop
+# Local Variables:
+# mode: rpm-spec
+# tab-width: 3
+# End:
 
 %changelog
+* Thu Mar 05 2009 Buschmann <buschmann23@opensuse.org> 1.6.0
+- fixing file list, directories not owned by package
+- changing rpm group
+- changing BuildRequires to common and not versioned packages
 * Thu Feb 7 2008 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 1.6.0
 - new upstream release
 * Thu Feb 7 2008 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 1.5.0
@@ -114,7 +109,3 @@ find %{buildroot} -type f -o -type l | s
 * Sat Feb 3 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 1.0
 - initial release
 
-# Local Variables:
-# mode: rpm-spec
-# tab-width: 3
-# End:
openSUSE Build Service is sponsored by