Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
ti:omap3:n950-n9
>
hardlink
> hardlink.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File hardlink.spec of Package hardlink
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.25 # Name: hardlink # >> macros # << macros Summary: Create a tree of hardlinks Version: 1.0 Release: 9 Group: System/Base License: GPL+ URL: http://cvs.fedora.redhat.com/viewcvs/devel/hardlink/ Source0: hardlink.c Source1: hardlink.1 Source100: hardlink.yaml %description hardlink is used to create a tree of hard links. It's used by kernel installation to dramatically reduce the amount of diskspace used by each kernel package installed. %prep %setup -q -c -T # >> setup install -pm 644 %{SOURCE0} hardlink.c # << setup %build # >> build pre # << build pre # >> build post gcc $RPM_OPT_FLAGS hardlink.c -o hardlink # << build post %install rm -rf %{buildroot} # >> install pre # << install pre # >> install post install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/hardlink.1 install -D -m 755 hardlink $RPM_BUILD_ROOT%{_sbindir}/hardlink # << install post %files %defattr(-,root,root,-) # >> files %{_sbindir}/hardlink %doc %{_mandir}/man1/hardlink.1* # << files