diff --git a/0ad.spec b/0ad.spec index 3d04dd9..abfafbd 100644 --- a/0ad.spec +++ b/0ad.spec @@ -21,23 +21,23 @@ Version: 0.0.18 Release: 0 Url: http://play0ad.com/ Source: http://sourceforge.net/projects/zero-ad/files/releases/%{name}-%{version}-alpha-unix-build.tar.xz -BuildRequires: DevIL-devel +BuildRequires: pkgconfig(IL) BuildRequires: boost-devel BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: libicu-devel +BuildRequires: pkgconfig(icu-i18n) BuildRequires: mozilla-nspr-devel BuildRequires: xz BuildRequires: pkgconfig(zlib) %if 0%{?suse_version} >= 1220 BuildRequires: libXcursor-devel %endif -BuildRequires: libcurl-devel -BuildRequires: libgloox-devel +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(gloox) BuildRequires: libjpeg-devel BuildRequires: libminiupnpc-devel BuildRequires: libpng-devel -BuildRequires: libvorbis-devel +BuildRequires: pkgconfig(vorbis) BuildRequires: nasm BuildRequires: python BuildRequires: subversion @@ -46,8 +46,8 @@ BuildRequires: pkgconfig(libxml-2.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} -BuildRequires: libenet-devel -BuildRequires: openal-soft-devel +BuildRequires: pkgconfig(libenet) +BuildRequires: pkgconfig(openal) BuildRequires: pkg-config BuildRequires: update-desktop-files