The Following User Says Thank You to Schturman For This Useful Post: | ||
|
2014-04-24
, 10:18
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#22
|
Name: sailfishquickim Version: 0.1 Release: 1 Summary: Traditional Chinese input Group: System/Tools Vendor: Arthur Artoria Distribution: SailfisfOS Packager: Arthur Artoria <arthurartoria@gmail.com> URL: www.mysite.com License: GPL %description Chinese Traditional Quick Input Method For Sailfish. %files %defattr(-,nemo,nemo,-) /home/nemo/.local/share/maliit-server/QML/OfflineStorage/Databases/* %defattr(644,root,root,-) /usr/share/maliit/plugins/com/jolla/layouts/* %post if [ $1 = 1 ]; then #Do stuff specific for first install echo "It's first time install" killall maliit-server killall jolla-messages killall jolla-email killall jolla-notes killall jolla-clock else if [ $1 = 2 ]; then #Do stuff specific to upgrades killall maliit-server fi fi %postun if [ $1 = 0 ]; then #Do stuff specific to uninstalls rm -rf /usr/share/maliit/plugins/com/jolla/layouts/quickZH killall maliit-server else if [ $1 = 1 ]; then #Do stuff specific to upgrades echo "It's just upgrade" fi fi %changelog * Wed Jan 25 2014 Builder <builder@...> 0.1 - First build.
The Following User Says Thank You to Schturman For This Useful Post: | ||
|
2014-05-05
, 17:00
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#23
|
mkdir -p /root/rpmbuild/{BUILD,BUILDROOT,RPMS/armv7hl,SPECS}
/bin/cp -rf /root/rpmbuild/BUILD/sailfishquickim-0.3-1.arm /root/rpmbuild/BUILDROOT cd /root/rpmbuild rpmbuild -bb SPECS/sailfishquickim.spec
/bin/cp -f /root/rpmbuild/RPMS/armv7hl/sailfishquickim-0.3-1.armv7hl.rpm /home/nemo/Downloads
pkcon install-local -y /home/nemo/Downloads/sailfishquickim-0.3-1.armv7hl.rpm
pkcon remove sailfishquickim
Name: sailfishquickim Version: 0.3 Release: 1
Name: sailfishquickim Version: 0.4 Release: 1
Name: sailfishquickim Version: 0.3 Release: 2
The Following 5 Users Say Thank You to Schturman For This Useful Post: | ||
|
2014-10-29
, 19:53
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#24
|
rpmbuild -bb SPECS/myfirstpackage.spec
[nemo@Jolla rpmbuild]$ rpmbuild -bb SPECS/myfirstpackage.spec Processing files: myfirstpackage-0.1-1.armv7hl error: File must begin with "/"
The Following User Says Thank You to Markkyboy For This Useful Post: | ||
|
2014-10-29
, 20:03
|
Posts: 1,293 |
Thanked: 4,319 times |
Joined on Oct 2014
|
#25
|
Hi Schturman,
wonder if you can help, after entering the lineI get the following output;Code:rpmbuild -bb SPECS/myfirstpackage.spec
How do I proceed please?Code:[nemo@Jolla rpmbuild]$ rpmbuild -bb SPECS/myfirstpackage.spec Processing files: myfirstpackage-0.1-1.armv7hl error: File must begin with "/"
Regards,
|
2014-10-29
, 20:30
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#26
|
RPM build errors: Installed (but unpackaged) file(s) found: /usr/share/ambience/myfirstpackage/images/myfirstpackage.jpg /usr/share/ambience/myfirstpackage/myfirstpackage.ambience /usr/share/ambience/myfirstpackage/sounds.index /usr/share/ambience/myfirstpackage/sounds/myfirstpackage_Calendar.mp3 /usr/share/ambience/myfirstpackage/sounds/myfirstpackage_Clock.mp3 /usr/share/ambience/myfirstpackage/sounds/myfirstpackage_Email.mp3 /usr/share/ambience/myfirstpackage/sounds/myfirstpackage_IM.mp3 /usr/share/ambience/myfirstpackage/sounds/myfirstpackage_Ringtone.mp3 /usr/share/ambience/myfirstpackage/sounds/myfirstpackage_SMS.mp3
The Following User Says Thank You to Markkyboy For This Useful Post: | ||
|
2014-10-29
, 21:05
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#27
|
|
2014-10-29
, 21:31
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#28
|
[root@Jolla rpmbuild]# rpmbuild -bb SPECS/myfirstpackage.spec Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/myfirstpackage-0.1-1.arm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.C5rTfh + umask 022 + cd /root/rpmbuild/BUILD + /bin/rm -rf /root/rpmbuild/BUILDROOT/myfirstpackage-0.1-1.arm + exit 0 [root@Jolla rpmbuild]#
The Following User Says Thank You to Markkyboy For This Useful Post: | ||
|
2014-10-29
, 21:42
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#29
|
|
2014-10-29
, 22:04
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#30
|
It's good output! You will find created rpm file in: /root/rpmbuild/RPMS/armv7hl
just copy it to you Downloads folder...
The Following User Says Thank You to Markkyboy For This Useful Post: | ||
Tags |
jolla phone, on device |
|
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.