xambroz 4b91893
%global         gituser         ya-mouse
xambroz 4b91893
%global         gitname         fatresize
Michal Ambroz e2aafd9
%global         commit          321973ba156bbf2489e82c47c94b2bca74b16316
xambroz 4b91893
%global         shortcommit     %(c=%{commit}; echo ${c:0:7})
xambroz 4b91893
xambroz 4b91893
xambroz 4b91893
Name:           fatresize
rpmbuild 07f2696
Version:        1.1.0
Michal Ambroz e2aafd9
# Build from git commit
rpmbuild 07f2696
# Release:       0.1.git%%{shortcommit}%%{?dist}
Michal Ambroz e2aafd9
# Build from git release version
rpmbuild 07f2696
Release:        1%{?dist}
xambroz 4b91893
License:        GPLv3+
xambroz 4b91893
Summary:        FAT16/FAT32 resizer
Michal Ambroz e2aafd9
URL:            https://github.com/ya-mouse/fatresize
Michal Ambroz e2aafd9
#               http://sourceforge.net/projects/fatresize/
Michal Ambroz e2aafd9
# Build from git commit
rpmbuild 07f2696
# Source0:       https://github.com/%%{gituser}/%%{gitname}/archive/%%{commit}/%%{name}-%%{version}-%%{shortcommit}.tar.gz
Michal Ambroz e2aafd9
# Build from git release version
Michal Ambroz e2aafd9
Source0:        https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
xambroz 4b91893
xambroz 4b91893
xambroz 4b91893
BuildRequires:  gcc
xambroz 4b91893
BuildRequires:  autoconf
xambroz 4b91893
BuildRequires:  automake
xambroz 4b91893
BuildRequires:  parted-devel
xambroz 4b91893
BuildRequires:  e2fsprogs-devel
xambroz 4b91893
BuildRequires:  docbook-utils
xambroz 4b91893
BuildRequires:  w3m
xambroz 4b91893
xambroz 4b91893
%description
xambroz 4b91893
The FAT16/FAT32 non-destructive resizer.
xambroz 4b91893
xambroz 4b91893
%prep
Michal Ambroz e2aafd9
# Build from git commit
rpmbuild 07f2696
# setup -q -n %%{gitname}-%%{commit}
Michal Ambroz e2aafd9
# Build from git release version
Michal Ambroz e2aafd9
%setup -q -n %{gitname}-%{version}
Michal Ambroz e2aafd9
xambroz 4b91893
#docbook-to-man not available in Fedora
xambroz 4b91893
sed -i -e 's|docbook-to-man|docbook2man|;' Makefile.am
xambroz 4b91893
xambroz 4b91893
%build
xambroz 4b91893
autoreconf -ifv
xambroz 4b91893
%configure
xambroz 4b91893
%make_build
xambroz 4b91893
xambroz 4b91893
%install
xambroz 4b91893
%make_install
xambroz 4b91893
xambroz 4b91893
%files
xambroz 4b91893
%doc AUTHORS ChangeLog README
xambroz 4b91893
%license COPYING
xambroz 4b91893
%{_sbindir}/*
xambroz 4b91893
%{_mandir}/man1/*
xambroz 4b91893
xambroz 4b91893
%changelog
rpmbuild 07f2696
* Sun Apr 05 2020 Michal Ambroz <rebus _AT seznam.cz> - 1.1.0-1
rpmbuild 07f2696
- update to release version 1.1.0
rpmbuild 07f2696
ec07e28
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-5
ec07e28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ec07e28
3f3999f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-4
3f3999f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3f3999f
8a317b4
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
8a317b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
8a317b4
e174914
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
e174914
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e174914
Michal Ambroz e2aafd9
* Tue Mar 13 2018 Michal Ambroz <rebus _AT seznam.cz> - 1.0.4-1
Michal Ambroz e2aafd9
- update to release version 1.0.4
Michal Ambroz e2aafd9
05bed45
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-7.git20161118
05bed45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
05bed45
0a00f7b
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-6.git20161118
0a00f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0a00f7b
a21c0be
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-5.git20161118
a21c0be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a21c0be
xambroz 4b91893
* Fri Nov 18 2016 Michal Ambroz <rebus _AT seznam.cz> - 1.0.3-4.git20161118
xambroz 4b91893
- witch to new github repository https://github.com/ya-mouse/fatresize
xambroz 4b91893
xambroz 4b91893
* Fri Nov 18 2016 Michal Ambroz <rebus _AT seznam.cz> - 1.0.3-3.git20100729
xambroz 4b91893
- include license
xambroz 4b91893
xambroz 4b91893
* Thu Nov 17 2016 Michal Ambroz <rebus _AT seznam.cz> - 1.0.3-2.git20100729
xambroz 4b91893
- review changes #1395955 - dist-tag, group, make macro, cosmetics
xambroz 4b91893
- fix generation/installation of man-page
xambroz 4b91893
xambroz 4b91893
* Wed Nov 16 2016 Michal Ambroz <rebus _AT seznam.cz> - 1.0.3-1.git20100729
xambroz 4b91893
- update to latest git
xambroz 4b91893
xambroz 4b91893
* Wed Feb 25 2015 Huaren Zhong <huaren.zhong@gmail.com> - 1.0.3
xambroz 4b91893
- Rebuild for Fedora
xambroz 4b91893
xambroz 4b91893
* Mon Apr 15 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 1.0.3-alt11.git20090730.qa1
xambroz 4b91893
- NMU: rebuilt for debuginfo.
xambroz 4b91893
xambroz 4b91893
* Thu Apr 01 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.3-alt11.git20090730
xambroz 4b91893
- Version 1.0.3
xambroz 4b91893
xambroz 4b91893
* Sun Aug 10 2008 Led <led@altlinux.ru> 1.0.2-alt11
xambroz 4b91893
- fixed spec
xambroz 4b91893
- added name-1.0.2-alt.patch
xambroz 4b91893
xambroz 4b91893
* Wed Aug 15 2007 Led <led@altlinux.ru> 1.0.2-alt10
xambroz 4b91893
- rebuild with libparted-1.8.so.8
xambroz 4b91893
- fixed License
xambroz 4b91893
xambroz 4b91893
* Mon May 14 2007 Led <led@altlinux.ru> 1.0.2-alt9
xambroz 4b91893
- rebuild with libparted-1.8.so.7
xambroz 4b91893
xambroz 4b91893
* Sun Mar 25 2007 Led <led@altlinux.ru> 1.0.2-alt8
xambroz 4b91893
- rebuild with libparted-1.8.so.6
xambroz 4b91893
xambroz 4b91893
* Mon Mar 19 2007 Led <led@altlinux.ru> 1.0.2-alt7
xambroz 4b91893
- rebuild with libparted-1.8.so.4
xambroz 4b91893
- added name-1.0.2+libparted-1.8.3.patch
xambroz 4b91893
xambroz 4b91893
* Tue Jan 16 2007 Led <led@altlinux.ru> 1.0.2-alt6
xambroz 4b91893
- rebuild with libparted-1.8.so.2
xambroz 4b91893
xambroz 4b91893
* Mon Nov 27 2006 Led <led@altlinux.ru> 1.0.2-alt5
xambroz 4b91893
- rebuild with libparted-1.8.so.0
xambroz 4b91893
- added docs
xambroz 4b91893
xambroz 4b91893
* Wed Jul 05 2006 ALT QA Team Robot <qa-robot@altlinux.org> 1.0.2-alt4.1
xambroz 4b91893
- NMU: rebuild with libparted-1.7.so.1
xambroz 4b91893
xambroz 4b91893
* Tue Sep 20 2005 Kachalov Anton <mouse@altlinux.ru> 1.0.2-alt4
xambroz 4b91893
- LFS support
xambroz 4b91893
xambroz 4b91893
* Mon Sep 19 2005 Kachalov Anton <mouse@altlinux.ru> 1.0.2-alt3
xambroz 4b91893
- restore original partition geometry while resizing EVMS partition
xambroz 4b91893
xambroz 4b91893
* Thu Sep 15 2005 Kachalov Anton <mouse@altlinux.ru> 1.0.2-alt2
xambroz 4b91893
- added default name translation of EVMS partitions
xambroz 4b91893
- synced resize code with new cmd-line parted utility 1.6.24
xambroz 4b91893
xambroz 4b91893
* Wed Sep 07 2005 Kachalov Anton <mouse@altlinux.ru> 1.0.2-alt1
xambroz 4b91893
- tell k|M|G and ki|Mi|Gi suffixes
xambroz 4b91893
- proper filesystem information
xambroz 4b91893
- resize partition only for non-EVMS partitions
xambroz 4b91893
xambroz 4b91893
* Wed Apr 13 2005 Kachalov Anton <mouse@altlinux.ru> 1.0.1-alt1
xambroz 4b91893
- removed translation option: fix new geometry boundary
xambroz 4b91893
xambroz 4b91893
* Mon Apr 11 2005 Anton D. Kachalov <mouse@altlinux.org> 1.0-alt2
xambroz 4b91893
- added translating option
xambroz 4b91893
xambroz 4b91893
* Fri Apr 08 2005 Anton D. Kachalov <mouse@altlinux.org> 1.0-alt1
xambroz 4b91893
- first build