]> git.pld-linux.org Git - packages/gdisk.git/blobdiff - gdisk.spec
rel 2; uuid and segv fixees from gentoo
[packages/gdisk.git] / gdisk.spec
index 7c709d6a722b91bddef041f2589b8bbb5947a231..e2cf132eb89cdf5aa831df51c4c87ce220b37e01 100644 (file)
@@ -1,13 +1,15 @@
 Summary:       An fdisk-like partitioning tool for GPT disks
+Summary(pl.UTF-8):     Podobne do fdiska narzędzie do partycjonowania dysków GPT
 Name:          gdisk
-Version:       0.8.6
-Release:       1
+Version:       1.0.9
+Release:       2
 License:       GPL v2
 Group:         Base
-Source0:       http://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz
-# Source0-md5: f5ec6647d3de43644ad7e99b34f74982
+Source0:       https://downloads.sourceforge.net/gptfdisk/gptfdisk-%{version}.tar.gz
+# Source0-md5: 01c11ecfa454096543562e3068530e01
+Patch0:                gptfdisk-1.0.9-libuuid.patch
+Patch1:                gptfdisk-1.0.9-popt_segv.patch
 URL:           http://www.rodsbooks.com/gdisk/
-BuildRequires: libicu-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libuuid-devel
 BuildRequires: ncurses-devel
@@ -15,34 +17,47 @@ BuildRequires:      popt-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-An fdisk-like partitioning tool for GPT disks. GPT fdisk features a
-command-line interface, fairly direct manipulation of partition table
-structures, recovery tools to help you deal with corrupt partition
-tables, and the ability to convert MBR disks to GPT format.
+GPT fdisk (gdisk) is an fdisk-like partitioning tool for GPT disks.
+It features a command-line interface, fairly direct manipulation of
+partition table structures, recovery tools to help you deal with
+corrupt partition tables, and the ability to convert MBR disks to GPT
+format.
+
+%description -l pl.UTF-8
+GPT fdisk (gdisk) to podobne do fdiska narzędzie do partycjonowania
+dysków GPT. Ma interfejs linii poleceń, w miarę bezpośrednie operacje
+na strukturach tablicy partycji, narzędzia pomagające przy naprawie
+uszkodzonych tablic partycji oraz możliwość konwersji dysków MBR do
+formatu GPT.
 
 %prep
 %setup -q -n gptfdisk-%{version}
+%patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} \
        CXX="%{__cxx}" \
-       CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64 -I/usr/include/ncurses"
+       CXXFLAGS="%{rpmcxxflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
-install -p gdisk sgdisk fixparts $RPM_BUILD_ROOT%{_sbindir}
-cp -p gdisk.8 sgdisk.8 fixparts.8 $RPM_BUILD_ROOT%{_mandir}/man8
+
+install fixparts *gdisk $RPM_BUILD_ROOT%{_sbindir}
+install -p *.8 $RPM_BUILD_ROOT%{_mandir}/man8
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README NEWS
+%doc NEWS README *.html
+%attr(755,root,root) %{_sbindir}/cgdisk
 %attr(755,root,root) %{_sbindir}/fixparts
 %attr(755,root,root) %{_sbindir}/gdisk
 %attr(755,root,root) %{_sbindir}/sgdisk
+%{_mandir}/man8/cgdisk.8*
 %{_mandir}/man8/fixparts.8*
 %{_mandir}/man8/gdisk.8*
 %{_mandir}/man8/sgdisk.8*
This page took 0.155982 seconds and 4 git commands to generate.