Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for images:local
home:gekker
moblin-release
moblin-release.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File moblin-release.spec of Package moblin-release
# # spec file for package moblin-release (Version 11) # # Copyright (c) 2009 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/ # Name: moblin-release %define product suse-moblin %define flavor DVD %define real_version 2 %define ncc_target sle-11 %define betaversion %(echo " RC 2") License: YaST License Group: System/Fhs Summary: SUSE edition of Moblin version 2 Release Files Version: 2 Release: 1 Source1: moblin-release-rpmlintrc Provides: distribution-release Provides: %{name}-%{version} Provides: product() Provides: product(%{product}) = %{version}-0 # take care of old names Provides: aaa_version Obsoletes: aaa_version AutoReqProv: on BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 %description SUSE edition of Moblin version 2 release files. Authors: -------- mc@suse.de %prep %build %install mkdir -p $RPM_BUILD_ROOT/etc echo -e "\nWelcome to SUSE edition of Moblin %{version}%{betaversion} (%{_target_cpu}) - Kernel \\\r (\\\l).\n\n" > $RPM_BUILD_ROOT/etc/issue echo -e "Welcome to SUSE edition of Moblin %{version}%{betaversion} (%{_target_cpu}) - Kernel %%r (%%t)." > $RPM_BUILD_ROOT/etc/issue.net echo "SUSE edition of Moblin %{version} (%{_target_cpu})" > $RPM_BUILD_ROOT/etc/SuSE-release echo VERSION = %{version} >> $RPM_BUILD_ROOT/etc/SuSE-release echo PATCHLEVEL = 0 >> $RPM_BUILD_ROOT/etc/SuSE-release touch $RPM_BUILD_ROOT/etc/motd ln -s SuSE-release $RPM_BUILD_ROOT/etc/novell-release # # Create products file # mkdir -p $RPM_BUILD_ROOT/etc/products.d for flavor in DVD; do cat >$RPM_BUILD_ROOT/etc/products.d/MOBLIN.prod << EOF <?xml version="1.0" encoding="UTF-8"?> <product schemeversion="0"> <vendor>Novell</vendor> <name>%{product}</name> <version>%{real_version}</version> <release>0</release> <arch>%{_target_cpu}</arch> <productline>suse-moblin</productline> <updaterepokey>A43242FFF</updaterepokey> <summary>SUSE edition of Moblin</summary> <description>The SUSE edition of Moblin provides a software environment suitable to run on Netbooks and is optimized for IntelĀ® AtomTM processor-based devices.</description> <urls> <url name="releasenotes">http://www.novell.com/linux/releasenotes/%{_target_cpu}/SUSE-MOBLIN/11/release-notes-moblin.rpm</url> </urls> <register> <target>%{ncc_target}-%{_target_cpu}</target> <flavor>$flavor</flavor> <repositories> <repository path="obs://build.suse.de/SUSE:SLE-11:Moblin:2.0/standard" /> <repository path="obs://build.suse.de/SUSE:SLE-11:Moblin:2.0/Update/standard" /> </repositories> </register> <buildconfig> <!-- This section is needed to generate the installation media --> <producttheme>MOBLIN</producttheme> <allowresolving>false</allowresolving> </buildconfig> <installconfig> <defaultlang>en_US</defaultlang> <datadir>suse</datadir> <descrdir>suse/setup/descr</descrdir> <references name="%{name}" version="%{version}"/> <distribution>suse-moblin</distribution> </installconfig> <runtimeconfig> <!-- All Flags needed in the running system --> </runtimeconfig> </product> EOF done %files %defattr(644,root,root,755) /etc/SuSE-release %dir /etc/products.d /etc/products.d/MOBLIN.prod /etc/novell-release %config(noreplace) /etc/motd %config(noreplace) /etc/issue %config(noreplace) /etc/issue.net %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