| 1 |
Summary: Create a tree of hardlinks
|
| 2 |
Name: hardlink
|
| 3 |
Version: 1.0
|
| 4 |
Release: 9%{?dist}
|
| 5 |
Epoch: 1
|
| 6 |
Group: System Environment/Base
|
| 7 |
URL: http://cvs.fedora.redhat.com/viewcvs/devel/hardlink/
|
| 8 |
License: GPL+
|
| 9 |
Source0: hardlink.c
|
| 10 |
Source1: hardlink.1
|
| 11 |
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 12 |
Obsoletes: kernel-utils
|
| 13 |
|
| 14 |
%description
|
| 15 |
hardlink is used to create a tree of hard links.
|
| 16 |
It's used by kernel installation to dramatically reduce the
|
| 17 |
amount of diskspace used by each kernel package installed.
|
| 18 |
|
| 19 |
%prep
|
| 20 |
%setup -q -c -T
|
| 21 |
install -pm 644 %{SOURCE0} hardlink.c
|
| 22 |
|
| 23 |
%build
|
| 24 |
gcc $RPM_OPT_FLAGS hardlink.c -o hardlink
|
| 25 |
|
| 26 |
%install
|
| 27 |
rm -rf $RPM_BUILD_ROOT
|
| 28 |
install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/hardlink.1
|
| 29 |
install -D -m 755 hardlink $RPM_BUILD_ROOT%{_sbindir}/hardlink
|
| 30 |
|
| 31 |
%clean
|
| 32 |
rm -rf $RPM_BUILD_ROOT
|
| 33 |
|
| 34 |
%files
|
| 35 |
%defattr(-,root,root)
|
| 36 |
%{_sbindir}/hardlink
|
| 37 |
%{_mandir}/man1/hardlink.1*
|
| 38 |
|
| 39 |
%changelog
|
| 40 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-9
|
| 41 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 42 |
|
| 43 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-8
|
| 44 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 45 |
|
| 46 |
* Mon Feb 25 2008 Jindrich Novy <jnovy@redhat.com> 1:1.0-7
|
| 47 |
- manual rebuild because of gcc-4.3 (#434188)
|
| 48 |
|
| 49 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:1.0-6
|
| 50 |
- Autorebuild for GCC 4.3
|
| 51 |
|
| 52 |
* Thu Aug 23 2007 Jindrich Novy <jnovy@redhat.com> - 1:1.0-5
|
| 53 |
- update License
|
| 54 |
- rebuild for BuildID
|
| 55 |
|
| 56 |
* Mon Apr 23 2007 Jindrich Novy <jnovy@redhat.com> - 1:1.0-4
|
| 57 |
- include sources in debuginfo package (#230833)
|
| 58 |
|
| 59 |
* Mon Feb 5 2007 Jindrich Novy <jnovy@redhat.com> - 1:1.0-3
|
| 60 |
- merge review related spec fixes (#225881)
|
| 61 |
|
| 62 |
* Sun Oct 29 2006 Jindrich Novy <jnovy@redhat.com> - 1:1.0-2
|
| 63 |
- update docs to describe highest verbosity -vv option (#210816)
|
| 64 |
- use dist
|
| 65 |
|
| 66 |
* Wed Jul 12 2006 Jindrich Novy <jnovy@redhat.com> - 1:1.0-1.23
|
| 67 |
- remove ugly suffixes added by rebuild script
|
| 68 |
|
| 69 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.0-1.21.2.1
|
| 70 |
- rebuild
|
| 71 |
|
| 72 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:1.0-1.20.2
|
| 73 |
- bump again for double-long bug on ppc(64)
|
| 74 |
|
| 75 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:1.0-1.19.1
|
| 76 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
| 77 |
|
| 78 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
| 79 |
- rebuilt
|
| 80 |
|
| 81 |
* Mon Nov 14 2005 Jindrich Novy <jnovy@redhat.com>
|
| 82 |
- more spec cleanup - thanks to Matthias Saou (#172968)
|
| 83 |
- use UTF-8 encoding in the source
|
| 84 |
|
| 85 |
* Mon Nov 7 2005 Jindrich Novy <jnovy@redhat.com>
|
| 86 |
- add hardlink man page
|
| 87 |
- add -h option
|
| 88 |
- use _sbindir instead of /usr/sbin directly
|
| 89 |
- don't warn because of uninitialized variable
|
| 90 |
- spec cleanup
|
| 91 |
|
| 92 |
* Fri Aug 26 2005 Dave Jones <davej@redhat.com>
|
| 93 |
- Document hardlink command line options. (Ville Skytta) (#161738)
|
| 94 |
|
| 95 |
* Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com>
|
| 96 |
- don't try to hardlink 0 byte files (#154404)
|
| 97 |
|
| 98 |
* Fri Apr 15 2005 Florian La Roche <laroche@redhat.com>
|
| 99 |
- remove empty scripts
|
| 100 |
|
| 101 |
* Tue Mar 1 2005 Dave Jones <davej@redhat.com>
|
| 102 |
- rebuild for gcc4
|
| 103 |
|
| 104 |
* Tue Feb 8 2005 Dave Jones <davej@redhat.com>
|
| 105 |
- rebuild with -D_FORTIFY_SOURCE=2
|
| 106 |
|
| 107 |
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
|
| 108 |
- Add missing Obsoletes: kernel-utils
|
| 109 |
|
| 110 |
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
|
| 111 |
- Initial packaging, based upon kernel-utils.
|