Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
kdebindings3
kdebindings3.spec.in
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdebindings3.spec.in of Package kdebindings3
# # spec file for package kdebindings3.spec.in (Version 3.5.8) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: @NAME@ %define is_base 0 %define is_java 0 %define is_js 0 BuildRequires: @NFB@ kdemultimedia3-devel kdepim3 %if %suse_version > 1020 BuildRequires: unzip %endif License: LGPL Group: System/GUI/KDE Summary: Bindings for Qt and KDE Libraries Version: 3.5.10 Release: 1 Requires: kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3`) Url: http://www.kde.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: kdebindings-%{version}.tar.bz2 Patch0: 3_5_BRANCH.diff Patch2: perl.diff Patch4: fix-return-value-kjsembed.diff #Patch5: FIXME.diff Patch6: 64bit.diff Patch7: split-files.diff Patch8: kdebindings3-java.diff Patch9: kdebindings-3.5.1_ruby_non_site_dir.patch Patch10: admin-no-hpi.diff Patch11: ruby-constness.diff %description base %if %{is_base} %package perl # usesubdirs smoke Summary: perl Group: Development/Libraries/Perl %description perl %package ruby Summary: ruby Group: Development/Languages/Ruby %description ruby ruby %endif %if %{is_js} %package devel Summary: devel package Group: Development/Languages/Other Requires: %name = %version Requires: kdelibs3-devel %description devel devel package %endif %prep %setup -q -n kdebindings-%{version} %patch0 %patch2 %patch4 #%patch5 #%patch6 %patch7 %patch8 %patch9 %patch11 # eventually we have a patch in kdelibs adding that if test -f /opt/kde3/include/kscrollview.h; then echo "kscrollview.h" >> smoke/kde/kde_header_list fi rm -rf qtobjc kdeobjc %if %{is_js} : %else rm -rf kjsembed %endif %if %{is_base} : %else rm -rf smoke dcopperl %endif rm -rf dcoppython . /etc/opt/kde3/common_options update_admin --no-unsermake %patch10 make -f admin/Makefile.common cvs %build . /etc/opt/kde3/common_options %if %{is_java} export PATH=/usr/lib/java/bin:$PATH %endif configopts= %if %{is_java} configopts="--with-java-dir=/usr/lib/java/" %endif %if %{is_base} configopts="--disable-final" %endif ./configure \ $configkde $configopts %if %{is_base} make %else make %{?jobs:-j %jobs} %endif %install . /etc/opt/kde3/common_options make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET %if %{is_base} %perl_process_packlist %endif %if %{is_js} %suse_update_desktop_file -u kjscmd Development %suse_update_desktop_file -u embedjs Development %endif %clean rm -rf ${RPM_BUILD_ROOT} %post %run_ldconfig %postun %run_ldconfig %if %{is_base} %files %defattr(-,root,root) %doc COPYING README AUTHORS COPYING.LIB ChangeLog NEWS /opt/kde3/include/smoke.h /opt/kde3/%_lib/libsmoke* %files perl %defattr(-,root,root) %dir /usr/lib/perl5/vendor_perl/*/*/DCOP %dir /usr/lib/perl5/vendor_perl/*/*/auto/DCOP %{perl_vendorarch}/DCOP.pm %{perl_vendorarch}/DCOP/Object.pm %{perl_vendorarch}/auto/DCOP/.packlist %{perl_vendorarch}/auto/DCOP/DCOP.bs %{perl_vendorarch}/auto/DCOP/DCOP.so /var/adm/perl-modules/kdebindings3 %{_mandir}/man3/DCOP.3pm.gz %files ruby %defattr(-,root,root) /opt/kde3/bin/krubyinit /opt/kde3/bin/qtrubyinit /opt/kde3/bin/rbqtapi /opt/kde3/bin/rbqtsh /opt/kde3/bin/rbkdeapi /opt/kde3/bin/rbkdesh /opt/kde3/bin/rbuic /opt/kde3/bin/rbkconfig_compiler /usr/%_lib/ruby/* %endif %if %{is_java} %files %defattr(-,root,root) /opt/kde3/bin/koala /opt/kde3/bin/javalib /opt/kde3/%_lib/java /opt/kde3/%_lib/libqtjava* /opt/kde3/%_lib/libkdejava.* %doc /opt/kde3/share/doc/HTML/en/javalib %endif %if %{is_js} %files %defattr(-,root,root) %dir /opt/kde3/share/icons/hicolor/16x16 %dir /opt/kde3/share/icons/hicolor/16x16/apps %dir /opt/kde3/share/icons/hicolor/32x32 %dir /opt/kde3/share/icons/hicolor/32x32/apps /opt/kde3/bin/kjscmd /opt/kde3/bin/embedjs /opt/kde3/bin/jsaccess /opt/kde3/%_lib/kde3/libqprocessplugin.* /opt/kde3/%_lib/kde3/libfileitemplugin.* /opt/kde3/%_lib/kde3/libjavascript.* /opt/kde3/share/apps/kjsembed /opt/kde3/share/appl*/*/embedjs.desktop /opt/kde3/share/services/qprocess_plugin.desktop %_mandir/man1/kjscmd.1.gz /opt/kde3/%_lib/kde3/libjsconsoleplugin.* /opt/kde3/share/applications/kde/kjscmd.desktop /opt/kde3/share/apps/kate /opt/kde3/%_lib/kde3/libcustomobjectplugin.* /opt/kde3/%_lib/kde3/libcustomqobjectplugin.* /opt/kde3/share/services/customobject_plugin.desktop /opt/kde3/share/services/customqobject_plugin.desktop /opt/kde3/share/services/imagefx_plugin.desktop /opt/kde3/share/servicetypes/binding_type.desktop /opt/kde3/%_lib/libkjsembed.so.* /opt/kde3/%_lib/kde3/libimagefxplugin.* /opt/kde3/share/apps/embedjs /opt/kde3/share/icons/*/*/*/embedjs.* /opt/kde3/share/services/javascript.desktop /opt/kde3/share/services/kfileitem_plugin.desktop %files devel %defattr(-,root,root) /opt/kde3/include/kjsembed /opt/kde3/%_lib/libkjsembed.so /opt/kde3/%_lib/libkjsembed.la %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor