[521] | 1 | %define _sbindir /sbin |
---|
| 2 | |
---|
| 3 | Summary: The GNU disk partition manipulation program. |
---|
| 4 | Summary(ja): ディスクパーティション操作ツール |
---|
| 5 | Name: parted |
---|
[12462] | 6 | Version: 3.3 |
---|
[12169] | 7 | Release: 1%{?_dist_release} |
---|
[12462] | 8 | Group: admin-tools,system |
---|
| 9 | Vendor: Project Vine |
---|
| 10 | Distribution: Vine Linux |
---|
| 11 | |
---|
[9482] | 12 | License: GPLv3 |
---|
[521] | 13 | URL: http://www.gnu.org/software/parted/ |
---|
[12169] | 14 | Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz |
---|
[521] | 15 | |
---|
[12169] | 16 | # Upstream still uses python2 for these scripts |
---|
| 17 | Patch0000: 0092-Switch-gpt-header-move-and-msdos-overlap-to-python3.patch |
---|
| 18 | |
---|
[521] | 19 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | BuildRequires: e2fsprogs-devel, ncurses-devel, readline-devel |
---|
[12169] | 21 | BuildRequires: python3-devel, ncurses-devel |
---|
[521] | 22 | BuildRequires: device-mapper-devel |
---|
| 23 | BuildRequires: libtool, automake, autoconf |
---|
[2195] | 24 | BuildRequires: gettext-devel >= 0.18 |
---|
| 25 | BuildRequires: texinfo |
---|
| 26 | BuildRequires: libuuid-devel |
---|
| 27 | BuildRequires: libblkid-devel >= 2.17 |
---|
| 28 | BuildRequires: gnupg |
---|
[521] | 29 | |
---|
| 30 | Provides: libparted = %{version}-%{release} |
---|
| 31 | |
---|
| 32 | %description |
---|
| 33 | GNU Parted is a program that allows you to create, destroy, |
---|
| 34 | resize, move and copy hard disk partitions. This is useful for |
---|
| 35 | creating space for new operating systems, reorganising disk |
---|
| 36 | usage, and copying data to new hard disks. |
---|
| 37 | |
---|
| 38 | %description -l ja |
---|
| 39 | GNU Parted はハードディスクのパーティションを作成/削除/リサイズ/ |
---|
| 40 | 移動/コピーすることが出来るプログラムです.新しいオペレーティング |
---|
| 41 | システムをインストールするスペースを確保したり,ディスクのパーティションを |
---|
| 42 | 整理したり,新しいハードディスクにデータをコピーする際に非常に便利です. |
---|
| 43 | |
---|
[12462] | 44 | |
---|
[521] | 45 | %package devel |
---|
| 46 | Summary: Files for developing apps which will manipulate disk partitions. |
---|
| 47 | Summary(ja) : パーティション操作をするアプリケーションの開発用ファイル |
---|
[12462] | 48 | Group: programming |
---|
[521] | 49 | Requires: parted = %{version}-%{release} |
---|
| 50 | Provides: libparted-devel = %{version}-%{release} |
---|
| 51 | |
---|
| 52 | %description devel |
---|
| 53 | The GNU Parted library is a set of routines for hard disk partition |
---|
| 54 | manipulation. If you want to develop programs that manipulate disk |
---|
| 55 | partitions and filesystems using the routines provided by the GNU |
---|
| 56 | Parted library, you need to install this package. |
---|
| 57 | |
---|
| 58 | %description devel -l ja |
---|
| 59 | GNU Parted ライブラリにはハードディスクのパーティションを操作する |
---|
| 60 | 関数が用意されています。GNU Parted ライブラリが提供する関数を使って |
---|
| 61 | ディスクパーティションやファイルシステムを操作するプログラムを開発 |
---|
| 62 | したいのであれば、このパッケージをインストールして下さい。 |
---|
| 63 | |
---|
| 64 | %prep |
---|
| 65 | %setup -q |
---|
[12169] | 66 | %patch0 -p1 -b .python3 |
---|
| 67 | |
---|
[2195] | 68 | iconv -f ISO-8859-1 -t UTF8 AUTHORS > tmp; touch -r AUTHORS tmp; mv tmp AUTHORS |
---|
[521] | 69 | |
---|
| 70 | %build |
---|
[12169] | 71 | autoreconf |
---|
| 72 | autoconf |
---|
| 73 | |
---|
| 74 | CFLAGS="$RPM_OPT_FLAGS -Wno-unused-but-set-variable"; export CFLAGS |
---|
[521] | 75 | %configure \ |
---|
| 76 | --enable-device-mapper \ |
---|
[6580] | 77 | --enable-shared |
---|
[12169] | 78 | |
---|
| 79 | # Don't use rpath! |
---|
| 80 | %{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
| 81 | %{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
| 82 | |
---|
[521] | 83 | %__make %{?_smp_mflags} |
---|
| 84 | |
---|
| 85 | %install |
---|
| 86 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 87 | %__make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 88 | |
---|
| 89 | # Remove components we do not ship |
---|
| 90 | %{__rm} -rf %{buildroot}%{_libdir}/*.la |
---|
| 91 | %{__rm} -rf %{buildroot}%{_infodir}/dir |
---|
| 92 | %{__rm} -rf %{buildroot}%{_bindir}/label |
---|
| 93 | |
---|
| 94 | %find_lang %{name} |
---|
| 95 | |
---|
| 96 | %post |
---|
| 97 | /sbin/ldconfig |
---|
| 98 | /sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir >/dev/null 2>&1 || : |
---|
| 99 | |
---|
| 100 | %postun |
---|
| 101 | /sbin/ldconfig |
---|
| 102 | |
---|
| 103 | %preun |
---|
| 104 | if [ $1 = 0 ]; then |
---|
| 105 | /sbin/install-info --delete %{_infodir}/parted.info.gz %{_infodir}/dir >/dev/null 2>&1 || : |
---|
| 106 | fi |
---|
| 107 | |
---|
| 108 | %clean |
---|
| 109 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 110 | |
---|
| 111 | %files -f %{name}.lang |
---|
| 112 | %defattr(-,root,root) |
---|
[12169] | 113 | %license COPYING |
---|
[12462] | 114 | %doc AUTHORS BUGS ChangeLog* NEWS README* THANKS TODO |
---|
[521] | 115 | %doc doc/FAT doc/USER.jp |
---|
| 116 | %{_sbindir}/* |
---|
| 117 | %{_mandir}/man8/* |
---|
| 118 | %{_libdir}/lib*.so.* |
---|
| 119 | %{_infodir}/parted.info* |
---|
| 120 | |
---|
| 121 | %files devel |
---|
| 122 | %defattr(-,root,root) |
---|
| 123 | %doc doc/API |
---|
| 124 | %{_includedir}/* |
---|
| 125 | %{_libdir}/lib*.so |
---|
| 126 | %{_libdir}/*.a |
---|
[12169] | 127 | %{_libdir}/pkgconfig/libparted*.pc |
---|
[521] | 128 | |
---|
| 129 | %changelog |
---|
[12462] | 130 | * Mon Aug 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3-1 |
---|
| 131 | - new upstream release. |
---|
| 132 | |
---|
[12169] | 133 | * Mon Sep 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.153-1 |
---|
| 134 | - new upstream release. |
---|
| 135 | - built with readline-8.0. |
---|
| 136 | |
---|
[9482] | 137 | * Thu Apr 2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2-2 |
---|
| 138 | - rebuilt with readline 6.3 |
---|
| 139 | |
---|
[8914] | 140 | * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2-1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
[8191] | 143 | * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1-2 |
---|
| 144 | - rebuild with VineSeed environment |
---|
| 145 | |
---|
[6580] | 146 | * Sun Jul 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1-1 |
---|
| 147 | - new upstream release |
---|
| 148 | - remove Patch1 |
---|
| 149 | |
---|
[5356] | 150 | * Thu Jan 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0-1 |
---|
| 151 | - new upstream release |
---|
| 152 | - remove Patch0 |
---|
| 153 | |
---|
[2195] | 154 | * Tue Nov 9 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.3-1 |
---|
| 155 | - new upstream release |
---|
| 156 | - drop old patches |
---|
| 157 | - new patch for 2.3 from fc14 |
---|
| 158 | - add BRs: libuuid-devel, libblkid-devel >= 2.17, gnupg |
---|
| 159 | - change BR: gettext -> gettext-devel >= 0.18 |
---|
| 160 | |
---|
[1989] | 161 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.8-2 |
---|
| 162 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 163 | |
---|
[521] | 164 | * Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.8-1 |
---|
| 165 | - new upstream release |
---|
| 166 | - import patch[1-8] from fedora |
---|
| 167 | |
---|
| 168 | * Sat May 19 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.8.1-1vl2 |
---|
| 169 | - rebuild with new environment/toolchain. |
---|
| 170 | |
---|
| 171 | * Fri Dec 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.1-1vl1 |
---|
| 172 | - new upstream release |
---|
| 173 | - remove Patch0, 3, 100, 150, 151 and 152 (merged into upstream) |
---|
| 174 | |
---|
| 175 | * Sat Sep 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25.1-0vl2 |
---|
| 176 | - changed Group to Applications/Administration |
---|
| 177 | |
---|
| 178 | * Wed May 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25.1-0vl1 |
---|
| 179 | - new upstream release |
---|
| 180 | |
---|
| 181 | * Thu Dec 1 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25-3vl1 |
---|
| 182 | - new upstream release |
---|
| 183 | - updated Patch3, 100, 150 and 151 from Fedora |
---|
| 184 | * Wed Nov 09 2005 Chris Lumens <clumens@redhat.com> 1.6.25-1 |
---|
| 185 | - Update DASD, iseries, and SX8 patches. |
---|
| 186 | |
---|
| 187 | * Mon Aug 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.24-0vl1 |
---|
| 188 | - new upstream release |
---|
| 189 | - updated Patch100, 151 |
---|
| 190 | |
---|
| 191 | * Mon Apr 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.22-0vl1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
| 194 | * Thu Jan 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.21-1vl1 |
---|
| 195 | - new upstream release |
---|
| 196 | - added Patch3 and Patch152, updated Patch150 (from Fedora) |
---|
| 197 | * Tue Dec 14 2004 Jeremy Katz <katzj@redhat.com> - 1.6.19-2 |
---|
| 198 | - add support for Promise SX8 devices |
---|
| 199 | * Thu Nov 11 2004 Jeremy Katz <katzj@redhat.com> - 1.6.16-2 |
---|
| 200 | - add patch from Matt Domsch to fix consistency of GPT disk labels |
---|
| 201 | with the EFI specification for disks > 2TB (#138480) |
---|
| 202 | |
---|
| 203 | * Tue Nov 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.18-0vl1 |
---|
| 204 | - new upstream release |
---|
| 205 | |
---|
| 206 | * Thu Nov 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.16-0vl1 |
---|
| 207 | - new upstream release |
---|
| 208 | |
---|
[8191] | 209 | * Sun Sep 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.15-0vl1 |
---|
[521] | 210 | - new upstream release |
---|
| 211 | - added BuildRequires: automake autoconf gettext |
---|
| 212 | - patches from Fedora development |
---|
| 213 | * Tue Aug 24 2004 Jeremy Katz <katzj@redhat.com> - 1.6.12-2 |
---|
| 214 | - fix assertion error when checking flags on non-active partition (#130692) |
---|
| 215 | - buildrequires: gettext-devel |
---|
| 216 | * Mon Aug 16 2004 Jeremy Katz <katzj@redhat.com> - 1.6.12-1 |
---|
| 217 | - update to 1.6.12 with major changes to CHS handling to hopefully fix #115980 |
---|
| 218 | - adjust dasd patch accordingly, drop some included patches |
---|
| 219 | * Mon Jul 19 2004 Karsten Hopp <karsten@redhat.de> 1.6.11-4 |
---|
| 220 | - update dasd patch for dos-type partitions on mainframes (scsi disks) |
---|
| 221 | |
---|
| 222 | * Sun Aug 22 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.12-0vl1 |
---|
| 223 | - new upstream release |
---|
| 224 | - removed BuildRequires: automake17 autoconf |
---|
| 225 | - updated %post %postun section to install .info file |
---|
| 226 | |
---|
| 227 | * Sun Apr 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.10-0vl2 |
---|
| 228 | - dropped BuildRequires: libunicode-devel |
---|
| 229 | |
---|
| 230 | * Sat Apr 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.10-0vl1 |
---|
| 231 | - updated to current stable release 1.6.10 |
---|
| 232 | - changed BuildRequires: automake17 |
---|
| 233 | - added compile optioin -Os |
---|
| 234 | - dropped patch1 |
---|
| 235 | |
---|
| 236 | * Fri Jun 6 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.5-0vl1 |
---|
| 237 | - updated to current stable release 1.6.5 |
---|
| 238 | - changed summay and description based on Rawhide specfile |
---|
| 239 | |
---|
| 240 | * Tue Jan 29 2002 Toru Sagami <sagami@vinelinux.org> 1.4.24-0vl1 |
---|
| 241 | - updated to current stable release 1.4.24 |
---|
| 242 | |
---|
| 243 | * Sun Jan 06 2002 Toru Sagami <sagami@vinelinux.org> |
---|
| 244 | - 1.4.21-0vl1 |
---|
| 245 | - enable __libtoolize |
---|
| 246 | |
---|
| 247 | * Wed Nov 21 2001 Toru Sagami <sagami@vinelinux.org> |
---|
| 248 | - 1.4.19-0vl1 |
---|
| 249 | |
---|
| 250 | * Thu Oct 04 2001 Toru Sagami <sagami@vinelinux.org> |
---|
| 251 | - 1.4.19-0vl1 |
---|
| 252 | |
---|
| 253 | * Sun Aug 19 2001 Toru Sagami <sagami@vinelinux.org> |
---|
| 254 | - 1.4.18-0vl1 |
---|
| 255 | - Where did any python related files go? Erase'em. |
---|
| 256 | |
---|
| 257 | * Wed Aug 15 2001 <sagami@vinelinux.org> |
---|
| 258 | - 1.4.16-0vl1 |
---|
| 259 | - build w/ --enable-shared --enable-all-static, instead of --disable-shared |
---|
| 260 | - consequently, eliminate Requires against e2fsprogs, readline |
---|
| 261 | - ldconfig at post/postun |
---|
| 262 | |
---|
| 263 | * Mon Jul 09 2001 <sagami@vinelinux.org> |
---|
| 264 | - 1.4.15-0vl1: use %%{find_lang}, added doc/FAQ |
---|
| 265 | - %%define __libtoolize /bin/true |
---|
| 266 | |
---|
| 267 | * Mon May 28 2001 <sagami@vinelinux.org> |
---|
| 268 | - 1.4.13-0vl1 |
---|
| 269 | |
---|
| 270 | * Wed Apr 18 2001 <sagami@vinelinux.org> |
---|
| 271 | - 1.4.10-0vl1 |
---|
| 272 | |
---|
| 273 | * Sun Jan 21 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp> |
---|
| 274 | - updated to 1.4.7-0vl1 |
---|
| 275 | - changed Group for devel subpackage |
---|
| 276 | - added USER.jp in %doc |
---|
| 277 | |
---|
| 278 | * Sun Dec 10 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 279 | - 1.4.2-1vl2 |
---|
| 280 | - partially used rpmmacros |
---|
| 281 | |
---|
| 282 | * Mon Nov 20 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 283 | - 1.4.2-1vl1 |
---|
| 284 | - build for Vine Linux |
---|
| 285 | - added Japanese summary and description |
---|
| 286 | |
---|
| 287 | * Mon Mar 13 2000 Fabian Emmes <fab@orlen.de> |
---|
| 288 | - changed "unset LINGUAS" line |
---|
| 289 | - reintroduced %build section ;) |
---|
| 290 | - started changelog |
---|