[[RPM]] Based : Mandriva Mdk RH SuSe ==== TODO ==== * http://www.mail-archive.com/meego-packaging@meego.com/msg00418.html error: Package already exists: %package debuginfo SpeC : * http://www.rpm.org/max-rpm/s1-rpm-inside-macros.html#S2-RPM-INSIDE-SETUP-MACRO * http://fedoraproject.org/wiki/How_to_create_an_RPM_package ===== CROSS DISTRO ===== * http://serverfault.com/questions/41925/translating-rpm-commands-to-dpkg * http://wiki.meego.com/Debian_users_translation_guide * http://lilypond.org/blog/janneke/openSUSE-HOWTO * http://wiki.polyformal.de/en/linux/rosetta_stone# EquiV RosettA StonE AlT CrosS rpm -ql packagename # dpkg -L rpm -qlp file.rpm apt-file search rpm -qf /usr/bin/free apt-cache show $package rpm -q --info $package apt-cache rdepends rpm -e apt-get install build-essential sudo yum groupinstall "Development Tools" apt-build # TODO ? DownLoad? apt-src zypper source-install http://lilypond.org/blog/jan/software/suse/zypper-build-dep rpmbuild -ba ~/rpmbuild/SPECS/*.spec SpeC : * http://unix.stackexchange.com/questions/123/how-do-i-emulate-the-replaces-function-of-a-debian-package-in-an-rpm ===== FEDORA ===== * http://pkgs.fedoraproject.org/cgit/gdm.git/tree/ * https://bugzilla.redhat.com/show_bug.cgi?id=922335 * http://koji.fedoraproject.org/koji/taskinfo?taskID=5195507 * Fedora-19-Nightly-x86_64-Live-desktop-20130526.18-1.iso yum --releasever=rawhide distro-sync * https://ldbox.org/howto/Fedora-ARM-on-Fedora-x86_64# * https://dmarlin.fedorapeople.org/fedora-arm/aarch64/README.Linaro-F24-remix-lxde# * https://hobo.house/2016/03/13/installing-fedora-linux-on-the-raspberry-pi-3/# * https://fedoraproject.org/wiki/Join_the_package_collection_maintainers ==== CentOs ==== * http://en.wikipedia.org/wiki/CentOS * http://www.centos.org/ * http://rpm.pbone.net/index.php3/stat/11/vendor/3337/com/CentOS.html * http://centos.arcticnetwork.ca/6.0/updates/SRPMS/ ==== SRPM ==== How to build src.rpm packages on debian ? * http://www.rpm.org/RPM-HOWTO/build.html * http://user.cs.tu-berlin.de/~ccorn/software/rpm/build-rpm.html * http://www.g-loaded.eu/2006/04/05/how-to-build-rpm-packages-on-fedora/ * http://www.howtoforge.com/building-rpm-packages-in-a-chroot-environment-using-mach SpeC : * http://en.opensuse.org/openSUSE:Packaging_guidelines#Debuginfo ==== alien ==== fakeroot alien --to-deb *.i386.rpm error: cannot open Packages index using db3 - No such file or directory (2) ... rpm --initdb * https://bugs.launchpad.net/ubuntu/+source/dvd-slideshow/+bug/32913 * http://lists.debian.org/debian-testing/2002/08/msg00032.html * http://www.debian.org/doc/FAQ/ch-compat.en.html#s-otherpackages dpkg-gencontrol: error: current host architecture 'i386' does not appear in package's architecture list ($TARGET_ARC) * http://forums.debian.net/viewtopic.php?p=125880#125880 * http://groups.google.com/group/linux.debian.devel/browse_thread/thread/2923ce20ac95e508/5be08f4c4d0984d6?lnk=st&q=%22current+host+architecture%22#5be08f4c4d0984d6 * http://wiki.debian.org/qemubuilder ==== MISC ==== root:~> zypper ref -r $reponame error: rpmdb: Thread/process 891/140483342870336 failed: Thread died in Berkeley DB library error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db4 - (-30974) error: cannot open Packages database in /var/lib/rpm Target initialization failed: Rpm Exception Failed to cache rpm database (1). Please see the above error message for a hint. # solution : rpm --rebuilddb ==== [[Mandrake]] ==== ftp://ftp.free.fr/mirrors/ftp.mandrake-linux.com/Mandrakelinux/official/10.0/iso/i586/ Linux [[Mandrake]] 9.2 http://www.urpmi.org/easyurpmi/index.php rpm2cpio ../*.rpm | cpio -id urpmi.addmedia main ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake/official/9.2/i586/Mandrake/RPMS with ../base/hdlist.cz urpmi.addmedia contrib ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake/official/9.2/contrib/i586 with ../../i586/Mandrake/base/hdlist2.cz urpmi.addmedia plf ftp://ftp.proxad.net/pub/Distributions_Linux/plf/mandrake/9.2 with hdlist.cz urpmi.addmedia --update updates ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake/official/updates/9.2/RPMS with ../base/hdlist.cz file:///etc/urpmi/urpmi.cfg Update : urpmi --auto --auto-select ==== alien : ooffice [[Publishing]] ==== ed2k://|file|OOo_2.0.0rc1_050923_LinuxIntel_install.tar.gz|106462692|598aa4a0f0f75a92090e0c0a9cd4b805| http://linuxfr.org/2005/09/01/19505.html [[Debian]] : http://people.debian.org/~rene/openoffice.org/ # [[ToDo]] [[Debian]] : Testing alien... find OOO680_m1_native_packed-5_en-US.8958/ -name "*.rpm" -exec fakeroot alien {} \; sudo apt-get remove \ openoffice.org \ openoffice.org-base \ openoffice.org-core01 \ openoffice.org-core02 \ openoffice.org-core03 \ openoffice.org-core04 \ openoffice.org-core05 \ openoffice.org-core06 \ openoffice.org-core07 \ openoffice.org-core08 \ openoffice.org-core09 \ openoffice.org-core10 \ openoffice.org-writer \ openoffice.org-javafilter \ openoffice.org-xsltfilter \ openoffice.org-debian-menus \ openoffice.org-spellcheck \ # remove on [[Debian]] sudo apt-get install \ openoffice.org-base=2.0.0-2 \ openoffice.org-core01=2.0.0-2 \ openoffice.org-core02=2.0.0-2 \ openoffice.org-core03=2.0.0-2 \ openoffice.org-core04=2.0.0-2 \ openoffice.org-core05=2.0.0-2 \ openoffice.org-core06=2.0.0-2 \ openoffice.org-core07=2.0.0-2 \ openoffice.org-core08=2.0.0-2 \ openoffice.org-core09=2.0.0-2 \ openoffice.org-core10=2.0.0-2 \ openoffice.org-writer=2.0.0-2 \ openoffice.org-javafilter=2.0.0-2 \ openoffice.org-xsltfilter=2.0.0-2 \ openoffice.org-debian-menus=2.0.0 \ openoffice.org-spellcheck=2.0.0 \ # install on [[Debian]] export LD_LIBRARY_PATH=/opt/openoffice.org2.0/program ; ldd /opt/openoffice.org2.0/program/soffice.bin linux-gate.so.1 => (0xffffe000) libvcl680li.so => not found libsvl680li.so => not found libsvt680li.so => not found libutl680li.so => not found libtl680li.so => not found libcomphelp4gcc3.so => not found libucbhelper3gcc3.so => not found libvos3gcc3.so => not found libuno_cppuhelpergcc3.so.3 => not found libuno_cppu.so.3 => not found libuno_sal.so.3 => not found libtk680li.so => not found libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41919000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4258f000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x42576000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41558000) libdl.so.2 => /lib/tls/libdl.so.2 (0x4118f000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4117b000) libstlport_gcc.so => not found libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e84000) libm.so.6 => /lib/tls/libm.so.6 (0x41153000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4154b000) libc.so.6 => /lib/tls/libc.so.6 (0x41019000) /lib/ld-linux.so.2 (0x41000000) ===== SPEC ===== * http://rpm.org/wiki/Docs#PackagerDocumentation * https://wiki.tizen.org/wiki/Packaging/Guidelines * https://fedoraproject.org/wiki/Packaging:RPMMacros?rd=Packaging/RPMMacros grep -r dir /usr/lib/rpm/* | grep ':%' | grep system less /etc/rpm/macros.systemd sh-4.2# rpm -E %install_service mkdir -p /usr/src/packages/BUILDROOT/%{name}-%{version}-%{release}.i386//usr/lib/systemd/system/%{1} ln -s ../%{2} /usr/src/packages/BUILDROOT/%{name}-%{version}-%{release}.i386//usr/lib/systemd/system/%{1}/%{2} grep -r dir /usr/lib/rpm/macros* | grep ':%' * http://fedoraproject.org/wiki/Packaging:ScriptletSnippets * http://kmymoney2.sourceforge.net/phb/rpm-example.html * http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s04s05.html * http://www.rpm.org/max-rpm/s1-rpm-specref-scripts.html * http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html#S4-RPM-INSIDE-POST-SCRIPT * https://en.opensuse.org/openSUSE:Build_system_recipes# ExporT * http://stackoverflow.com/questions/8076471/how-to-know-the-value-of-built-in-macro-in-rpm * http://backreference.org/2011/09/17/some-tips-on-rpm-conditional-macros/ rpm --eval '0%{?release:1}' 0 rpm --define 'release 42' --eval '0%{?release:1}' 01 rpm --define 'release 42' --eval '%{!?release:0}%{release}' 42 rpm --define 'released 42' --eval '%{!?release:0}%{?release}' 0 ===== MISC ===== * https://wiki.tizen.org/wiki/Packaging/Guidelines#Handling_Locale_Files# TizeN SpeC db4 error zypper : * http://www.cyberciti.biz/tips/rebuilding-corrupted-rpm-database.html How to install Red Hat Linux 6.2 : * http://support.microsoft.com/default.aspx?scid=kb;en-us;824973 MisC : * http://en.opensuse.org/openSUSE:RPM_sucks * http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s07s02.html * https://bugzilla.redhat.com/show_bug.cgi?id=91458 * https://www.redhat.com/en/about/press-releases/red-hat-and-samsung-form-strategic-alliance-deliver-next-generation-mobile-solutions-enterprise# RedHat SamSung * http://mentors.debian.net/package/spectacle ===== Repo ===== * https://rpmfusion.org/ * https://hobo.house/2017/09/03/automate-rpm-builds-from-git-sources-using-copr/ ===== LINKS ===== * https://docs.fedoraproject.org/en-US/fedora-silverblue/ ===== MORE ===== @TaG: RedHat DistrO FedorA @related [[Linux]] [[Mandriva]] [[Distro]] [[nfs]] {{http://nokiagadgets.com/wp-content/uploads/2012/07/jolla_meego_saving.jpg}}]] [[nfs]] {{http://nokiagadgets.com/wp-content/uploads/2012/07/jolla_meego_saving.jpg}} {{http://nokiagadgets.com/wp-content/uploads/2012/07/jolla_meego_saving.jpg}}