97 lines
2.2 KiB
RPMSpec
97 lines
2.2 KiB
RPMSpec
|
|
||
|
Summary: Internationalized Domain Name support library
|
||
|
Name: libidn
|
||
|
Version: 0.4.3
|
||
|
Release: 1
|
||
|
URL: http://www.gnu.org/software/libidn
|
||
|
License: LGPL
|
||
|
Source0: %{name}-%{version}.tar.gz
|
||
|
Group: System/Libraries
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
BuildRequires: pkgconfig
|
||
|
|
||
|
%description
|
||
|
GNU Libidn is an implementation of the Stringprep, Punycode and
|
||
|
IDNA specifications defined by the IETF Internationalized Domain
|
||
|
Names (IDN) working group, used for internationalized domain
|
||
|
names.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for the libidn library
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{version}-%{release}
|
||
|
Requires: pkgconfig
|
||
|
|
||
|
%description devel
|
||
|
This package includes header files and libraries necessary for
|
||
|
developing programs which use the GNU libidn library.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%check
|
||
|
make %{?_smp_mflags} -C tests check
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||
|
%makeinstall
|
||
|
|
||
|
# provide more examples
|
||
|
make %{?_smp_mflags} -C examples distclean
|
||
|
|
||
|
# clean up docs
|
||
|
find doc -name "Makefile*" | xargs rm
|
||
|
|
||
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/{locale,info}
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc ChangeLog NEWS FAQ README THANKS COPYING*
|
||
|
%{_bindir}/idn
|
||
|
%{_mandir}/man1/idn.1*
|
||
|
%{_datadir}/emacs/site-lisp
|
||
|
%{_libdir}/libidn.so.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(0644,root,root,755)
|
||
|
%doc doc/libidn.html examples contrib
|
||
|
%{_libdir}/libidn.so
|
||
|
%{_libdir}/libidn.*a
|
||
|
%{_includedir}/*.h
|
||
|
%{_libdir}/pkgconfig/*.pc
|
||
|
%{_mandir}/man3/*
|
||
|
|
||
|
%changelog
|
||
|
* Thu Apr 29 2004 Joe Orton <jorton@redhat.com> 0.4.3-1
|
||
|
- update to 0.4.3, remove -rpath patch
|
||
|
|
||
|
* Tue Jan 27 2004 Joe Orton <jorton@redhat.com> 0.3.7-1
|
||
|
- update to 0.3.7, simplify
|
||
|
|
||
|
* Wed Jan 07 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.3.6-1mdk
|
||
|
- 0.3.6
|
||
|
|
||
|
* Mon Dec 15 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.5-1mdk
|
||
|
- 0.3.5
|
||
|
|
||
|
* Sun Oct 19 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.3-2mdk
|
||
|
- drop the "soname fix" and use the correct way...
|
||
|
|
||
|
* Sat Oct 18 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.3-1mdk
|
||
|
- 0.3.3
|
||
|
|
||
|
* Mon Oct 13 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.2-1mdk
|
||
|
- initial cooker contrib
|
||
|
- used the package from PLD as a start point
|