Changeset 1089 in ProjectBuilder for devel/pb/bin/pb
- Timestamp:
- Sep 5, 2010, 10:45:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r1087 r1089 1348 1348 EOF 1349 1349 } 1350 if ($dfam eq "novell") { 1351 # Add ymp scripts for one-click install on SuSE 1352 print PBS << "EOF"; 1353 # Prepare a script to ease SuSE one-click install 1354 cat > $ENV{'PBPROJ'}.ymp << EOT 1355 <metapackage xmlns:os="http://opensuse.org/Standards/One_Click_Install" xmlns="http://opensuse.org/Standards/One_Click_Install"> 1356 <group><!-- The group of software, typically one for project-builder.org --> 1357 <name>$ENV{'PBPROJ'} Bundle</name> <!-- Name of the software group --> 1358 <summary>Software bundle for the $ENV{'PBPROJ'} project</summary> <!--This message is shown to the user and should describe the whole bundle --> 1359 <description>This is the summary of the MeinPaket Package 1360 1361 I have made it unnecessarily long. 1362 1363 BlahBlah Blah 1364 1365 --ChangeLog -- 1366 1367 Somechanges here. 1368 </description><!--This is also shown to the user --> 1369 <remainSubscribed>false</remainSubscribed> <!-- Don't know what it mean --> 1370 <repositories><!-- List of needed repositories --> 1371 <repository> 1372 <name>$ENV{'PBPROJ'} Repository</name> <!-- Name of the repository --> 1373 <summary>This repository contains the $ENV{'PBPROJ'} project packages.</summary> <!-- Summary of the repository --> 1374 <description>This repository contains the $ENV{'PBPROJ'} project packages.</description><!-- This description is shown to the user --> 1375 <url>$pbrepo->{$ENV{'PBPROJ'}}/$repodir</url><!--URL of repository, which is added --> 1376 </repository> 1377 </repositories> 1378 <software><!-- A List of packages, which should be added through the one-click-installation --> 1379 EOT 1380 for p in $basesrc; do 1381 sum=`rpm -q --qf '%{SUMMARY}' \$p` 1382 desc=`rpm -q --qf '%{description}' \$p` 1383 cat >> $ENV{'PBPROJ'}.ymp << EOT 1384 <item> 1385 <name>\$p</name><!-- Name of the package, is shown to the user and used to identify the package at the repository --> 1386 <summary>\$sum</summary> <!-- Summary of the package --> 1387 <description>\$desc</description> <!-- Description, is shown to the user --> 1388 </item> 1389 EOT 1390 done 1391 cat >> $ENV{'PBPROJ'}.ymp << EOT 1392 </software> 1393 </group> 1394 </metapackage> 1395 EOT 1396 chmod 644 $ENV{'PBPROJ'}.ymp 1397 EOF 1398 } 1350 1399 } elsif ($dtype eq "deb") { 1351 1400 # Also make a pbscript to generate apt bases
Note:
See TracChangeset
for help on using the changeset viewer.