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