Browse Source

parted: new upstream release

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2195 ec354946-7b23-47d6-9f5a-488ba84defc7
iwamoto 13 years ago
parent
commit
4b0e7382f7
1 changed files with 23 additions and 22 deletions
  1. 23 22
      p/parted/parted-vl.spec

+ 23 - 22
p/parted/parted-vl.spec

@@ -3,29 +3,29 @@
 Summary: The GNU disk partition manipulation program.
 Summary(ja): ディスクパーティション操作ツール
 Name: parted
-Version: 1.8.8
-Release: 2%{?_dist_release}
+Version: 2.3
+Release: 1%{?_dist_release}
 License: GPL
 Group: Applications/Administration
 URL: http://www.gnu.org/software/parted/
 
-Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
-Patch0:  %{name}-1.8.8-xvd.patch
-Patch1:  %{name}-1.8.8-devmapper-header.patch
-Patch2:  %{name}-1.8.8-noinst-headers.patch
-Patch3:  %{name}-1.8.8-manpage.patch
-Patch4:  %{name}-1.8.8-gcc-4.3.patch
-Patch5:  %{name}-1.8.8-nofixgpt.patch
-Patch6:  %{name}-1.8.8-alpha.patch
-Patch7:  %{name}-1.8.8-dospartrec.patch
-Patch8:  %{name}-1.8.8-appletv.patch
+Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
+
+# Recognize scsi disks with a high major as such
+Patch0: parted-2.2-hi-major-sd-rh611691.patch
+# Report partitions changes when using blkext major numbers
+Patch1: parted-2.3-lpn.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: e2fsprogs-devel, ncurses-devel, readline-devel
 BuildRequires: python-devel, ncurses-devel
 BuildRequires: device-mapper-devel
 BuildRequires: libtool, automake, autoconf
-BuildRequires: gettext, texinfo
+BuildRequires: gettext-devel >= 0.18
+BuildRequires: texinfo
+BuildRequires: libuuid-devel
+BuildRequires: libblkid-devel >= 2.17
+BuildRequires: gnupg
 
 Provides: libparted = %{version}-%{release}
 
@@ -65,15 +65,9 @@ GNU Parted ライブラリにはハードディスクのパーティションを
 
 %prep
 %setup -q
-%patch0 -p1 -b .xvd
-%patch1 -p1 -b .devmapper
-%patch2 -p1 -b .noinst
-%patch3 -p1 -b .manpage
-%patch4 -p1 -b .gcc43
-%patch5 -p1 -b .nofixgpt
-%patch6 -p1 -b .alpha
-%patch7 -p1 -b .dospartrec
-%patch8 -p1 -b .appletv
+%patch0 -p1
+%patch1 -p1
+iconv -f ISO-8859-1 -t UTF8 AUTHORS > tmp; touch -r AUTHORS tmp; mv tmp AUTHORS
 
 %build
 %configure \
@@ -126,6 +120,13 @@ fi
 %{_libdir}/pkgconfig/libparted.pc
 
 %changelog
+* Tue Nov  9 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.3-1
+- new upstream release
+- drop old patches
+- new patch for 2.3 from fc14 
+- add BRs: libuuid-devel, libblkid-devel >= 2.17, gnupg
+- change BR: gettext -> gettext-devel >= 0.18
+
 * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.8-2
 - rebuilt with rpm-4.8.1 for pkg-config