Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
yast2-slide-show
yast2-slide-show.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yast2-slide-show.spec of Package yast2-slide-show
# # spec file for package yast2-slide-show # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 Name: yast2-slide-show Version: 2.19.2 Release: 4.<RELEASE4> BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-slide-show-2.19.2.tar.bz2 Prefix: /usr # xml2po uses temporary files that do not like being called twice %define jobs 1 Group: Metapackages License: GPLv2+ BuildRequires: docbook_4 gnome-doc-utils pkgconfig sgml-skel yast2-devtools %if 0%{?suse_version} > 1120 # was in gnome-doc-utils before BuildRequires: xml2po %endif BuildArch: noarch Summary: YaST2 - Slide Show Source10: slideshow-po.tar.gz Source12: slideshow-sled-po.tar.gz %description The slide show displayed during package installation with YaST2. %package SuSELinux License: GPLv2+ Summary: YaST2 - Slide Show (openSUSE) Group: Metapackages %description SuSELinux The slide show displayed during package installation with YaST2. %package SLES License: GPLv2+ Summary: YaST2 - Slide Show (SUSE Linux Enterprise Server) Group: Metapackages %description SLES The slide show displayed during package installation with YaST2. %package SLED License: GPLv2+ Summary: YaST2 - Slide Show (SUSE Linux Enterprise Desktop) Group: Metapackages %description SLED The slide show displayed during package installation with YaST2. %prep %setup -n yast2-slide-show-2.19.2 pushd SuSELinux tar xf %{S:10} langs=$(tar tf %{S:10}|sed 's=.*po/==;s=\.po$==;/^$/d'|sort -u|fmt -w1000) for f in Makefile.{am,in}; do sed -i "s|^langs *=.*$|langs = en $langs|" $f done popd pushd SLED tar xf %{S:12} langs=$(tar tf %{S:12}|sed 's=.*po/==;s=\.po$==;/^$/d'|sort -u|fmt -w1000) for f in Makefile.{am,in}; do sed -i "s|^langs *=.*$|langs = en $langs|" $f done popd %build %{prefix}/bin/y2tool y2autoconf %{prefix}/bin/y2tool y2automake autoreconf --force --install export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" %{?suse_update_config:%{suse_update_config -f}} ./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} # V=1: verbose build in case we used AM_SILENT_RULES(yes) # so that RPM_OPT_FLAGS check works make %{?jobs:-j%jobs} V=1 ./tools/check_utf-8 # on OS use the openSUSE logo everywhere; see # 216562 %if %suse_version >= 1020 for f in SuSELinux/txt/*/01*.rtf; do sed -i 's/01_welcome.png/02_opensuse.png/' $f done %endif %install make install DESTDIR="$RPM_BUILD_ROOT" [ -e "%{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT" for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do d=${f##*/} %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop} done # Get rid of README files etc. auto-created by yast2-devtools # (but useless for this special package) /bin/rm -rf ${RPM_BUILD_ROOT}/usr/share/doc/packages/yast2-slide-show # Get rid of test environment during autobuild /bin/rm -rf ${RPM_BUILD_ROOT}/usr/share/YaST2/clients/slide-show.ycp /bin/rm -rf ${RPM_BUILD_ROOT}/usr/share/YaST2/modules/SlideTester.ycp %clean rm -rf "$RPM_BUILD_ROOT" %files SuSELinux %defattr(-,root,root) %dir /SuSE %dir /SuSE/SuSE %dir /SuSE/SuSE/CD1 %dir /SuSE/SuSE/CD1/suse %dir /SuSE/SuSE/CD1/suse/setup %dir /SuSE/SuSE/CD1/suse/setup/slide /SuSE/SuSE/CD1/suse/setup/slide/* %files SLES %defattr(-,root,root) %dir /SuSE %dir /SuSE/SuSE-SLES %dir /SuSE/SuSE-SLES/CD1 %dir /SuSE/SuSE-SLES/CD1/suse %dir /SuSE/SuSE-SLES/CD1/suse/setup %dir /SuSE/SuSE-SLES/CD1/suse/setup/slide /SuSE/SuSE-SLES/CD1/suse/setup/slide/* %files SLED %defattr(-,root,root) %dir /SuSE %dir /SuSE/SuSE-SLED %dir /SuSE/SuSE-SLED/CD1 %dir /SuSE/SuSE-SLED/CD1/suse %dir /SuSE/SuSE-SLED/CD1/suse/setup %dir /SuSE/SuSE-SLED/CD1/suse/setup/slide /SuSE/SuSE-SLED/CD1/suse/setup/slide/* %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