head 1.118; access; symbols OPENPKG_E1_MP_HEAD:1.31 OPENPKG_E1_MP:1.31 OPENPKG_E1_MP_2_STABLE:1.17.2.2 OPENPKG_E1_FP:1.17.2.2 OPENPKG_2_STABLE_MP:1.17 OPENPKG_2_STABLE_20061018:1.17.2.2 OPENPKG_2_STABLE:1.17.0.2; locks; strict; comment @-- @; 1.118 date 2009.04.18.13.17.32; author rse; state Exp; branches; next 1.117; commitid 4pHXU27WTIGCZuKt; 1.117 date 2008.02.26.18.46.04; author rse; state Exp; branches; next 1.116; commitid eGutAVLEBNnfjWSs; 1.116 date 2008.02.25.20.42.50; author rse; state Exp; branches; next 1.115; commitid APAJSzsZ51RiZOSs; 1.115 date 2008.02.24.08.39.30; author rse; state Exp; branches; next 1.114; commitid bzycUOMgTmd91DSs; 1.114 date 2008.02.05.19.25.25; author rse; state Exp; branches; next 1.113; commitid SpTO6ZUYgFCBcfQs; 1.113 date 2008.01.26.09.30.31; author rse; state Exp; branches; next 1.112; commitid AC8voDFd4rvreUOs; 1.112 date 2008.01.19.08.50.59; author rse; state Exp; branches; next 1.111; commitid TmgFTuECkQoPe0Os; 1.111 date 2008.01.18.17.50.02; author rse; state Exp; branches; next 1.110; commitid zFWgN7hOomUJfVNs; 1.110 date 2008.01.16.21.46.27; author rse; state Exp; branches; next 1.109; commitid lowAIyqMVvfPCGNs; 1.109 date 2008.01.14.18.32.23; author rse; state Exp; branches; next 1.108; commitid HRHWJrgXSrXeCpNs; 1.108 date 2008.01.12.09.40.10; author rse; state Exp; branches; next 1.107; commitid FPC6JkET7o8EJ6Ns; 1.107 date 2008.01.11.17.01.49; author rse; state Exp; branches; next 1.106; commitid lBTt1FJZLr39d1Ns; 1.106 date 2008.01.08.19.00.49; author rse; state Exp; branches; next 1.105; commitid 97kpML5UoYUWXDMs; 1.105 date 2008.01.01.15.06.39; author rse; state Exp; branches; next 1.104; commitid B8esaHJHoduuKILs; 1.104 date 2007.12.30.17.26.55; author rse; state Exp; branches; next 1.103; commitid hDHMlVRAsAgGJtLs; 1.103 date 2007.12.21.17.13.24; author rse; state Exp; branches; next 1.102; commitid emoWvngQmESYWjKs; 1.102 date 2007.12.21.08.19.51; author rse; state Exp; branches; next 1.101; commitid 0p9s6dNIY9sWZgKs; 1.101 date 2007.12.19.09.51.23; author rse; state Exp; branches; next 1.100; commitid ox4tJtVfEamkz1Ks; 1.100 date 2007.12.17.09.58.54; author rse; state Exp; branches; next 1.99; commitid cd8O4c3URDwTFLJs; 1.99 date 2007.12.13.08.35.58; author rse; state Exp; branches; next 1.98; commitid 6T3zjyo8HalplfJs; 1.98 date 2007.12.12.09.32.24; author rse; state Exp; branches; next 1.97; commitid RfYSCbmJfKDLG7Js; 1.97 date 2007.12.11.19.07.51; author rse; state Exp; branches; next 1.96; commitid EzqwfBWUZKGaU2Js; 1.96 date 2007.12.10.20.48.11; author rse; state Exp; branches; next 1.95; commitid L9GqwSehCH5AuVIs; 1.95 date 2007.10.05.05.53.34; author rse; state Exp; branches; next 1.94; commitid yRBcSoXwji7dFmAs; 1.94 date 2007.10.04.06.04.41; author rse; state Exp; branches; next 1.93; commitid Hw8kEbZWA9W0LeAs; 1.93 date 2007.10.02.15.40.43; author rse; state Exp; branches; next 1.92; commitid bcMY6uHLgVcC02As; 1.92 date 2007.09.29.10.38.47; author cs; state Exp; branches; next 1.91; commitid qquKMUEklc91rCzs; 1.91 date 2007.09.28.16.01.18; author cs; state Exp; branches; next 1.90; commitid BmNsmBm0f29Efwzs; 1.90 date 2007.09.28.06.14.49; author rse; state Exp; branches; next 1.89; commitid bY4cgsyy2d9s0tzs; 1.89 date 2007.09.25.05.40.29; author rse; state Exp; branches; next 1.88; commitid ysDR7ps88QpuU4zs; 1.88 date 2007.09.21.06.03.47; author cs; state Exp; branches; next 1.87; commitid ozWZaUe4KZiBazys; 1.87 date 2007.09.20.07.31.22; author cs; state Exp; branches; next 1.86; commitid rDbegqfLg3EEGrys; 1.86 date 2007.09.17.15.40.11; author cs; state Exp; branches; next 1.85; commitid LGNhAqnl8uyku6ys; 1.85 date 2007.09.15.09.05.06; author rse; state Exp; branches; next 1.84; commitid kjWYXF6Ik8jKmOxs; 1.84 date 2007.09.14.05.41.40; author rse; state Exp; branches; next 1.83; commitid L74nerDdpCUYgFxs; 1.83 date 2007.09.13.08.10.17; author rse; state Exp; branches; next 1.82; commitid AFmjl9ZZmjnX7yxs; 1.82 date 2007.09.07.15.03.54; author cs; state Exp; branches; next 1.81; commitid nkfi4976ZMXNBOws; 1.81 date 2007.09.04.07.30.34; author rse; state Exp; branches; next 1.80; commitid o0ivojuenZngcows; 1.80 date 2007.09.03.15.45.44; author cs; state Exp; branches; next 1.79; commitid PfaUoyzhmpd8Yiws; 1.79 date 2007.09.03.06.45.14; author rse; state Exp; branches; next 1.78; commitid DDFDbdFP7sGHYfws; 1.78 date 2007.08.30.07.59.40; author rse; state Exp; branches; next 1.77; commitid PCofvgZsReUdwKvs; 1.77 date 2007.08.29.17.06.31; author rse; state Exp; branches; next 1.76; commitid JZl24GLMKKuNzFvs; 1.76 date 2007.08.29.07.28.40; author rse; state Exp; branches; next 1.75; commitid TCtuTW2GDbyznCvs; 1.75 date 2007.08.18.15.02.49; author cs; state Exp; branches; next 1.74; commitid 9lv4m83BG0liffus; 1.74 date 2007.08.14.18.50.00; author cs; state Exp; branches; next 1.73; commitid ZEffj0tcR75dDKts; 1.73 date 2007.08.04.18.19.27; author rse; state Exp; branches; next 1.72; commitid keqWOA8V7ZzEMsss; 1.72 date 2007.07.21.08.33.41; author rse; state Exp; branches; next 1.71; commitid xH3JNEyCpR5AZBqs; 1.71 date 2007.07.06.07.15.41; author rse; state Exp; branches; next 1.70; commitid othsynHPKopJ2Gos; 1.70 date 2007.07.04.07.06.34; author rse; state Exp; branches; next 1.69; commitid Fiug3gSw4MwA3qos; 1.69 date 2007.07.03.18.31.59; author rse; state Exp; branches; next 1.68; commitid x5KVEhM75RpISlos; 1.68 date 2007.06.23.06.24.50; author rse; state Exp; branches; next 1.67; commitid m563WYjLfzicb0ns; 1.67 date 2007.06.22.17.58.46; author rse; state Exp; branches; next 1.66; commitid nTmL17zMmWOf3Wms; 1.66 date 2007.06.19.16.03.46; author rse; state Exp; branches; next 1.65; commitid N5V33qmLwxDLvxms; 1.65 date 2007.06.18.17.10.19; author rse; state Exp; branches; next 1.64; commitid 9q9bQV86CrzBUpms; 1.64 date 2007.06.16.16.36.39; author rse; state Exp; branches; next 1.63; commitid CmRoRcK4ZyE2N9ms; 1.63 date 2007.06.15.06.37.56; author cs; state Exp; branches; next 1.62; commitid DCU0qfNLsKTDvYls; 1.62 date 2007.06.13.06.19.32; author rse; state Exp; branches; next 1.61; commitid ROJTdxjD89pjtIls; 1.61 date 2007.06.11.19.00.31; author rse; state Exp; branches; next 1.60; commitid kwDq6dhpWibmKwls; 1.60 date 2007.06.08.16.55.43; author rse; state Exp; branches; next 1.59; commitid DpgwVyqygfEw98ls; 1.59 date 2007.06.08.06.33.40; author rse; state Exp; branches; next 1.58; commitid Ke1C2LAxns07I4ls; 1.58 date 2007.06.07.15.01.40; author cs; state Exp; branches; next 1.57; commitid FcouwXsx0qSnyZks; 1.57 date 2007.06.05.15.34.00; author rse; state Exp; branches; next 1.56; commitid W9gGpGSCBOIsNJks; 1.56 date 2007.06.05.07.27.17; author rse; state Exp; branches; next 1.55; commitid g51y9hnuZIJu6Hks; 1.55 date 2007.05.18.06.57.30; author rse; state Exp; branches; next 1.54; commitid QswRPumCYRe9wnis; 1.54 date 2007.05.17.16.36.53; author rse; state Exp; branches; next 1.53; commitid 8RSbYtxJM0gUKiis; 1.53 date 2007.05.10.05.59.14; author rse; state Exp; branches; next 1.52; commitid rXe8dD2GXTv6slhs; 1.52 date 2007.05.04.06.10.06; author rse; state Exp; branches; next 1.51; commitid XOMmnGKVJHEMHzgs; 1.51 date 2007.03.30.16.54.39; author rse; state Exp; branches; next 1.50; commitid p1rkLXBbloEEo8cs; 1.50 date 2007.03.17.17.43.13; author rse; state Exp; branches; next 1.49; commitid EvQkwQamxLge5tas; 1.49 date 2007.03.09.16.06.06; author rse; state Exp; branches; next 1.48; commitid ibvp7JtgtSaQNq9s; 1.48 date 2007.03.09.07.01.55; author rse; state Exp; branches; next 1.47; commitid lxRIbkgVngpaNn9s; 1.47 date 2007.03.07.16.10.33; author cs; state Exp; branches; next 1.46; commitid 64TrqfhWxYPmTa9s; 1.46 date 2007.03.04.14.24.17; author rse; state Exp; branches; next 1.45; commitid Wf3PMSZpFfBToM8s; 1.45 date 2007.03.02.18.20.07; author rse; state Exp; branches; next 1.44; commitid deBIvoh4iJmMLx8s; 1.44 date 2007.03.02.06.57.57; author rse; state Exp; branches; next 1.43; commitid rtTnQhSfwtUKZt8s; 1.43 date 2007.02.27.18.31.07; author rse; state Exp; branches; next 1.42; commitid ISRhe2PDgifxV98s; 1.42 date 2007.02.20.07.38.48; author cs; state Exp; branches; next 1.41; commitid fSllEWjRWTJHxc7s; 1.41 date 2007.02.15.07.08.50; author rse; state Exp; branches; next 1.40; commitid z3oRwlDPZRKnxy6s; 1.40 date 2007.02.11.18.53.56; author rse; state Exp; branches; next 1.39; commitid Kn4HSWMhxmzfz66s; 1.39 date 2007.02.10.14.02.27; author rse; state Exp; branches; next 1.38; commitid vpEqmJF0xwNeZW5s; 1.38 date 2007.02.10.13.54.52; author rse; state Exp; branches; next 1.37; commitid blMQNs8prvLDWW5s; 1.37 date 2007.01.26.09.24.15; author rse; state Exp; branches; next 1.36; commitid 0aKRC7YcTkmHVZ3s; 1.36 date 2007.01.20.08.46.19; author rse; state Exp; branches; next 1.35; commitid tkaVKBMpEFyDUd3s; 1.35 date 2007.01.11.17.46.39; author rse; state Exp; branches; next 1.34; commitid KZMpZrQs7ZjWb72s; 1.34 date 2007.01.10.18.51.46; author rse; state Exp; branches; next 1.33; commitid a0zfNljuBBHhAZ1s; 1.33 date 2007.01.10.18.34.32; author rse; state Exp; branches; next 1.32; commitid VuBuIquiPZSmuZ1s; 1.32 date 2007.01.08.18.20.01; author rse; state Exp; branches; next 1.31; commitid nGnyia610qWmtJ1s; 1.31 date 2007.01.01.17.42.38; author rse; state Exp; branches; next 1.30; commitid BicZD6VUl7GuqP0s; 1.30 date 2006.12.13.07.44.45; author rse; state Exp; branches; next 1.29; commitid Tnq0ugc07nSfNkYr; 1.29 date 2006.12.07.16.02.45; author rse; state Exp; branches; next 1.28; commitid D1hPGtZ48TI2KBXr; 1.28 date 2006.12.06.16.43.16; author rse; state Exp; branches; next 1.27; commitid T9ssVjVt2hHWZtXr; 1.27 date 2006.12.04.16.38.38; author cs; state Exp; branches; next 1.26; commitid 03gqfG0UTI7l2eXr; 1.26 date 2006.12.02.08.48.58; author cs; state Exp; branches; next 1.25; commitid O0aIP5f2mAScvVWr; 1.25 date 2006.12.01.11.18.29; author rse; state Exp; branches; next 1.24; commitid 9dC7MeYLhBiumOWr; 1.24 date 2006.11.30.16.00.26; author cs; state Exp; branches; next 1.23; commitid DT5GzrCEkR8dXHWr; 1.23 date 2006.11.28.08.01.10; author rse; state Exp; branches; next 1.22; commitid H1WS9rs4hjWLmpWr; 1.22 date 2006.11.25.19.29.43; author rse; state Exp; branches; next 1.21; commitid hzhlWJufb2qYg5Wr; 1.21 date 2006.11.14.09.24.05; author rse; state Exp; branches; next 1.20; commitid BD023fabpHQ7hCUr; 1.20 date 2006.11.14.08.49.51; author rse; state Exp; branches; next 1.19; commitid he9YQJP9ndJn5CUr; 1.19 date 2006.11.14.07.43.54; author rse; state Exp; branches; next 1.18; commitid AkzsJbq26ESKIBUr; 1.18 date 2006.10.17.08.36.57; author cs; state Exp; branches; next 1.17; commitid LqbayOsYDfeLU0Rr; 1.17 date 2006.10.13.17.35.20; author thl; state Exp; branches 1.17.2.1; next 1.16; commitid q5GSxzsSDX29XxQr; 1.16 date 2006.09.19.19.15.38; author rse; state Exp; branches; next 1.15; commitid nsvDwGw2JM5FltNr; 1.15 date 2006.06.12.19.22.15; author rse; state Exp; branches; next 1.14; commitid WxXb3uvVyIfezKAr; 1.14 date 2006.06.05.07.42.25; author rse; state Exp; branches; next 1.13; commitid zhY4i9W8dNB5VMzr; 1.13 date 2006.05.22.20.20.01; author rse; state Exp; branches; next 1.12; commitid HrSNGfzUZ9nTy3yr; 1.12 date 2006.05.05.07.34.26; author rse; state Exp; branches; next 1.11; commitid hZetQmR0Nek8SNvr; 1.11 date 2006.04.07.18.43.49; author rse; state Exp; branches; next 1.10; commitid zU6y8ZhEvCNztgsr; 1.10 date 2006.04.03.17.27.44; author rse; state Exp; branches; next 1.9; commitid G8UYfPEhMkErbKrr; 1.9 date 2006.03.22.07.14.20; author rse; state Exp; branches; next 1.8; commitid KRiVJ8I9elwVa9qr; 1.8 date 2006.03.21.08.26.17; author rse; state Exp; branches; next 1.7; commitid aBckDOW8qztBB1qr; 1.7 date 2006.03.15.21.16.11; author rse; state Exp; branches; next 1.6; commitid 8qvADhQBubXF3kpr; 1.6 date 2006.03.12.08.57.42; author rse; state Exp; branches; next 1.5; commitid Mu9wPBCxI4Uj4Sor; 1.5 date 2006.03.08.20.11.54; author rse; state Exp; branches; next 1.4; commitid 3DDoBdWz686AVpor; 1.4 date 2006.03.07.07.31.45; author rse; state Exp; branches; next 1.3; commitid Imx7ohQIw60NKdor; 1.3 date 2006.03.04.08.49.45; author rse; state Exp; branches; next 1.2; commitid myrKptlfryExhQnr; 1.2 date 2006.03.01.06.37.33; author rse; state Exp; branches; next 1.1; commitid gahzGU3AmBeaErnr; 1.1 date 2006.02.28.20.55.10; author rse; state Exp; branches; next ; commitid lm81havOx90nqonr; 1.17.2.1 date 2006.10.13.17.35.20; author rse; state dead; branches; next 1.17.2.2; commitid iZxwRSmmWscPXUQr; 1.17.2.2 date 2006.10.16.14.57.36; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.118 log @bump years in copyright messages @ text @## ## urpmi.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package version %define V_urpmi 5.6 %define V_urpmi_rpm 5.6-1mdv2008.1 %define V_urpm 3.10 %define V_urpm_rpm 3.10-1mdv2008.1 %define V_mdv_distribconf 4.00 %define V_mdv_distribconf_rpm 4.00-1mdv2008.1 %define V_mdv_packdrakeng 1.13 %define V_mdv_packdrakeng_rpm 1.13-1mdv2008.0 %define V_rpmtools 5.3.6 %define V_rpmtools_rpm 5.3.6-1mdv2008.1 # package information Name: urpmi Summary: RPM Installer URL: http://www.urpmi.org/ Vendor: Mandrakesoft Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Bootstrapping License: GPL Version: %{V_urpmi} Release: 20080226 # package options %option with_wget no %option with_ssh no %option with_rsync no # list of sources Source0: ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/main/release/urpmi-%{V_urpmi_rpm}.src.rpm Source1: ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/main/release/perl-URPM-%{V_urpm_rpm}.src.rpm Source2: ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/main/release/perl-MDV-Distribconf-%{V_mdv_distribconf_rpm}.src.rpm Source3: ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/main/release/perl-MDV-Packdrakeng-%{V_mdv_packdrakeng_rpm}.src.rpm Source4: ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/main/release/rpmtools-%{V_rpmtools_rpm}.src.rpm Patch0: urpmi.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20040130, perl, perl-openpkg, cpio PreReq: OpenPKG, openpkg >= 20040130, perl, coreutils, openssl PreReq: perl-parse, perl-crypto, perl-locale %if "%{with_wget}" == "yes" PreReq: wget %endif %if "%{with_ssh}" == "yes" PreReq: openssh %endif %if "%{with_rsync}" == "yes" PreReq: rsync %endif AutoReq: no AutoReqProv: no %description URPMI is a frontend for the RedHat Package Manager (RPM). It was originally developed for Mandriva Linux. %track prog urpmi:urpmi = { version = %{V_urpmi_rpm} url = ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/main/release/ regex = urpmi-(__VER__-\d+mdv[\d.]+)\.src\.rpm } prog urpmi:URPM = { version = %{V_urpm_rpm} url = ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/main/release/ regex = perl-URPM-(__VER__-\d+mdv[\d.]+)\.src\.rpm } prog urpmi:MDV-Packdrakeng = { version = %{V_mdv_packdrakeng_rpm} url = ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/main/release/ regex = perl-MDV-Packdrakeng-(__VER__-\d+mdv[\d.]+)\.src\.rpm } prog urpmi:MDV-Distribconf = { version = %{V_mdv_distribconf_rpm} url = ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/main/release/ regex = perl-MDV-Distribconf-(__VER__-\d+mdv[\d.]+)\.src\.rpm } prog urpmi:rpmtools = { version = %{V_rpmtools_rpm} url = ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/main/release/ regex = rpmtools-(__VER__-\d+mdv[\d.]+)\.src\.rpm } %prep %setup -q -T -c %{l_rpm2cpio} %{SOURCE urpmi-%{V_urpmi_rpm}.src.rpm} | cpio -idvmu %{l_rpm2cpio} %{SOURCE perl-URPM-%{V_urpm_rpm}.src.rpm} | cpio -idvmu %{l_rpm2cpio} %{SOURCE perl-MDV-Distribconf-%{V_mdv_distribconf_rpm}.src.rpm} | cpio -idvmu %{l_rpm2cpio} %{SOURCE perl-MDV-Packdrakeng-%{V_mdv_packdrakeng_rpm}.src.rpm} | cpio -idvmu %{l_rpm2cpio} %{SOURCE rpmtools-%{V_rpmtools_rpm}.src.rpm} | cpio -idvmu %{l_bzip2} -d -c urpmi-%{V_urpmi}.tar.bz2 | %{l_tar} xf - %{l_bzip2} -d -c URPM-%{V_urpm}.tar.bz2 | %{l_tar} xf - %{l_gzip} -d -c MDV-Packdrakeng-%{V_mdv_packdrakeng}.tar.gz | %{l_tar} xf - %{l_gzip} -d -c MDV-Distribconf-%{V_mdv_distribconf}.tar.gz | %{l_tar} xf - %{l_bzip2} -d -c rpmtools-%{V_rpmtools}.tar.bz2 | %{l_tar} xf - %patch -p0 %build %install rm -rf $RPM_BUILD_ROOT # adjust URPMI sources ( cd urpmi-%{V_urpmi} # adjust path to configuration files %{l_shtool} subst \ -e "s;/etc/urpmi;%{l_prefix}/etc/urpmi;" \ urpmq urpm/cfg.pm urpm.pm # adjust cache and hdlist paths %{l_shtool} subst \ -e "s;/var/lib/urpmi;%{l_prefix}/var/urpmi/lib;" \ -e "s;/var/cache/urpmi;%{l_prefix}/var/urpmi/cache;" \ -e "s;/var/lib/rpm;%{l_prefix}/RPM/DB;" \ urpm.pm urpmi # fix superuser message (l_muid) %{l_shtool} subst \ -e "s;$< != 0;$< != %{l_muid};" \ -e 's;Only superuser is allowed;Only %{l_musr} is allowed;' \ urpmi.addmedia urpmi.update urpmi.removemedia rurpm* urpmi urpmq %{l_shtool} subst \ -e "s;$<;($< != %{l_muid});" \ -e 's;Only superuser is allowed;Only %{l_musr} is allowed;' \ urpme urpmi.recover urpm.pm %{l_shtool} subst \ -e "s;chown(0, 0,;chown(%{l_muid}, %{l_mgid},;" \ urpm/util.pm # fix common tool paths (coreutils) %{l_shtool} subst \ -e "s;/bin/cp;%{l_prefix}/bin/gcp;" \ -e "s;/bin/mv;%{l_prefix}/bin/gmv;" \ -e "s;/usr/bin/md5sum;%{l_prefix}/bin/urpmi.md5sum;" \ urpm/*.pm %{l_shtool} subst \ -e "s;/usr/bin/curl;%{l_prefix}/lib/openpkg/curl;" \ %if "%{with_wget}" == "yes" -e "s;/usr/bin/wget;%{l_prefix}/bin/wget;" \ %endif %if "%{with_rsync}" == "yes" -e "s;/usr/bin/rsync;%{l_prefix}/bin/rsync;" \ %endif %if "%{with_ssh}" == "yes" -e "s;/usr/bin/ssh;%{l_prefix}/bin/ssh;" \ %endif urpm/download.pm ) || exit $? ( cd rpmtools-%{V_rpmtools} %{l_shtool} subst \ -e "s;/bin/cp;%{l_prefix}/bin/gcp;" \ -e "s;/bin/mv;%{l_prefix}/bin/gmv;" \ -e "s;/usr/bin/md5sum;%{l_prefix}/bin/urpmi.md5sum;" \ -e "s;/bin/gzip;%{l_prefix}/lib/openpkg/gzip;" \ genhdlist gendistrib rpm2cpio.pl ) || exit $? # install addon Perl modules %{l_prefix}/bin/perl-openpkg prepare %{l_prefix}/bin/perl-openpkg -d MDV-Distribconf-%{V_mdv_distribconf} configure build install %{l_prefix}/bin/perl-openpkg -d MDV-Packdrakeng-%{V_mdv_packdrakeng} configure build install %{l_prefix}/bin/perl-openpkg -d URPM-%{V_urpm} configure build install %{l_prefix}/bin/perl-openpkg -d urpmi-%{V_urpmi} configure build install %{l_prefix}/bin/perl-openpkg -d rpmtools-%{V_rpmtools} configure build install %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup # install helper utility ( echo "#!/bin/sh" echo "%{l_prefix}/bin/openssl md5 \"\$@@\" | sed -e 's;^MD5(\\(.*\\))= *\\(.*\\);\\2 \\1;'" ) >$RPM_BUILD_ROOT%{l_prefix}/bin/urpmi.md5sum chmod a+x $RPM_BUILD_ROOT%{l_prefix}/bin/urpmi.md5sum # post-adjust installation mv $RPM_BUILD_ROOT%{l_prefix}/bin/packdrake \ $RPM_BUILD_ROOT%{l_prefix}/bin/urpmi.packdrake mv $RPM_BUILD_ROOT%{l_prefix}/bin/dumpdistribconf \ $RPM_BUILD_ROOT%{l_prefix}/bin/urpmi.dumpdistribconf mv $RPM_BUILD_ROOT%{l_prefix}/bin/checkdistrib \ $RPM_BUILD_ROOT%{l_prefix}/bin/urpmi.checkdistrib mv $RPM_BUILD_ROOT%{l_prefix}/bin/parsehdlist \ $RPM_BUILD_ROOT%{l_prefix}/bin/urpmi.parsehdlist mv $RPM_BUILD_ROOT%{l_prefix}/bin/gendistrib \ $RPM_BUILD_ROOT%{l_prefix}/bin/urpmi.gendistrib mv $RPM_BUILD_ROOT%{l_prefix}/bin/genhdlist \ $RPM_BUILD_ROOT%{l_prefix}/bin/urpmi.genhdlist mv $RPM_BUILD_ROOT%{l_prefix}/bin/rpm-find-leaves \ $RPM_BUILD_ROOT%{l_prefix}/bin/urpmi.rpmfindleaves mv $RPM_BUILD_ROOT%{l_prefix}/bin/rpm2cpio.pl \ $RPM_BUILD_ROOT%{l_prefix}/bin/urpmi.rpm2cpio mv $RPM_BUILD_ROOT%{l_prefix}/bin/rpm2header \ $RPM_BUILD_ROOT%{l_prefix}/bin/urpmi.rpm2header # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} `cat perl-openpkg-files` \ '%config %{l_prefix}/etc/urpmi/inst.list' \ '%config %{l_prefix}/etc/urpmi/skip.list' %files -f files %clean rm -rf $RPM_BUILD_ROOT %post # update media information $RPM_INSTALL_PREFIX/bin/perl -Murpm::media -e ' if (-e "$ARGV[0]/etc/urpmi/urpmi.cfg") { $urpm = new urpm; urpm::media::read_config($urpm); urpm::media::update_media($urpm, nolock => 1, nopubkey => 1); } ' $RPM_INSTALL_PREFIX exit 0 %preun # remove database files on deinstallation if [ ".$1" = .0 ]; then ( cd $RPM_INSTALL_PREFIX/var/urpmi/lib || exit $? rm -f compss provides depslist* descriptions.* *.cache hdlist.* synthesis.hdlist.* list.* >/dev/null 2>&1 || true ) || exit $? ( cd $RPM_INSTALL_PREFIX/var/urpmi/cache || exit $? rm -rf partial/* headers/* rpms/* >/dev/null 2>&1 || true ) || exit $? fi exit 0 @ 1.117 log @upgrading package: urpmi 5.5 -> 5.6 @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.116 log @modifying package: urpmi-5.5 20080224 -> 20080225 @ text @d25 4 a28 4 %define V_urpmi 5.5 %define V_urpmi_rpm 5.5-1mdv2008.1 %define V_urpm 3.08 %define V_urpm_rpm 3.08-1mdv2008.1 d47 1 a47 1 Release: 20080225 @ 1.115 log @upgrading package: urpmi 5.4 -> 5.5 @ text @d27 2 a28 2 %define V_urpm 3.07 %define V_urpm_rpm 3.07-3mdv2008.1 d47 1 a47 1 Release: 20080224 @ 1.114 log @upgrading package: urpmi 5.2 -> 5.4 @ text @d25 2 a26 2 %define V_urpmi 5.4 %define V_urpmi_rpm 5.4-1mdv2008.1 d47 1 a47 1 Release: 20080205 @ 1.113 log @modifying package: urpmi-5.2 20080119 -> 20080126 @ text @d25 2 a26 2 %define V_urpmi 5.2 %define V_urpmi_rpm 5.2-1mdv2008.1 d33 2 a34 2 %define V_rpmtools 5.3.5 %define V_rpmtools_rpm 5.3.5-2mdv2008.1 d47 1 a47 1 Release: 20080126 @ 1.112 log @upgrading package: urpmi 5.0 -> 5.2 @ text @d28 1 a28 1 %define V_urpm_rpm 3.07-2mdv2008.1 d34 1 a34 1 %define V_rpmtools_rpm 5.3.5-1mdv2008.1 d47 1 a47 1 Release: 20080119 @ 1.111 log @modifying package: urpmi-5.0 20080116 -> 20080118 @ text @d25 2 a26 2 %define V_urpmi 5.0 %define V_urpmi_rpm 5.0-1mdv2008.1 d47 1 a47 1 Release: 20080118 @ 1.110 log @modifying package: urpmi-5.0 20080114 -> 20080116 @ text @d29 2 a30 2 %define V_mdv_distribconf 3.14 %define V_mdv_distribconf_rpm 3.14-1mdv2008.1 d47 1 a47 1 Release: 20080116 @ 1.109 log @modifying package: urpmi-5.0 20080112 -> 20080114 @ text @d33 2 a34 2 %define V_rpmtools 5.3.4 %define V_rpmtools_rpm 5.3.4-1mdv2008.1 d47 1 a47 1 Release: 20080114 @ 1.108 log @upgrading package: urpmi 4.10.20 -> 5.0 @ text @d28 1 a28 1 %define V_urpm_rpm 3.07-1mdv2008.1 d47 1 a47 1 Release: 20080112 @ 1.107 log @modifying package: urpmi-4.10.20 20080108 -> 20080111 @ text @d25 2 a26 2 %define V_urpmi 4.10.20 %define V_urpmi_rpm 4.10.20-1mdv2008.1 d47 1 a47 1 Release: 20080111 @ 1.106 log @modifying package: urpmi-4.10.20 20080101 -> 20080108 @ text @d27 2 a28 2 %define V_urpm 3.05 %define V_urpm_rpm 3.05-2mdv2008.1 d47 1 a47 1 Release: 20080108 @ 1.105 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d27 2 a28 2 %define V_urpm 3.04 %define V_urpm_rpm 3.04-1mdv2008.1 d47 1 a47 1 Release: 20080101 @ 1.104 log @modifying package: urpmi-4.10.20 20071221 -> 20071230 @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d47 1 a47 1 Release: 20071230 @ 1.103 log @upgrading package: urpmi 4.10.19 -> 4.10.20 @ text @d30 2 a31 2 %define V_mdv_distribconf 3.13 %define V_mdv_distribconf_rpm 3.13-1mdv2008.1 d48 1 a48 1 Release: 20071221 @ 1.102 log @modifying package: urpmi-4.10.19 20071219 -> 20071221 @ text @d26 2 a27 2 %define V_urpmi 4.10.19 %define V_urpmi_rpm 4.10.19-1mdv2008.1 @ 1.101 log @modifying package: urpmi-4.10.19 20071217 -> 20071219 @ text @d28 2 a29 2 %define V_urpm 3.03 %define V_urpm_rpm 3.03-1mdv2008.1 d48 1 a48 1 Release: 20071219 @ 1.100 log @modifying package: urpmi-4.10.19 20071213 -> 20071217 @ text @d34 2 a35 2 %define V_rpmtools 5.3.2 %define V_rpmtools_rpm 5.3.2-1mdv2008.0 d48 1 a48 1 Release: 20071217 @ 1.99 log @upgrading package: urpmi 4.10.18 -> 4.10.19 @ text @d28 2 a29 2 %define V_urpm 3.01 %define V_urpm_rpm 3.01-1mdv2008.1 d48 1 a48 1 Release: 20071213 @ 1.98 log @modifying package: urpmi-4.10.18 20071211 -> 20071212 @ text @d26 2 a27 2 %define V_urpmi 4.10.18 %define V_urpmi_rpm 4.10.18-1mdv2008.1 d48 1 a48 1 Release: 20071212 @ 1.97 log @upgrading package: urpmi 4.10.17 -> 4.10.18 @ text @d28 2 a29 2 %define V_urpm 3.00 %define V_urpm_rpm 3.00-1mdv2008.1 d48 1 a48 1 Release: 20071211 @ 1.96 log @upgrading package: urpmi 4.10.14 -> 4.10.17 @ text @d26 4 a29 4 %define V_urpmi 4.10.17 %define V_urpmi_rpm 4.10.17-1mdv2008.1 %define V_urpm 2.10 %define V_urpm_rpm 2.10-1mdv2008.1 d48 1 a48 1 Release: 20071210 @ 1.95 log @upgrading package: urpmi 4.10.13 -> 4.10.14 @ text @d26 6 a31 6 %define V_urpmi 4.10.14 %define V_urpmi_rpm 4.10.14-1mdv2008.0 %define V_urpm 2.07 %define V_urpm_rpm 2.07-1mdv2008.0 %define V_mdv_distribconf 3.10 %define V_mdv_distribconf_rpm 3.10-1mdv2008.0 d48 1 a48 1 Release: 20071005 @ 1.94 log @upgrading package: urpmi 4.10.12 -> 4.10.13 @ text @d26 2 a27 2 %define V_urpmi 4.10.13 %define V_urpmi_rpm 4.10.13-1mdv2008.0 d48 1 a48 1 Release: 20071004 @ 1.93 log @modifying package: urpmi-4.10.12 20070929 -> 20071002 @ text @d26 2 a27 2 %define V_urpmi 4.10.12 %define V_urpmi_rpm 4.10.12-1mdv2008.0 d48 1 a48 1 Release: 20071002 @ 1.92 log @modifying package: urpmi-4.10.12 20070928 -> 20070929 @ text @d28 2 a29 2 %define V_urpm 2.06 %define V_urpm_rpm 2.06-1mdv2008.0 d48 1 a48 1 Release: 20070929 @ 1.91 log @modifying package: urpmi-4.10.12 20070928 again @ text @d28 2 a29 2 %define V_urpm 2.05 %define V_urpm_rpm 2.05-1mdv2008.0 d48 1 a48 1 Release: 20070928 @ 1.90 log @upgrading package: urpmi 4.10.11 -> 4.10.12 @ text @d28 2 a29 2 %define V_urpm 2.04 %define V_urpm_rpm 2.04-1mdv2008.0 @ 1.89 log @upgrading package: urpmi 4.10.10 -> 4.10.11 @ text @d26 4 a29 4 %define V_urpmi 4.10.11 %define V_urpmi_rpm 4.10.11-1mdv2008.0 %define V_urpm 2.03 %define V_urpm_rpm 2.03-1mdv2008.0 d48 1 a48 1 Release: 20070925 @ 1.88 log @modifying package: urpmi-4.10.10 20070920 -> 20070921 @ text @d26 2 a27 2 %define V_urpmi 4.10.10 %define V_urpmi_rpm 4.10.10-1mdv2008.0 d48 1 a48 1 Release: 20070921 @ 1.87 log @modifying package: urpmi-4.10.10 20070917 -> 20070920 @ text @d28 2 a29 2 %define V_urpm 2.02 %define V_urpm_rpm 2.02-1mdv2008.0 d48 1 a48 1 Release: 20070920 @ 1.86 log @upgrading package: urpmi 4.10.9 -> 4.10.10 @ text @d28 2 a29 2 %define V_urpm 2.01 %define V_urpm_rpm 2.01-1mdv2008.0 d48 1 a48 1 Release: 20070917 @ 1.85 log @modifying package: urpmi-4.10.9 20070914 -> 20070915 @ text @d26 2 a27 2 %define V_urpmi 4.10.9 %define V_urpmi_rpm 4.10.9-1mdv2008.0 d48 1 a48 1 Release: 20070915 @ 1.84 log @upgrading package: urpmi 4.10.8 -> 4.10.9 @ text @d28 2 a29 2 %define V_urpm 2.00 %define V_urpm_rpm 2.00-1mdv2008.0 d48 1 a48 1 Release: 20070914 @ 1.83 log @upgrading package: urpmi 4.10.7 -> 4.10.8 @ text @d26 4 a29 4 %define V_urpmi 4.10.8 %define V_urpmi_rpm 4.10.8-1mdv2008.0 %define V_urpm 1.80 %define V_urpm_rpm 1.80-1mdv2008.0 d48 1 a48 1 Release: 20070913 @ 1.82 log @upgrading package: urpmi 4.10.6 -> 4.10.7 @ text @d26 2 a27 2 %define V_urpmi 4.10.7 %define V_urpmi_rpm 4.10.7-1mdv2008.0 d48 1 a48 1 Release: 20070907 @ 1.81 log @modifying package: urpmi-4.10.6 20070903 -> 20070904 @ text @d26 2 a27 2 %define V_urpmi 4.10.6 %define V_urpmi_rpm 4.10.6-1mdv2008.0 d48 1 a48 1 Release: 20070904 @ 1.80 log @modifying package: urpmi-4.10.6 20070903 again @ text @d28 2 a29 2 %define V_urpm 1.79 %define V_urpm_rpm 1.79-1mdv2008.0 d48 1 a48 1 Release: 20070903 @ 1.79 log @modifying package: urpmi-4.10.6 20070830 -> 20070903 @ text @d28 2 a29 2 %define V_urpm 1.78 %define V_urpm_rpm 1.78-1mdv2008.0 @ 1.78 log @upgrading package: urpmi 4.10.5 -> 4.10.6 @ text @d28 2 a29 2 %define V_urpm 1.77 %define V_urpm_rpm 1.77-1mdv2008.0 d48 1 a48 1 Release: 20070830 @ 1.77 log @modifying package: urpmi-4.10.5 20070829 again @ text @d26 2 a27 2 %define V_urpmi 4.10.5 %define V_urpmi_rpm 4.10.5-1mdv2008.0 d48 1 a48 1 Release: 20070829 @ 1.76 log @modifying package: urpmi-4.10.5 20070818 -> 20070829 @ text @d28 2 a29 2 %define V_urpm 1.76 %define V_urpm_rpm 1.76-1mdv2008.0 @ 1.75 log @upgrading package: urpmi 4.10.4 -> 4.10.5 @ text @d28 2 a29 2 %define V_urpm 1.75 %define V_urpm_rpm 1.75-1mdv2008.0 d48 1 a48 1 Release: 20070818 @ 1.74 log @upgrading package: urpmi 4.9.28 -> 4.10.4 @ text @d26 2 a27 2 %define V_urpmi 4.10.4 %define V_urpmi_rpm 4.10.4-2mdv2008.0 d48 1 a48 1 Release: 20070814 @ 1.73 log @upgrading package: urpmi 4.9.27 -> 4.9.28 @ text @d26 4 a29 4 %define V_urpmi 4.9.28 %define V_urpmi_rpm 4.9.28-1mdv2008.0 %define V_urpm 1.68 %define V_urpm_rpm 1.68-1mdv2008.0 d32 2 a33 2 %define V_mdv_packdrakeng 1.12 %define V_mdv_packdrakeng_rpm 1.12-1mdv2008.0 d48 1 a48 1 Release: 20070804 @ 1.72 log @modifying package: urpmi-4.9.27 20070706 -> 20070721 @ text @d26 4 a29 4 %define V_urpmi 4.9.27 %define V_urpmi_rpm 4.9.27-1mdv2008.0 %define V_urpm 1.67 %define V_urpm_rpm 1.67-1mdv2008.0 d48 1 a48 1 Release: 20070721 @ 1.71 log @modifying package: urpmi-4.9.27 20070704 -> 20070706 @ text @d30 2 a31 2 %define V_mdv_distribconf 3.08 %define V_mdv_distribconf_rpm 3.08-1mdv2008.0 d48 1 a48 1 Release: 20070706 @ 1.70 log @modifying package: urpmi-4.9.27 20070703 -> 20070704 @ text @d28 2 a29 2 %define V_urpm 1.66 %define V_urpm_rpm 1.66-1mdv2008.0 d48 1 a48 1 Release: 20070704 @ 1.69 log @modifying package: urpmi-4.9.27 20070623 -> 20070703 @ text @d30 2 a31 2 %define V_mdv_distribconf 3.07 %define V_mdv_distribconf_rpm 3.07-1mdv2007.1 d48 1 a48 1 Release: 20070703 @ 1.68 log @modifying package: urpmi-4.9.27 20070622 -> 20070623 @ text @d28 2 a29 2 %define V_urpm 1.65 %define V_urpm_rpm 1.65-1mdv2008.0 d48 1 a48 1 Release: 20070623 @ 1.67 log @modifying package: urpmi-4.9.27 20070619 -> 20070622 @ text @d34 2 a35 2 %define V_rpmtools 5.2.1 %define V_rpmtools_rpm 5.2.1-1mdv2008.0 d48 1 a48 1 Release: 20070622 @ 1.66 log @upgrading package: urpmi 4.9.26 -> 4.9.27 @ text @d28 2 a29 2 %define V_urpm 1.64 %define V_urpm_rpm 1.64-1mdv2008.0 d48 1 a48 1 Release: 20070619 @ 1.65 log @modifying package: urpmi-4.9.26 20070616 -> 20070618 @ text @d26 2 a27 2 %define V_urpmi 4.9.26 %define V_urpmi_rpm 4.9.26-1mdv2008.0 d48 1 a48 1 Release: 20070618 @ 1.64 log @modifying package: urpmi-4.9.26 20070615 -> 20070616 @ text @d32 2 a33 2 %define V_mdv_packdrakeng 1.11 %define V_mdv_packdrakeng_rpm 1.11-1mdv2008.0 d48 1 a48 1 Release: 20070616 @ 1.63 log @upgrading package: urpmi 4.9.25 -> 4.9.26 @ text @d34 2 a35 2 %define V_rpmtools 5.2.0 %define V_rpmtools_rpm 5.2.0-1mdv2008.0 d48 1 a48 1 Release: 20070615 @ 1.62 log @modifying package: urpmi-4.9.25 20070611 -> 20070613 @ text @d26 2 a27 2 %define V_urpmi 4.9.25 %define V_urpmi_rpm 4.9.25-1mdv2008.0 d48 1 a48 1 Release: 20070613 @ 1.61 log @modifying package: urpmi-4.9.25 20070608 -> 20070611 @ text @d28 2 a29 2 %define V_urpm 1.63 %define V_urpm_rpm 1.63-4mdv2008.0 d48 1 a48 1 Release: 20070611 @ 1.60 log @upgrading package: urpmi 4.9.24 -> 4.9.25 @ text @d34 2 a35 2 %define V_rpmtools 5.1.0 %define V_rpmtools_rpm 5.1.0-1mdv2007.0 d48 1 a48 1 Release: 20070608 @ 1.59 log @fix unpacking and cleanup style @ text @d26 2 a27 2 %define V_urpmi 4.9.24 %define V_urpmi_rpm 4.9.24-1mdv2008.0 @ 1.58 log @modifying package: urpmi-4.9.24 20070605 -> 20070607 @ text @d48 1 a48 1 Release: 20070607 d121 1 a121 1 %{l_bzip2} -d -c MDV-Packdrakeng-%{V_mdv_packdrakeng}.tar.bz2 | %{l_tar} xf - d139 5 a143 5 %{l_shtool} subst \ -e "s;/var/lib/urpmi;%{l_prefix}/var/urpmi/lib;" \ -e "s;/var/cache/urpmi;%{l_prefix}/var/urpmi/cache;" \ -e "s;/var/lib/rpm;%{l_prefix}/RPM/DB;" \ urpm.pm urpmi @ 1.57 log @modifying package: urpmi-4.9.24 20070605 again @ text @d29 1 a29 1 %define V_urpm_rpm 1.63-3mdv2008.0 d48 1 a48 1 Release: 20070605 @ 1.56 log @modifying package: urpmi-4.9.24 20070518 -> 20070605 @ text @d29 1 a29 1 %define V_urpm_rpm 1.63-2mdv2008.0 d32 2 a33 2 %define V_mdv_packdrakeng 1.10 %define V_mdv_packdrakeng_rpm 1.10-1mdv2008.0 @ 1.55 log @modifying package: urpmi-4.9.24 20070517 -> 20070518 @ text @d29 1 a29 1 %define V_urpm_rpm 1.63-1mdv2008.0 d48 1 a48 1 Release: 20070518 @ 1.54 log @fix tracking @ text @d32 2 a33 2 %define V_mdv_packdrakeng 1.01 %define V_mdv_packdrakeng_rpm 1.01-3mdv2008.0 d48 1 a48 1 Release: 20070517 @ 1.53 log @upgrading package: urpmi 4.9.23 -> 4.9.24 @ text @d33 1 a33 1 %define V_mdv_packdrakeng_rpm 1.01-2mdk d48 1 a48 1 Release: 20070510 d99 1 a99 1 regex = perl-MDV-Packdrakeng-(__VER__-\d+mdk)\.src\.rpm @ 1.52 log @upgrading package: urpmi 4.9.21 -> 4.9.23 @ text @d26 4 a29 4 %define V_urpmi 4.9.23 %define V_urpmi_rpm 4.9.23-1mdv2008.0 %define V_urpm 1.62 %define V_urpm_rpm 1.62-1mdv2008.0 d48 1 a48 1 Release: 20070504 @ 1.51 log @upgrading package: urpmi 4.9.20 -> 4.9.21 @ text @d26 4 a29 4 %define V_urpmi 4.9.21 %define V_urpmi_rpm 4.9.21-1mdv2007.1 %define V_urpm 1.60 %define V_urpm_rpm 1.60-1mdv2007.1 d48 1 a48 1 Release: 20070330 @ 1.50 log @upgrading package: urpmi 4.9.19 -> 4.9.20 @ text @d26 2 a27 2 %define V_urpmi 4.9.20 %define V_urpmi_rpm 4.9.20-1mdv2007.1 d48 1 a48 1 Release: 20070317 @ 1.49 log @upgrading package: urpmi 4.9.17 -> 4.9.19 @ text @d26 2 a27 2 %define V_urpmi 4.9.19 %define V_urpmi_rpm 4.9.19-1mdv2007.1 d48 1 a48 1 Release: 20070309 @ 1.48 log @modifying package: urpmi-4.9.17 20070307 -> 20070309 @ text @d26 2 a27 2 %define V_urpmi 4.9.17 %define V_urpmi_rpm 4.9.17-3mdv2007.1 @ 1.47 log @upgrading package: urpmi 4.9.16 -> 4.9.17 @ text @d28 2 a29 2 %define V_urpm 1.59 %define V_urpm_rpm 1.59-1mdv2007.1 d48 1 a48 1 Release: 20070307 @ 1.46 log @take over fixes. Contributed by: philippe dot libat at free dot fr @ text @d26 2 a27 2 %define V_urpmi 4.9.16 %define V_urpmi_rpm 4.9.16-1mdv2007.1 d48 1 a48 1 Release: 20070304 @ 1.45 log @upgrading package: urpmi 4.9.15 -> 4.9.16 @ text @d48 1 a48 1 Release: 20070302 d143 1 a143 1 urpm.pm d154 3 @ 1.44 log @modifying package: urpmi-4.9.15 20070227 -> 20070302 @ text @d26 2 a27 2 %define V_urpmi 4.9.15 %define V_urpmi_rpm 4.9.15-2mdv2007.1 @ 1.43 log @upgrading package: urpmi 4.9.14 -> 4.9.15 @ text @d28 2 a29 2 %define V_urpm 1.58 %define V_urpm_rpm 1.58-1mdv2007.1 d48 1 a48 1 Release: 20070227 @ 1.42 log @modifying package: urpmi-4.9.14 20070215 -> 20070220 @ text @d26 2 a27 2 %define V_urpmi 4.9.14 %define V_urpmi_rpm 4.9.14-1mdv2007.1 d48 1 a48 1 Release: 20070220 @ 1.41 log @modifying package: urpmi-4.9.14 20070211 -> 20070215 @ text @d30 2 a31 2 %define V_mdv_distribconf 3.06 %define V_mdv_distribconf_rpm 3.06-1mdv2007.0 d48 1 a48 1 Release: 20070215 @ 1.40 log @fix path and new urpmi::media API. Submitted by: PLI @ text @d28 2 a29 2 %define V_urpm 1.57 %define V_urpm_rpm 1.57-1mdv2007.1 d48 1 a48 1 Release: 20070211 @ 1.39 log @modifying package: urpmi-4.9.14 20070210 again @ text @d48 1 a48 1 Release: 20070210 d142 1 d149 1 a149 1 urpmi.addmedia urpmi.update urpmi.removemedia rurpmi urpmi urpmq d160 1 a160 1 urpm/util.pm d176 5 a180 2 -e 's;/usr/bin/md5sum;%{l_prefix}/bin/urpmi.md5sum;g' \ genhdlist d231 1 a231 1 $RPM_INSTALL_PREFIX/bin/perl -Murpm -e ' d234 2 a235 2 $urpm->read_config; $urpm->update_media(nolock => 1, nopubkey => 1); @ 1.38 log @fix tab character in front of make(1) command @ text @d28 2 a29 2 %define V_urpm 1.56 %define V_urpm_rpm 1.56-1mdv2007.1 @ 1.37 log @upgrading package: urpmi 4.9.13 -> 4.9.14 @ text @d48 1 a48 1 Release: 20070126 @ 1.36 log @upgrading package: urpmi 4.9.12 -> 4.9.13 @ text @d26 2 a27 2 %define V_urpmi 4.9.13 %define V_urpmi_rpm 4.9.13-1mdv2007.1 d48 1 a48 1 Release: 20070120 @ 1.35 log @upgrading package: urpmi 4.9.11 -> 4.9.12 @ text @d26 4 a29 4 %define V_urpmi 4.9.12 %define V_urpmi_rpm 4.9.12-1mdv2007.1 %define V_urpm 1.55 %define V_urpm_rpm 1.55-1mdv2007.1 d48 1 a48 1 Release: 20070111 @ 1.34 log @modifying package: urpmi-4.9.11 20070110 again @ text @d26 2 a27 2 %define V_urpmi 4.9.11 %define V_urpmi_rpm 4.9.11-1mdv2007.1 d48 1 a48 1 Release: 20070110 @ 1.33 log @modifying package: urpmi-4.9.11 20070108 -> 20070110 @ text @d28 2 a29 2 %define V_urpm 1.54 %define V_urpm_rpm 1.54-1mdv2007.1 @ 1.32 log @modifying package: urpmi-4.9.11 20061213 -> 20070108 @ text @d28 2 a29 2 %define V_urpm 1.53 %define V_urpm_rpm 1.53-1mdv2007.1 d48 1 a48 1 Release: 20070108 @ 1.31 log @Welcome Year 2007! @ text @d28 2 a29 2 %define V_urpm 1.52 %define V_urpm_rpm 1.52-1mdv2007.1 d48 1 a48 1 Release: 20061213 @ 1.30 log @upgrading package: urpmi 4.9.10 -> 4.9.11 @ text @d3 2 a4 2 ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall @ 1.29 log @upgrading package: urpmi 4.9.8 -> 4.9.10 @ text @d26 2 a27 2 %define V_urpmi 4.9.10 %define V_urpmi_rpm 4.9.10-1mdv2007.1 d48 1 a48 1 Release: 20061207 @ 1.28 log @upgrading package: urpmi 4.9.6 -> 4.9.8 @ text @d26 2 a27 2 %define V_urpmi 4.9.8 %define V_urpmi_rpm 4.9.8-1mdv2007.1 d48 1 a48 1 Release: 20061206 @ 1.27 log @modifying package: urpmi-4.9.6 20061202 -> 20061204 @ text @d26 2 a27 2 %define V_urpmi 4.9.6 %define V_urpmi_rpm 4.9.6-1mdv2007.1 d48 1 a48 1 Release: 20061204 @ 1.26 log @upgrading package: urpmi 4.9.5 -> 4.9.6 @ text @d28 2 a29 2 %define V_urpm 1.51 %define V_urpm_rpm 1.51-1mdv2007.1 d48 1 a48 1 Release: 20061202 @ 1.25 log @upgrading package: urpmi 4.9.4 -> 4.9.5 @ text @d26 4 a29 4 %define V_urpmi 4.9.5 %define V_urpmi_rpm 4.9.5-1mdv2007.1 %define V_urpm 1.50 %define V_urpm_rpm 1.50-1mdv2007.1 d48 1 a48 1 Release: 20061201 @ 1.24 log @modifying package: urpmi-4.9.4 20061128 -> 20061130 @ text @d26 2 a27 2 %define V_urpmi 4.9.4 %define V_urpmi_rpm 4.9.4-1mdv2007.1 d48 1 a48 1 Release: 20061130 @ 1.23 log @fix tracking @ text @d28 2 a29 2 %define V_urpm 1.49 %define V_urpm_rpm 1.49-1mdv2007.1 d48 1 a48 1 Release: 20061128 @ 1.22 log @upgrading package: urpmi 4.8.29 -> 4.9.4 @ text @d48 1 a48 1 Release: 20061125 d87 1 a87 1 version = %{V_urpmi} d89 1 a89 1 regex = urpmi-(__VER__)\.src\.rpm d92 1 a92 1 version = %{V_urpm} d94 1 a94 1 regex = perl-URPM-(__VER__)\.src\.rpm d97 1 a97 1 version = %{V_mdv_packdrakeng} d99 1 a99 1 regex = perl-MDV-Packdrakeng-(__VER__)\.src\.rpm d102 1 a102 1 version = %{V_mdv_distribconf} d104 1 a104 1 regex = perl-MDV-Distribconf-(__VER__)\.src\.rpm d107 1 a107 1 version = %{V_rpmtools} d109 1 a109 1 regex = rpmtools-(__VER__)\.src\.rpm @ 1.21 log @remove some %files stuff I don't understand the reason for and which breaks my own tests; use coreutils non-legacy names; tell people about management user and not superuser @ text @d26 4 a29 4 %define V_urpmi 4.8.29 %define V_urpmi_rpm 4.8.29-1mdv2007.1 %define V_urpm 1.47 %define V_urpm_rpm 1.47-1mdv2007.1 d48 1 a48 1 Release: 20061114 d89 1 a89 1 regex = urpmi-(__VER__)\.src\.gmz @ 1.20 log @add rpmtools to have the [urpmi.]genhdlist command at hand @ text @d147 1 d151 1 d156 2 a157 2 -e "s;/bin/cp;%{l_prefix}/bin/cp;" \ -e "s;/bin/mv;%{l_prefix}/bin/mv;" \ a216 2 '%dir %{l_prefix}/var/urpmi/*' \ '%not %dir %{l_prefix}/etc/urpmi' \ @ 1.19 log @completely work-off the URPMI packaging based on hints from contribution @ text @d34 2 d60 1 d67 1 a67 1 PreReq: OpenPKG, openpkg >= 20040130, perl, coreutils d106 5 d118 1 d123 1 d130 2 d156 1 a156 1 -e "s;/usr/bin/md5sum;%{l_prefix}/bin/md5sum;" \ d171 5 d183 1 d186 26 @ 1.18 log @modifying package: urpmi-4.8.18 20061013 -> 20061017 @ text @a24 2 # FIXME: rse: blindly packaged, still not tested at all under run-time d26 8 a33 4 %define V_urpmi 4.8.18 %define V_urpm 1.47 %define V_mdv_packdrakeng 1.01 %define V_mdv_distribconf 1.01 d46 6 a51 1 Release: 20061017 d54 4 a57 4 Source0: http://www.cpan.org/authors/id/R/RG/RGARCIA/urpmi-%{V_urpmi}.tar.gz Source1: http://www.cpan.org/authors/id/R/RG/RGARCIA/URPM-%{V_urpm}.tar.gz Source2: http://www.cpan.org/authors/id/R/RG/RGARCIA/MDV-Packdrakeng-%{V_mdv_packdrakeng}.tar.gz Source3: http://www.cpan.org/authors/id/R/RG/RGARCIA/MDV-Distribconf-%{V_mdv_distribconf}.tar.gz d63 12 a74 2 BuildPreReq: OpenPKG, openpkg >= 20040130, perl, perl-openpkg PreReq: OpenPKG, openpkg >= 20040130, perl, perl-locale d80 1 d85 2 a86 2 url = http://www.cpan.org/authors/id/R/RG/RGARCIA/ regex = urpmi-(__VER__)\.tar\.gz d90 2 a91 2 url = http://www.cpan.org/authors/id/R/RG/RGARCIA/ regex = URPM-(__VER__)\.tar\.gz d95 2 a96 2 url = http://www.cpan.org/authors/id/R/RG/RGARCIA/ regex = MDV-Packdrakeng-(__VER__)\.tar\.gz d100 2 a101 2 url = http://www.cpan.org/authors/id/R/RG/RGARCIA/ regex = MDV-Distribconf-(__VER__)\.tar\.gz d105 9 a113 4 %setup -q -c %setup -q -D -T -a 1 %setup -q -D -T -a 2 %setup -q -D -T -a 3 d121 1 d125 33 d159 2 d167 2 d170 5 a174 1 %{l_files_std} `cat perl-openpkg-files` d181 23 @ 1.17 log @new world order for "Packager" and "Distribution" headers @ text @d29 1 a29 1 %define V_urpm 1.46 d44 1 a44 1 Release: 20061013 @ 1.17.2.1 log @file urpmi.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:57:36 +0000 @ text @d1 115 @ 1.17.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 115 ## ## urpmi.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # FIXME: rse: blindly packaged, still not tested at all under run-time # package version %define V_urpmi 4.8.18 %define V_urpm 1.46 %define V_mdv_packdrakeng 1.01 %define V_mdv_distribconf 1.01 # package information Name: urpmi Summary: RPM Installer URL: http://www.urpmi.org/ Vendor: Mandrakesoft Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Bootstrapping License: GPL Version: %{V_urpmi} Release: 2.20061018 # list of sources Source0: http://www.cpan.org/authors/id/R/RG/RGARCIA/urpmi-%{V_urpmi}.tar.gz Source1: http://www.cpan.org/authors/id/R/RG/RGARCIA/URPM-%{V_urpm}.tar.gz Source2: http://www.cpan.org/authors/id/R/RG/RGARCIA/MDV-Packdrakeng-%{V_mdv_packdrakeng}.tar.gz Source3: http://www.cpan.org/authors/id/R/RG/RGARCIA/MDV-Distribconf-%{V_mdv_distribconf}.tar.gz Patch0: urpmi.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 2.20061018, perl, perl-openpkg PreReq: OpenPKG, openpkg >= 2.20061018, perl, perl-locale AutoReq: no AutoReqProv: no %description URPMI is a frontend for the RedHat Package Manager (RPM). %track prog urpmi:urpmi = { version = %{V_urpmi} url = http://www.cpan.org/authors/id/R/RG/RGARCIA/ regex = urpmi-(__VER__)\.tar\.gz } prog urpmi:URPM = { version = %{V_urpm} url = http://www.cpan.org/authors/id/R/RG/RGARCIA/ regex = URPM-(__VER__)\.tar\.gz } prog urpmi:MDV-Packdrakeng = { version = %{V_mdv_packdrakeng} url = http://www.cpan.org/authors/id/R/RG/RGARCIA/ regex = MDV-Packdrakeng-(__VER__)\.tar\.gz } prog urpmi:MDV-Distribconf = { version = %{V_mdv_distribconf} url = http://www.cpan.org/authors/id/R/RG/RGARCIA/ regex = MDV-Distribconf-(__VER__)\.tar\.gz } %prep %setup -q -c %setup -q -D -T -a 1 %setup -q -D -T -a 2 %setup -q -D -T -a 3 %patch -p0 %build %install rm -rf $RPM_BUILD_ROOT ( cd urpmi-%{V_urpmi} %{l_shtool} subst \ -e "s;/etc/urpmi;%{l_prefix}/etc/urpmi;" \ urpmq urpm/cfg.pm urpm.pm ) || exit $? %{l_prefix}/bin/perl-openpkg prepare %{l_prefix}/bin/perl-openpkg -d MDV-Distribconf-%{V_mdv_distribconf} configure build install %{l_prefix}/bin/perl-openpkg -d MDV-Packdrakeng-%{V_mdv_packdrakeng} configure build install %{l_prefix}/bin/perl-openpkg -d URPM-%{V_urpm} configure build install %{l_prefix}/bin/perl-openpkg -d urpmi-%{V_urpmi} configure build install %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} `cat perl-openpkg-files` %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.16 log @modifying package: urpmi-4.8.18 20060612 -> 20060919 @ text @d38 2 a39 2 Packager: OpenPKG Distribution: OpenPKG d44 1 a44 1 Release: 20060919 @ 1.15 log @modifying package: urpmi-4.8.18 20060605 -> 20060612 @ text @d29 1 a29 1 %define V_urpm 1.44 d44 1 a44 1 Release: 20060612 @ 1.14 log @modifying package: urpmi-4.8.18 20060522 -> 20060605 @ text @d29 1 a29 1 %define V_urpm 1.43 d44 1 a44 1 Release: 20060605 @ 1.13 log @modifying package: urpmi-4.8.18 20060505 -> 20060522 @ text @d29 1 a29 1 %define V_urpm 1.42 d44 1 a44 1 Release: 20060522 @ 1.12 log @modifying package: urpmi-4.8.18 20060407 -> 20060505 @ text @d29 1 a29 1 %define V_urpm 1.41 d44 1 a44 1 Release: 20060505 @ 1.11 log @upgrading package: urpmi 4.8.17 -> 4.8.18 @ text @d29 1 a29 1 %define V_urpm 1.40 d44 1 a44 1 Release: 20060407 @ 1.10 log @upgrading package: urpmi 4.8.15 -> 4.8.17 @ text @d28 1 a28 1 %define V_urpmi 4.8.17 d44 1 a44 1 Release: 20060403 @ 1.9 log @upgrading package: urpmi 4.8.14 -> 4.8.15 @ text @d28 1 a28 1 %define V_urpmi 4.8.15 d44 1 a44 1 Release: 20060322 @ 1.8 log @upgrading package: urpmi 4.8.13 -> 4.8.14 @ text @d28 1 a28 1 %define V_urpmi 4.8.14 d44 1 a44 1 Release: 20060321 @ 1.7 log @modifying package: urpmi-4.8.13 20060312 -> 20060315 @ text @d28 1 a28 1 %define V_urpmi 4.8.13 d44 1 a44 1 Release: 20060315 @ 1.6 log @requires perl-locale, fix path to configuration files, fix description. Submitted by: skaar @ text @d29 1 a29 1 %define V_urpm 1.39 d44 1 a44 1 Release: 20060312 @ 1.5 log @modifying package: urpmi-4.8.13 20060307 -> 20060308 @ text @d44 1 a44 1 Release: 20060308 d57 1 a57 1 PreReq: OpenPKG, openpkg >= 20040130, perl d62 1 a62 1 URPMI is... d97 5 @ 1.4 log @modifying package: urpmi-4.8.13 20060304 -> 20060307 @ text @d29 1 a29 1 %define V_urpm 1.38 d44 1 a44 1 Release: 20060307 @ 1.3 log @upgrading package: urpmi 4.8.12 -> 4.8.13 @ text @d29 1 a29 1 %define V_urpm 1.37 d44 1 a44 1 Release: 20060304 @ 1.2 log @upgrading package: urpmi 4.8.11 -> 4.8.12 @ text @d28 2 a29 2 %define V_urpmi 4.8.12 %define V_urpm 1.36 d44 1 a44 1 Release: 20060301 @ 1.1 log @new package: urpmi 4.8.11 (RPM Installer) @ text @d28 1 a28 1 %define V_urpmi 4.8.11 d44 1 a44 1 Release: 20060228 @