This commit is contained in:
parent
bec9daf97a
commit
8e2b98df47
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 19 00:33:40 CET 2008 - crrodriguez@suse.de
|
||||
|
||||
- remove "la" file with empty dependency_libs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 27 10:17:50 CET 2008 - stbinner@suse.de
|
||||
|
||||
|
18
libidn.spec
18
libidn.spec
@ -15,7 +15,7 @@ Name: libidn
|
||||
License: GPL v3 only; LGPL v2.1 or later
|
||||
Group: System/Libraries
|
||||
Version: 1.5
|
||||
Release: 1
|
||||
Release: 5
|
||||
Summary: Support for Internationalized Domain Names (IDN)
|
||||
Url: http://www.gnu.org/software/libidn/
|
||||
Source0: http://josefsson.org/libidn/releases/libidn-%version.tar.bz2
|
||||
@ -42,7 +42,7 @@ Authors:
|
||||
Simon Josefsson <simon@josefsson.org>
|
||||
|
||||
%package devel
|
||||
Requires: %name = %version
|
||||
Requires: %{name} = %{version} glibc-devel
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Group: System/Libraries
|
||||
|
||||
@ -66,27 +66,28 @@ Authors:
|
||||
Simon Josefsson <simon@josefsson.org>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --libdir=%_libdir \
|
||||
--mandir=%_mandir --infodir=%_infodir --enable-gtk-doc
|
||||
export CFLAGS=$RPM_OPT_FLAGS
|
||||
%configure --enable-gtk-doc
|
||||
make
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
rm -f $RPM_BUILD_ROOT/%_infodir/dir
|
||||
rm -f %{buildroot}%{_libdir}/libidn.la
|
||||
%find_lang %name
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
/sbin/ldconfig
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/libidn.info.gz
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
/sbin/ldconfig
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libidn.info.gz
|
||||
|
||||
%files -f %name.lang
|
||||
@ -103,7 +104,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libidn.la
|
||||
%_libdir/libidn.a
|
||||
%_libdir/libidn.so
|
||||
/usr/include/*.h
|
||||
@ -111,6 +111,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%_mandir/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 19 2008 crrodriguez@suse.de
|
||||
- remove "la" file with empty dependency_libs
|
||||
* Wed Feb 27 2008 stbinner@suse.de
|
||||
- update to 1.5:
|
||||
* Don't include wchar.h in idn-int.h.
|
||||
|
Loading…
Reference in New Issue
Block a user