merge emacs-libidn with main package (#1234563)
This commit is contained in:
parent
d102645807
commit
1790083394
21
libidn.spec
21
libidn.spec
@ -6,12 +6,16 @@ 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
|
||||||
BuildRequires: pkgconfig, gettext
|
BuildRequires: pkgconfig gettext emacs
|
||||||
Requires(post): /sbin/install-info /sbin/ldconfig
|
Requires(post): /sbin/install-info /sbin/ldconfig
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
Requires(postun): /sbin/ldconfig
|
Requires(postun): /sbin/ldconfig
|
||||||
# gnulib is a copylib, bundling is allowed
|
# gnulib is a copylib, bundling is allowed
|
||||||
Provides: bundled(gnulib)
|
Provides: bundled(gnulib)
|
||||||
|
# emacs-libidn merged with main package in 1.30-4
|
||||||
|
Obsoletes: emacs-libidn < 1.30-4
|
||||||
|
Provides: emacs-libidn < 1.30-4
|
||||||
|
Requires: emacs-filesystem >= %{_emacs_version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GNU Libidn is an implementation of the Stringprep, Punycode and
|
GNU Libidn is an implementation of the Stringprep, Punycode and
|
||||||
@ -29,17 +33,6 @@ Requires: pkgconfig
|
|||||||
This package includes header files and libraries necessary for
|
This package includes header files and libraries necessary for
|
||||||
developing programs which use the GNU libidn library.
|
developing programs which use the GNU libidn library.
|
||||||
|
|
||||||
%package -n emacs-%{name}
|
|
||||||
Summary: GNU Emacs libidn support files
|
|
||||||
License: GPLv3+
|
|
||||||
BuildRequires: emacs
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Requires: emacs(bin) >= %{_emacs_version}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n emacs-%{name}
|
|
||||||
This package includes libidn support files for GNU Emacs.
|
|
||||||
|
|
||||||
%package java
|
%package java
|
||||||
Summary: Java port of the GNU Libidn library
|
Summary: Java port of the GNU Libidn library
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
@ -141,6 +134,7 @@ fi
|
|||||||
%{_mandir}/man1/idn.1*
|
%{_mandir}/man1/idn.1*
|
||||||
%{_libdir}/libidn.so.*
|
%{_libdir}/libidn.so.*
|
||||||
%{_infodir}/%{name}.info.gz
|
%{_infodir}/%{name}.info.gz
|
||||||
|
%{_emacs_sitelispdir}/%{name}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc doc/libidn.html examples
|
%doc doc/libidn.html examples
|
||||||
@ -149,9 +143,6 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%files -n emacs-%{name}
|
|
||||||
%{_emacs_sitelispdir}/%{name}
|
|
||||||
|
|
||||||
%files java -f .mfiles
|
%files java -f .mfiles
|
||||||
%license COPYING* java/LICENSE-2.0.txt
|
%license COPYING* java/LICENSE-2.0.txt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user