SPECS: crossmingw32-pkgconfig.spec (NEW) - init PLD - based on pkg...

czarny czarny at pld-linux.org
Tue Jan 30 22:19:00 CET 2007


Author: czarny                       Date: Tue Jan 30 21:19:00 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init PLD
- based on pkgconfig.spec

---- Files affected:
SPECS:
   crossmingw32-pkgconfig.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/crossmingw32-pkgconfig.spec
diff -u /dev/null SPECS/crossmingw32-pkgconfig.spec:1.1
--- /dev/null	Tue Jan 30 22:19:00 2007
+++ SPECS/crossmingw32-pkgconfig.spec	Tue Jan 30 22:18:54 2007
@@ -0,0 +1,92 @@
+Summary:	A tool for determining compilation options - cross Mingw32 version
+Summary(pl):	Narzędzie do ustalania opcji kompilacji - skrośna wersja Mingw32
+Summary(pt_BR):	Ferramenta para determinar opçőes de compilaçăo
+Summary(ru):	éÎÓÔŇŐÍĹÎÔ ÄĚŃ ĎĐŇĹÄĹĚĹÎÉŃ ĎĐĂÉĘ ËĎÍĐÉĚŃĂÉÉ
+Summary(uk):	śÎÓÔŇŐÍĹÎÔ ÄĚŃ ×ÉÚÎÁŢĹÎÎŃ ĎĐĂŚĘ ËĎÍĐŚĚŃĂŚ§
+%define		_realname	pkgconfig
+Name:		crossmingw32-%{_realname}
+Version:	0.20
+Release:	1
+License:	GPL
+Group:		Development/Tools
+Source0:	http://pkgconfig.freedesktop.org/releases/pkg-config-%{version}.tar.gz
+# Source0-md5:	fb42402593e4198bc252ab248dd4158b
+URL:		http://pkgconfig.freedesktop.org/wiki/
+BuildRequires:	automake
+Buildrequires:	crossmingw32-gettext
+BuildRequires:	crossmingw32-libiconv
+Provides:	pkg-config = %{version}-%{release}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# NOTE: don't try tu use system glib-1.2.x and popt - it BREAKS things.
+# See http://bugzilla.gnome.org/show_bug.cgi?id=63208.
+# Always use internal (modified) copies of glib/popt) --misiek
+
+%define		no_install_post_strip	1
+
+%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		__cc			%{target}-gcc
+%define		__cxx			%{target}-g++
+
+%description
+pkgconfig is a tool for determining compilation options. For each
+required library it reads a configuration file installed in a standard
+option and ouputs the necessary compiler and linker flags.
+
+%description -l pl
+pkgconfig jest programem używanym do uzyskiwania informacji o
+zainstalowanych w systemie bibliotekach.
+
+%description -l pt_BR
+A ferramenta pkgconfig determina opçőes de compilaçăo. Para cada
+biblioteca requerida a ferramenta lę seus arquivos de configuraçăo e
+emite as opçőes necessárias para o compilador e ligador.
+
+%description -l ru
+pkgconfig - ÜÔĎ ÉÎÓÔŇŐÍĹÎÔ ÄĚŃ ĎĐŇĹÄĹĚĹÎÉŃ ĎĐĂÉĘ ËĎÍĐÉĚŃĂÉÉ. äĚŃ
+ËÁÖÄĎĘ ÎĹĎÂČĎÄÉÍĎĘ ÂÉÂĚÉĎÔĹËÉ ĎÎ ÓŢÉÔŮ×ÁĹÔ ËĎÎĆÉÇŐŇÁĂÉĎÎÎŮĘ ĆÁĘĚ É
+×ŮÄÁĹÔ ÎĹĎÂČĎÄÉÍŮĹ ĆĚÁÇÉ ËĎÍĐÉĚŃÔĎŇÁ É ĚÉÎËĹŇÁ.
+
+%description -l uk
+pkgconfig - ĂĹ ŚÎÓÔŇŐÍĹÎÔ ÄĚŃ ×ÉÚÎÁŢĹÎÎŃ ĎĐĂŚĘ ËĎÍĐŚĚŃĂŚ§. äĚŃ ËĎÖÎϧ
+ÎĹĎÂČŚÄÎϧ ÂŚÂĚŚĎÔĹËÉ ×ŚÎ ÚŢÉÔŐ¤ ËĎÎĆŚÇŐŇÁĂŚĘÎÉĘ ĆÁĘĚ ÔÁ ×ÉÄÁ¤
+ĐĎÔŇŚÂÎŚ ĆĚÁÇÉ ËĎÍĐŚĚŃÔĎŇÁ ÔÁ ĚŚÎËĹŇÁ.
+
+%prep
+%setup -q -n pkg-config-%{version}
+
+%build
+cp -f /usr/share/automake/config.* .
+cp -f /usr/share/automake/config.* glib-1.2.8
+%configure \
+	--host=%{target}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	m4dir=%{_aclocaldir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{_aclocaldir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
================================================================


More information about the pld-cvs-commit mailing list