source: projects/specs/trunk/p/parted/parted-vl.spec @ 1989

Revision 1989, 8.4 KB checked in by owa, 14 years ago (diff)

rebuilt with rpm-4.8.1

Line 
1%define _sbindir    /sbin
2
3Summary: The GNU disk partition manipulation program.
4Summary(ja): ディスクパーティション操作ツール
5Name: parted
6Version: 1.8.8
7Release: 2%{?_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.bz2
13Patch0:  %{name}-1.8.8-xvd.patch
14Patch1:  %{name}-1.8.8-devmapper-header.patch
15Patch2:  %{name}-1.8.8-noinst-headers.patch
16Patch3:  %{name}-1.8.8-manpage.patch
17Patch4:  %{name}-1.8.8-gcc-4.3.patch
18Patch5:  %{name}-1.8.8-nofixgpt.patch
19Patch6:  %{name}-1.8.8-alpha.patch
20Patch7:  %{name}-1.8.8-dospartrec.patch
21Patch8:  %{name}-1.8.8-appletv.patch
22
23Buildroot: %{_tmppath}/%{name}-%{version}-root
24BuildRequires: e2fsprogs-devel, ncurses-devel, readline-devel
25BuildRequires: python-devel, ncurses-devel
26BuildRequires: device-mapper-devel
27BuildRequires: libtool, automake, autoconf
28BuildRequires: gettext, texinfo
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 -b .xvd
69%patch1 -p1 -b .devmapper
70%patch2 -p1 -b .noinst
71%patch3 -p1 -b .manpage
72%patch4 -p1 -b .gcc43
73%patch5 -p1 -b .nofixgpt
74%patch6 -p1 -b .alpha
75%patch7 -p1 -b .dospartrec
76%patch8 -p1 -b .appletv
77
78%build
79%configure \
80    --enable-device-mapper \
81    --enable-shared \
82    --enable-Werror=no
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
104if [ $1 = 0 ]; then
105   /sbin/install-info --delete %{_infodir}/parted.info.gz %{_infodir}/dir >/dev/null 2>&1 || :
106fi
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)
113%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
114%doc doc/FAT doc/USER.jp
115%{_sbindir}/*
116%{_mandir}/man8/*
117%{_libdir}/lib*.so.*
118%{_infodir}/parted.info*
119
120%files devel
121%defattr(-,root,root)
122%doc doc/API
123%{_includedir}/*
124%{_libdir}/lib*.so
125%{_libdir}/*.a
126%{_libdir}/pkgconfig/libparted.pc
127
128%changelog
129* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.8-2
130- rebuilt with rpm-4.8.1 for pkg-config
131
132* Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.8-1
133- new upstream release
134- import patch[1-8] from fedora
135
136* Sat May 19 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.8.1-1vl2
137- rebuild with new environment/toolchain.
138
139* Fri Dec  8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.1-1vl1
140- new upstream release
141- remove Patch0, 3, 100, 150, 151 and 152 (merged into upstream)
142
143* Sat Sep  9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25.1-0vl2
144- changed Group to Applications/Administration
145
146* Wed May  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25.1-0vl1
147- new upstream release
148
149* Thu Dec  1 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25-3vl1
150- new upstream release
151- updated Patch3, 100, 150 and 151 from Fedora
152  * Wed Nov 09 2005 Chris Lumens <clumens@redhat.com> 1.6.25-1
153  - Update DASD, iseries, and SX8 patches.
154
155* Mon Aug 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.24-0vl1
156- new upstream release
157- updated Patch100, 151
158
159* Mon Apr 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.22-0vl1
160- new upstream release
161
162* Thu Jan 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.21-1vl1
163- new upstream release
164- added Patch3 and Patch152, updated Patch150 (from Fedora)
165  * Tue Dec 14 2004 Jeremy Katz <katzj@redhat.com> - 1.6.19-2
166  - add support for Promise SX8 devices
167  * Thu Nov 11 2004 Jeremy Katz <katzj@redhat.com> - 1.6.16-2
168  - add patch from Matt Domsch to fix consistency of GPT disk labels
169    with the EFI specification for disks > 2TB (#138480)
170
171* Tue Nov 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.18-0vl1
172- new upstream release
173
174* Thu Nov 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.16-0vl1
175- new upstream release
176
177* Sat Sep 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.15-0vl1
178- new upstream release
179- added BuildRequires: automake autoconf gettext
180- patches from Fedora development
181  * Tue Aug 24 2004 Jeremy Katz <katzj@redhat.com> - 1.6.12-2
182  - fix assertion error when checking flags on non-active partition (#130692)
183  - buildrequires: gettext-devel
184  * Mon Aug 16 2004 Jeremy Katz <katzj@redhat.com> - 1.6.12-1
185  - update to 1.6.12 with major changes to CHS handling to hopefully fix #115980
186  - adjust dasd patch accordingly, drop some included patches
187  * Mon Jul 19 2004 Karsten Hopp <karsten@redhat.de> 1.6.11-4
188  - update dasd patch for dos-type partitions on mainframes (scsi disks)
189
190* Sun Aug 22 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.12-0vl1
191- new upstream release
192- removed BuildRequires: automake17 autoconf
193- updated %post %postun section to install .info file
194
195* Sun Apr 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.10-0vl2
196- dropped BuildRequires: libunicode-devel
197
198* Sat Apr 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.10-0vl1
199- updated to current stable release 1.6.10
200- changed BuildRequires: automake17
201- added compile optioin -Os
202- dropped patch1
203
204* Fri Jun  6 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.5-0vl1
205- updated to current stable release 1.6.5
206- changed summay and description based on Rawhide specfile
207
208* Tue Jan 29 2002 Toru Sagami <sagami@vinelinux.org> 1.4.24-0vl1
209- updated to current stable release 1.4.24
210
211* Sun Jan 06 2002 Toru Sagami <sagami@vinelinux.org>
212- 1.4.21-0vl1
213- enable __libtoolize
214
215* Wed Nov 21 2001 Toru Sagami <sagami@vinelinux.org>
216- 1.4.19-0vl1
217
218* Thu Oct 04 2001 Toru Sagami <sagami@vinelinux.org>
219- 1.4.19-0vl1
220
221* Sun Aug 19 2001 Toru Sagami <sagami@vinelinux.org>
222- 1.4.18-0vl1
223- Where did any python related files go?  Erase'em.
224
225* Wed Aug 15 2001 <sagami@vinelinux.org>
226- 1.4.16-0vl1
227- build w/ --enable-shared --enable-all-static, instead of --disable-shared
228- consequently, eliminate Requires against e2fsprogs, readline
229- ldconfig at post/postun
230
231* Mon Jul 09 2001 <sagami@vinelinux.org>
232- 1.4.15-0vl1: use %%{find_lang}, added doc/FAQ
233- %%define __libtoolize /bin/true
234
235* Mon May 28 2001 <sagami@vinelinux.org>
236- 1.4.13-0vl1
237
238* Wed Apr 18 2001 <sagami@vinelinux.org>
239- 1.4.10-0vl1
240
241* Sun Jan 21 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
242- updated to 1.4.7-0vl1
243- changed Group for devel subpackage
244- added USER.jp in %doc
245
246* Sun Dec 10 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
247- 1.4.2-1vl2
248- partially used rpmmacros
249
250* Mon Nov 20 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
251- 1.4.2-1vl1
252- build for Vine Linux
253- added Japanese summary and description
254
255* Mon Mar 13 2000 Fabian Emmes <fab@orlen.de>
256- changed "unset LINGUAS" line
257- reintroduced %build section ;)
258- started changelog
Note: See TracBrowser for help on using the repository browser.