- adjust buildroot location (guidelines)
- disable static libraries (guidelines) - tweak default payload attributes (guidelines)
This commit is contained in:
parent
7cc3eee109
commit
df88dda0bf
18
hesiod.spec
18
hesiod.spec
|
@ -1,6 +1,6 @@
|
|||
Name: hesiod
|
||||
Version: 3.1.0
|
||||
Release: 17%{?dist}
|
||||
Release: 18%{?dist}
|
||||
Source: ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-%{version}.tar.gz
|
||||
Patch0: hesiod-3.1.0-classes.patch
|
||||
Patch1: hesiod-3.1.0-env.patch
|
||||
|
@ -11,7 +11,7 @@ Patch5: hesiod-3.1.0-perms.patch
|
|||
Summary: Shared libraries for querying the Hesiod naming service
|
||||
Group: System Environment/Libraries
|
||||
License: MIT
|
||||
Buildroot: %{_tmppath}/hesiod-root
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
|
||||
%description
|
||||
|
@ -34,6 +34,11 @@ ensure synchronize the files among multiple hosts. This package contains
|
|||
the header files and libraries required for building programs which use Hesiod.
|
||||
|
||||
%changelog
|
||||
* Wed Jan 13 2010 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-15
|
||||
- adjust buildroot location (guidelines)
|
||||
- disable static libraries (guidelines)
|
||||
- tweak default payload attributes (guidelines)
|
||||
|
||||
* Tue Oct 13 2009 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-17
|
||||
- add a disttag
|
||||
|
||||
|
@ -215,11 +220,11 @@ aclocal
|
|||
autoconf -f -i
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure --disable-static
|
||||
make
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
|
||||
|
@ -231,14 +236,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%defattr(-,root,root,-)
|
||||
%doc README NEWS
|
||||
%{_libdir}/libhesiod.so.*
|
||||
%{_mandir}/man5/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libhesiod.a
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libhesiod.so
|
||||
%{_includedir}/hesiod.h
|
||||
%{_mandir}/man3/*
|
||||
|
|
Loading…
Reference in New Issue