SPECS: crossmingw32-expat.spec - cleaned up - pkg config dir
czarny
czarny at pld-linux.org
Tue Feb 20 19:53:35 CET 2007
Author: czarny Date: Tue Feb 20 18:53:35 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cleaned up
- pkg config dir
---- Files affected:
SPECS:
crossmingw32-expat.spec (1.16 -> 1.17)
---- Diffs:
================================================================
Index: SPECS/crossmingw32-expat.spec
diff -u SPECS/crossmingw32-expat.spec:1.16 SPECS/crossmingw32-expat.spec:1.17
--- SPECS/crossmingw32-expat.spec:1.16 Mon Feb 12 22:23:51 2007
+++ SPECS/crossmingw32-expat.spec Tue Feb 20 19:53:30 2007
@@ -1,19 +1,19 @@
# $Revision$, $Date$
-%define realname expat
Summary: XML 1.0 parser - Ming32 cross version
Summary(pl.UTF-8): Analizator składni XML-a 1.0 - wersja skrośna dla Ming32
Summary(pt_BR.UTF-8): Biblioteca XML expat
Summary(ru.UTF-8): Переносимая библиотека разбора XML (expat)
Summary(uk.UTF-8): Переносима бібліотека розбору XML (expat)
-Name: crossmingw32-%{realname}
+%define _realname expat
+Name: crossmingw32-%{_realname}
Version: 2.0.0
Release: 1
License: Thai Open Source Software Center Ltd (distributable)
Group: Applications/Publishing/XML
-Source0: http://dl.sourceforge.net/expat/%{realname}-%{version}.tar.gz
+Source0: http://dl.sourceforge.net/expat/%{_realname}-%{version}.tar.gz
# Source0-md5: d945df7f1c0868c5c73cf66ba9596f3f
-Patch0: %{realname}-ac_fixes.patch
-Patch1: %{realname}-soname.patch
+Patch0: %{_realname}-ac_fixes.patch
+Patch1: %{_realname}-soname.patch
URL: http://expat.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -26,9 +26,14 @@
%define target i386-mingw32
%define target_platform i386-pc-mingw32
+%define arch %{_prefix}/%{target}
+%define gccarch %{_prefix}/lib/gcc-lib/%{target}
+%define gcclib %{_prefix}/lib/gcc-lib/%{target}/%{version}
+
%define _sysprefix /usr
%define _prefix %{_sysprefix}/%{target}
-
+%define _aclocaldir %{_datadir}/aclocal
+%define _pkgconfigdir %{_libdir}/pkgconfig
%define __cc %{target}-gcc
%define __cxx %{target}-g++
@@ -66,15 +71,18 @@
парсер.
%prep
-%setup -q -n %{realname}-%{version}
+%setup -q -n %{_realname}-%{version}
%patch0 -p1
%patch1 -p1
%build
+export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%configure \
+ AR="%{target}-ar" \
+ RANLIB="%{target}-ranlib" \
--target=%{target} \
--host=%{target_platform} \
--disable-static
@@ -107,6 +115,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.17 2007/02/20 18:53:30 czarny
+- cleaned up
+- pkg config dir
+
Revision 1.16 2007/02/12 21:23:51 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/crossmingw32-expat.spec?r1=1.16&r2=1.17&f=u
More information about the pld-cvs-commit
mailing list