diff options
Diffstat (limited to 'packaging/pkgconfig.spec')
-rw-r--r-- | packaging/pkgconfig.spec | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/packaging/pkgconfig.spec b/packaging/pkgconfig.spec new file mode 100644 index 0000000..239d299 --- /dev/null +++ b/packaging/pkgconfig.spec @@ -0,0 +1,44 @@ +Summary: A tool for determining compilation options +Name: pkgconfig +Version: 0.25 +Release: 2.2 +License: GPLv2+ +URL: http://pkgconfig.freedesktop.org +Group: Development/Tools +Source: http://www.freedesktop.org/software/pkgconfig/releases/pkg-config-%{version}.tar.gz +#BuildRequires: glib2-devel +BuildRequires: popt-devel + +Provides: pkgconfig(pkg-config) = %{version} + +%description +The pkgconfig tool determines compilation options. For each required +library, it reads the configuration file and outputs the necessary +compiler and linker flags. + +%prep +%setup -n pkg-config-%{version} -q + +%build +%configure \ + --disable-shared \ + --with-pc-path=%{_libdir}/pkgconfig:%{_datadir}/pkgconfig +make + +%install +make install DESTDIR=$RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig +mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig + +# we include this below, already +rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/pkg-config + +%remove_docs + + +%files +%defattr(-,root,root) +%{_bindir}/* +%{_libdir}/pkgconfig +%{_datadir}/pkgconfig +%{_datadir}/aclocal/* |