Author: qboosh                       Date: Sat Dec 10 16:17:47 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.6.0 (with C# binding, where mono available - maybe use pnet 
elsewhere?)

---- Files affected:
SPECS:
   libidn.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: SPECS/libidn.spec
diff -u SPECS/libidn.spec:1.44 SPECS/libidn.spec:1.45
--- SPECS/libidn.spec:1.44      Sat Dec 10 14:56:06 2005
+++ SPECS/libidn.spec   Sat Dec 10 17:17:41 2005
@@ -3,18 +3,25 @@
 # - prepare package with web-files and java from contrib
 #
 # Conditional build:
+%bcond_without dotnet  # don't build C# binding
 %bcond_with    java    # build Java implementation
 %bcond_without python  # don't build python interface
 #
+%ifnarch %{ix86} %{x8664} arm hppa ppc s390 s390x
+%undefine      with_dotnet
+%endif
+%ifarch i386
+%undefine      with_dotnet
+%endif
 Summary:       Internationalized string processing library
 Summary(pl):   Biblioteka do przetwarzania umiędzynarodowionych łańcuchów
 Name:          libidn
-Version:       0.5.20
+Version:       0.6.0
 Release:       1
 License:       LGPL v2.1
 Group:         Libraries
 Source0:       http://josefsson.org/libidn/releases/%{name}-%{version}.tar.gz
-# Source0-md5: b8ccbdf43b8da1722a6773c4e426d059
+# Source0-md5: 4991ab5ce647c89fa4812d9a1700a8f6
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-python.patch
 URL:           http://www.gnu.org/software/libidn/
@@ -23,6 +30,7 @@
 BuildRequires: gettext-devel >= 0.14.1
 %{?with_java:BuildRequires:    jdk}
 BuildRequires: libtool >= 2:1.5
+%{?with_dotnet:BuildRequires:  mono}
 BuildRequires: perl-base
 %{?with_python:BuildRequires:  python-devel >= 1:2.3}
 BuildRequires: texinfo >= 4.7
@@ -66,6 +74,18 @@
 %description static -l pl
 Statyczna biblioteka libidn.
 
+%package -n dotnet-libidn
+Summary:       C# binding for libidn
+Summary(pl):   Wiązanie C# dla libidn
+Group:         Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description -n dotnet-libidn
+C# binding for libidn.
+
+%description -n dotnet-libidn -l pl
+Wiązanie C# dla libidn.
+
 %package -n emacs-libidn-pkg
 Summary:       IDN support files for emacs
 Summary(pl):   Obsługa IDN dla emacsa
@@ -119,6 +139,7 @@
 %{__autoheader}
 %{__automake}
 %configure \
+       %{?with_dotnet:--enable-csharp=mono}%{!?with_dotnet:--disable-csharp} \
        %{?with_java:--enable-java} \
        --with-lispdir=%{_emacs_lispdir}
 
@@ -172,6 +193,13 @@
 %defattr(644,root,root,755)
 %{_libdir}/libidn.a
 
+%if %{with dotnet}
+%files -n dotnet-libidn
+%defattr(644,root,root,755)
+# why not in gac? does it work here?
+%{_libdir}/Libidn.dll
+%endif
+
 %files -n emacs-libidn-pkg
 %defattr(644,root,root,755)
 %{_emacs_lispdir}/*.el
@@ -194,6 +222,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2005/12/10 16:17:41  qboosh
+- updated to 0.6.0 (with C# binding, where mono available - maybe use pnet 
elsewhere?)
+
 Revision 1.44  2005/12/10 13:56:06  sparky
 - added without python bcond
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libidn.spec?r1=1.44&r2=1.45&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to