1 | %define _sbindir /sbin |
---|
2 | |
---|
3 | Summary: The GNU disk partition manipulation program. |
---|
4 | Summary(ja): ディスクパーティション操作ツール |
---|
5 | Name: parted |
---|
6 | Version: 3.2 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: GPL |
---|
9 | Group: Applications/Administration |
---|
10 | URL: http://www.gnu.org/software/parted/ |
---|
11 | |
---|
12 | Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz |
---|
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 |
---|
19 | BuildRequires: gettext-devel >= 0.18 |
---|
20 | BuildRequires: texinfo |
---|
21 | BuildRequires: libuuid-devel |
---|
22 | BuildRequires: libblkid-devel >= 2.17 |
---|
23 | BuildRequires: gnupg |
---|
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 |
---|
63 | iconv -f ISO-8859-1 -t UTF8 AUTHORS > tmp; touch -r AUTHORS tmp; mv tmp AUTHORS |
---|
64 | |
---|
65 | %build |
---|
66 | %configure \ |
---|
67 | --enable-device-mapper \ |
---|
68 | --enable-shared |
---|
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 |
---|
115 | * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2-1 |
---|
116 | - new upstream release |
---|
117 | |
---|
118 | * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1-2 |
---|
119 | - rebuild with VineSeed environment |
---|
120 | |
---|
121 | * Sun Jul 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1-1 |
---|
122 | - new upstream release |
---|
123 | - remove Patch1 |
---|
124 | |
---|
125 | * Thu Jan 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0-1 |
---|
126 | - new upstream release |
---|
127 | - remove Patch0 |
---|
128 | |
---|
129 | * Tue Nov 9 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.3-1 |
---|
130 | - new upstream release |
---|
131 | - drop old patches |
---|
132 | - new patch for 2.3 from fc14 |
---|
133 | - add BRs: libuuid-devel, libblkid-devel >= 2.17, gnupg |
---|
134 | - change BR: gettext -> gettext-devel >= 0.18 |
---|
135 | |
---|
136 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.8-2 |
---|
137 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
138 | |
---|
139 | * Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.8-1 |
---|
140 | - new upstream release |
---|
141 | - import patch[1-8] from fedora |
---|
142 | |
---|
143 | * Sat May 19 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.8.1-1vl2 |
---|
144 | - rebuild with new environment/toolchain. |
---|
145 | |
---|
146 | * Fri Dec 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.1-1vl1 |
---|
147 | - new upstream release |
---|
148 | - remove Patch0, 3, 100, 150, 151 and 152 (merged into upstream) |
---|
149 | |
---|
150 | * Sat Sep 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25.1-0vl2 |
---|
151 | - changed Group to Applications/Administration |
---|
152 | |
---|
153 | * Wed May 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25.1-0vl1 |
---|
154 | - new upstream release |
---|
155 | |
---|
156 | * Thu Dec 1 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25-3vl1 |
---|
157 | - new upstream release |
---|
158 | - updated Patch3, 100, 150 and 151 from Fedora |
---|
159 | * Wed Nov 09 2005 Chris Lumens <clumens@redhat.com> 1.6.25-1 |
---|
160 | - Update DASD, iseries, and SX8 patches. |
---|
161 | |
---|
162 | * Mon Aug 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.24-0vl1 |
---|
163 | - new upstream release |
---|
164 | - updated Patch100, 151 |
---|
165 | |
---|
166 | * Mon Apr 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.22-0vl1 |
---|
167 | - new upstream release |
---|
168 | |
---|
169 | * Thu Jan 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.21-1vl1 |
---|
170 | - new upstream release |
---|
171 | - added Patch3 and Patch152, updated Patch150 (from Fedora) |
---|
172 | * Tue Dec 14 2004 Jeremy Katz <katzj@redhat.com> - 1.6.19-2 |
---|
173 | - add support for Promise SX8 devices |
---|
174 | * Thu Nov 11 2004 Jeremy Katz <katzj@redhat.com> - 1.6.16-2 |
---|
175 | - add patch from Matt Domsch to fix consistency of GPT disk labels |
---|
176 | with the EFI specification for disks > 2TB (#138480) |
---|
177 | |
---|
178 | * Tue Nov 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.18-0vl1 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Thu Nov 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.16-0vl1 |
---|
182 | - new upstream release |
---|
183 | |
---|
184 | * Sun Sep 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.15-0vl1 |
---|
185 | - new upstream release |
---|
186 | - added BuildRequires: automake autoconf gettext |
---|
187 | - patches from Fedora development |
---|
188 | * Tue Aug 24 2004 Jeremy Katz <katzj@redhat.com> - 1.6.12-2 |
---|
189 | - fix assertion error when checking flags on non-active partition (#130692) |
---|
190 | - buildrequires: gettext-devel |
---|
191 | * Mon Aug 16 2004 Jeremy Katz <katzj@redhat.com> - 1.6.12-1 |
---|
192 | - update to 1.6.12 with major changes to CHS handling to hopefully fix #115980 |
---|
193 | - adjust dasd patch accordingly, drop some included patches |
---|
194 | * Mon Jul 19 2004 Karsten Hopp <karsten@redhat.de> 1.6.11-4 |
---|
195 | - update dasd patch for dos-type partitions on mainframes (scsi disks) |
---|
196 | |
---|
197 | * Sun Aug 22 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.12-0vl1 |
---|
198 | - new upstream release |
---|
199 | - removed BuildRequires: automake17 autoconf |
---|
200 | - updated %post %postun section to install .info file |
---|
201 | |
---|
202 | * Sun Apr 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.10-0vl2 |
---|
203 | - dropped BuildRequires: libunicode-devel |
---|
204 | |
---|
205 | * Sat Apr 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.10-0vl1 |
---|
206 | - updated to current stable release 1.6.10 |
---|
207 | - changed BuildRequires: automake17 |
---|
208 | - added compile optioin -Os |
---|
209 | - dropped patch1 |
---|
210 | |
---|
211 | * Fri Jun 6 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.5-0vl1 |
---|
212 | - updated to current stable release 1.6.5 |
---|
213 | - changed summay and description based on Rawhide specfile |
---|
214 | |
---|
215 | * Tue Jan 29 2002 Toru Sagami <sagami@vinelinux.org> 1.4.24-0vl1 |
---|
216 | - updated to current stable release 1.4.24 |
---|
217 | |
---|
218 | * Sun Jan 06 2002 Toru Sagami <sagami@vinelinux.org> |
---|
219 | - 1.4.21-0vl1 |
---|
220 | - enable __libtoolize |
---|
221 | |
---|
222 | * Wed Nov 21 2001 Toru Sagami <sagami@vinelinux.org> |
---|
223 | - 1.4.19-0vl1 |
---|
224 | |
---|
225 | * Thu Oct 04 2001 Toru Sagami <sagami@vinelinux.org> |
---|
226 | - 1.4.19-0vl1 |
---|
227 | |
---|
228 | * Sun Aug 19 2001 Toru Sagami <sagami@vinelinux.org> |
---|
229 | - 1.4.18-0vl1 |
---|
230 | - Where did any python related files go? Erase'em. |
---|
231 | |
---|
232 | * Wed Aug 15 2001 <sagami@vinelinux.org> |
---|
233 | - 1.4.16-0vl1 |
---|
234 | - build w/ --enable-shared --enable-all-static, instead of --disable-shared |
---|
235 | - consequently, eliminate Requires against e2fsprogs, readline |
---|
236 | - ldconfig at post/postun |
---|
237 | |
---|
238 | * Mon Jul 09 2001 <sagami@vinelinux.org> |
---|
239 | - 1.4.15-0vl1: use %%{find_lang}, added doc/FAQ |
---|
240 | - %%define __libtoolize /bin/true |
---|
241 | |
---|
242 | * Mon May 28 2001 <sagami@vinelinux.org> |
---|
243 | - 1.4.13-0vl1 |
---|
244 | |
---|
245 | * Wed Apr 18 2001 <sagami@vinelinux.org> |
---|
246 | - 1.4.10-0vl1 |
---|
247 | |
---|
248 | * Sun Jan 21 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp> |
---|
249 | - updated to 1.4.7-0vl1 |
---|
250 | - changed Group for devel subpackage |
---|
251 | - added USER.jp in %doc |
---|
252 | |
---|
253 | * Sun Dec 10 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
254 | - 1.4.2-1vl2 |
---|
255 | - partially used rpmmacros |
---|
256 | |
---|
257 | * Mon Nov 20 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
258 | - 1.4.2-1vl1 |
---|
259 | - build for Vine Linux |
---|
260 | - added Japanese summary and description |
---|
261 | |
---|
262 | * Mon Mar 13 2000 Fabian Emmes <fab@orlen.de> |
---|
263 | - changed "unset LINGUAS" line |
---|
264 | - reintroduced %build section ;) |
---|
265 | - started changelog |
---|