Initial commit

This commit is contained in:
Steve Dickson 2006-04-22 12:19:27 +00:00
parent d07c7ee642
commit 9d3a5c9030
3 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1 @@
cachefilesd-0.1.tar.bz2

67
cachefilesd.spec Normal file
View File

@ -0,0 +1,67 @@
Name: cachefilesd
Version: 0.1
Release: 1
Summary: CacheFiles userspace management daemon
Group: System Environment/Daemons
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source0: cachefilesd-0.1.tar.bz2
%description
The cachefilesd daemon manages the caching files and directory that are
that are used by network filesystems such a AFS and NFS to
do persistent caching to the local disk.
%prep
%setup -q
%build
%ifarch s390 s390x
PIE="-fPIE"
%else
PIE="-fpie"
%endif
export PIE
CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS $PIE`"
aclocal
automake --add-missing
autoconf
%configure \
CFLAGS="$CFLAGS" \
CPPFLAGS="$DEFINES" \
LDFLAGS="-pie" \
--prefix=%{buildroot}
make all
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/sbin
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
mkdir -p %{buildroot}%{_mandir}/{man5,man8}
make DESTDIR=%{buildroot} install
install -m 644 etc/cachefilesd.conf %{buildroot}%{_sysconfdir}
install -m 755 etc/cachefilesd.initd %{buildroot}%{_sysconfdir}/rc.d/init.d/cachefilesd
%clean
%post
%postun
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog
%config(noreplace) %{_sysconfdir}/cachefilesd.conf
%config %{_sysconfdir}/rc.d/init.d/cachefilesd
%{_sbindir}/cachefilesd
%{_mandir}/*/*
%changelog
* Sat Apr 22 2006 Steve Dickson <steved@redhat.com> 0.1-1
- Initial commit

View File

@ -0,0 +1 @@
9afa349c2e2eee6021dfcf76e087183c cachefilesd-0.1.tar.bz2