- 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
|
Name: hesiod
|
||||||
Version: 3.1.0
|
Version: 3.1.0
|
||||||
Release: 17%{?dist}
|
Release: 18%{?dist}
|
||||||
Source: ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-%{version}.tar.gz
|
Source: ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-%{version}.tar.gz
|
||||||
Patch0: hesiod-3.1.0-classes.patch
|
Patch0: hesiod-3.1.0-classes.patch
|
||||||
Patch1: hesiod-3.1.0-env.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
|
Summary: Shared libraries for querying the Hesiod naming service
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
Buildroot: %{_tmppath}/hesiod-root
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: autoconf, automake, libtool
|
BuildRequires: autoconf, automake, libtool
|
||||||
|
|
||||||
%description
|
%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.
|
the header files and libraries required for building programs which use Hesiod.
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Oct 13 2009 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-17
|
||||||
- add a disttag
|
- add a disttag
|
||||||
|
|
||||||
|
@ -215,11 +220,11 @@ aclocal
|
||||||
autoconf -f -i
|
autoconf -f -i
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --disable-static
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||||
|
|
||||||
|
@ -231,14 +236,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc README NEWS
|
%doc README NEWS
|
||||||
%{_libdir}/libhesiod.so.*
|
%{_libdir}/libhesiod.so.*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libhesiod.a
|
|
||||||
%{_libdir}/libhesiod.so
|
%{_libdir}/libhesiod.so
|
||||||
%{_includedir}/hesiod.h
|
%{_includedir}/hesiod.h
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
Loading…
Reference in New Issue