fixing spec file
authorcoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Thu, 6 Dec 2007 14:24:09 +0000 (14:24 +0000)
committercoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Thu, 6 Dec 2007 14:24:09 +0000 (14:24 +0000)
git-svn-id: http://svn.opensuse.org/svn/yast/trunk/qt4@42763 e0cc52ee-31ee-0310-8b87-e83c4596d67c

yast2-qt4.spec.in

index 32bb825..fcfd001 100644 (file)
@@ -2,7 +2,7 @@
 
 
 @HEADER@
-BuildRequires: dbus-1-devel boost-devel libzypp-devel curl-devel docbook-xsl-stylesheets doxygen libdrm-devel libjpeg-devel libxcrypt-devel libxslt perl-XML-Writer libqt4-devel rpm-devel sgml-skel update-desktop-files yast2-devtools yast2-core-devel hal-devel
+BuildRequires: dbus-1-devel boost-devel libzypp-devel curl-devel docbook-xsl-stylesheets doxygen libdrm-devel libjpeg-devel libxcrypt-devel libxslt perl-XML-Writer libqt4-devel rpm-devel sgml-skel update-desktop-files yast2-devtools hal-devel
 
 Summary:       -
 BuildRequires:  yast2-core-devel >= 2.16.11
@@ -25,7 +25,7 @@ Obsoletes:    y2qt
 %build
 mkdir build
 cd build
-cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
       -DLIB=%{_lib} \
       -DCMAKE_C_FLAGS="%{optflags}" \
       -DCMAKE_CXX_FLAGS="%{optflags}" \
@@ -51,15 +51,10 @@ rm -rf "$RPM_BUILD_ROOT"
 
 %files
 %defattr (-, root, root)
-@YAST_PLUGIN_DIR@/libpy2qt4.so.*
-@YAST_PLUGIN_DIR@/libpy2qt4.so
-@YAST_PLUGIN_DIR@/libpy2qt4_pkg.so.*
-@YAST_PLUGIN_DIR@/libpy2qt4_pkg.so
-@YAST_IMAGE_DIR@
-%dir %{_xorg7fonts}/uni
-%verify(not md5 size mtime) %{_xorg7fonts}/uni/fonts.dir
-%{_xorg7fonts}/uni/newunifont.pcf.gz
-%{_xorg7fonts}/uni/unifont.pcf.gz
-%dir @YAST_DATA_DIR@
-@YAST_DATA_DIR@/lang_fonts
-%doc %{prefix}/share/doc/packages/%{name}
+%_prefix/lib/YaST2/plugin/libpy2qt4.so.*
+%_prefix/lib/YaST2/plugin/libpy2qt4.so
+%_prefix/lib/YaST2/plugin/libpy2qt4_pkg.so.*
+%_prefix/lib/YaST2/plugin/libpy2qt4_pkg.so
+%_prefix/share/YaST2/theme
+
+%changelog