source: projects/specs/branches/6/p/parted/parted-vl.spec @ 2195

Revision 2195, 8.5 KB checked in by iwamoto, 13 years ago (diff)

parted: new upstream release

Line 
1%define _sbindir    /sbin
2
3Summary: The GNU disk partition manipulation program.
4Summary(ja): ディスクパーティション操作ツール
5Name: parted
6Version: 2.3
7Release: 1%{?_dist_release}
8License: GPL
9Group: Applications/Administration
10URL: http://www.gnu.org/software/parted/
11
12Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
13
14# Recognize scsi disks with a high major as such
15Patch0: parted-2.2-hi-major-sd-rh611691.patch
16# Report partitions changes when using blkext major numbers
17Patch1: parted-2.3-lpn.patch
18
19Buildroot: %{_tmppath}/%{name}-%{version}-root
20BuildRequires: e2fsprogs-devel, ncurses-devel, readline-devel
21BuildRequires: python-devel, ncurses-devel
22BuildRequires: device-mapper-devel
23BuildRequires: libtool, automake, autoconf
24BuildRequires: gettext-devel >= 0.18
25BuildRequires: texinfo
26BuildRequires: libuuid-devel
27BuildRequires: libblkid-devel >= 2.17
28BuildRequires: gnupg
29
30Provides: libparted = %{version}-%{release}
31
32Vendor: Project Vine
33Distribution: Vine Linux
34
35%description
36GNU Parted is a program that allows you to create, destroy,
37resize, move and copy hard disk partitions. This is useful for
38creating space for new operating systems, reorganising disk
39usage, and copying data to new hard disks.
40
41%description -l ja
42GNU Parted はハードディスクのパーティションを作成/削除/リサイズ/
43移動/コピーすることが出来るプログラムです.新しいオペレーティング
44システムをインストールするスペースを確保したり,ディスクのパーティションを
45整理したり,新しいハードディスクにデータをコピーする際に非常に便利です.
46
47%package devel
48Summary: Files for developing apps which will manipulate disk partitions.
49Summary(ja) : パーティション操作をするアプリケーションの開発用ファイル
50Group: Development/Libraries
51Requires: parted = %{version}-%{release}
52Provides: libparted-devel = %{version}-%{release}
53
54%description devel
55The GNU Parted library is a set of routines for hard disk partition
56manipulation. If you want to develop programs that manipulate disk
57partitions and filesystems using the routines provided by the GNU
58Parted library, you need to install this package.
59
60%description devel -l ja
61GNU Parted ライブラリにはハードディスクのパーティションを操作する
62関数が用意されています。GNU Parted ライブラリが提供する関数を使って
63ディスクパーティションやファイルシステムを操作するプログラムを開発
64したいのであれば、このパッケージをインストールして下さい。
65
66%prep
67%setup -q
68%patch0 -p1
69%patch1 -p1
70iconv -f ISO-8859-1 -t UTF8 AUTHORS > tmp; touch -r AUTHORS tmp; mv tmp AUTHORS
71
72%build
73%configure \
74    --enable-device-mapper \
75    --enable-shared \
76    --enable-Werror=no
77%__make %{?_smp_mflags}
78
79%install
80[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
81%__make install DESTDIR=$RPM_BUILD_ROOT
82
83# Remove components we do not ship
84%{__rm} -rf %{buildroot}%{_libdir}/*.la
85%{__rm} -rf %{buildroot}%{_infodir}/dir
86%{__rm} -rf %{buildroot}%{_bindir}/label
87
88%find_lang %{name}
89
90%post
91/sbin/ldconfig
92/sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir >/dev/null 2>&1 || :
93
94%postun
95/sbin/ldconfig
96
97%preun
98if [ $1 = 0 ]; then
99   /sbin/install-info --delete %{_infodir}/parted.info.gz %{_infodir}/dir >/dev/null 2>&1 || :
100fi
101
102%clean
103[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
104
105%files -f %{name}.lang
106%defattr(-,root,root)
107%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
108%doc doc/FAT doc/USER.jp
109%{_sbindir}/*
110%{_mandir}/man8/*
111%{_libdir}/lib*.so.*
112%{_infodir}/parted.info*
113
114%files devel
115%defattr(-,root,root)
116%doc doc/API
117%{_includedir}/*
118%{_libdir}/lib*.so
119%{_libdir}/*.a
120%{_libdir}/pkgconfig/libparted.pc
121
122%changelog
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
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
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
Note: See TracBrowser for help on using the repository browser.