|
|
@ -6,7 +6,6 @@ URL: http://www.gnu.org/software/libidn/
|
|
|
|
License: LGPLv2+ and GPLv3+ and GFDL
|
|
|
|
License: LGPLv2+ and GPLv3+ and GFDL
|
|
|
|
Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
|
|
|
|
Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig, gettext
|
|
|
|
BuildRequires: pkgconfig, gettext
|
|
|
|
Requires(post): /sbin/install-info /sbin/ldconfig
|
|
|
|
Requires(post): /sbin/install-info /sbin/ldconfig
|
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
Requires(preun): /sbin/install-info
|
|
|
@ -58,7 +57,6 @@ make %{?_smp_mflags} V=1
|
|
|
|
make %{?_smp_mflags} -C tests check VALGRIND=env
|
|
|
|
make %{?_smp_mflags} -C tests check VALGRIND=env
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
# provide more examples
|
|
|
|
# provide more examples
|
|
|
@ -99,11 +97,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%doc AUTHORS NEWS FAQ README THANKS COPYING*
|
|
|
|
%doc AUTHORS NEWS FAQ README THANKS COPYING*
|
|
|
|
%{_bindir}/idn
|
|
|
|
%{_bindir}/idn
|
|
|
|
%{_mandir}/man1/idn.1*
|
|
|
|
%{_mandir}/man1/idn.1*
|
|
|
@ -111,7 +105,6 @@ rm -rf %{buildroot}
|
|
|
|
%{_infodir}/%{name}.info.gz
|
|
|
|
%{_infodir}/%{name}.info.gz
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(0644,root,root,755)
|
|
|
|
|
|
|
|
%doc doc/libidn.html examples
|
|
|
|
%doc doc/libidn.html examples
|
|
|
|
%{_libdir}/libidn.so
|
|
|
|
%{_libdir}/libidn.so
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_includedir}/*.h
|
|
|
@ -119,7 +112,6 @@ rm -rf %{buildroot}
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%files -n emacs-%{name}
|
|
|
|
%files -n emacs-%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%{_emacs_sitelispdir}/%{name}
|
|
|
|
%{_emacs_sitelispdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|