summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-05 16:34:49 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-11 06:02:12 -0800
commitc8f7791277086a40cd9108c1b9d4f92d6b7ff854 (patch)
treeb7b8cc05dbaa3cb7b4d472d90e689a96529d5ee6 /packaging
parent9ba3e48827a61bcadb0894c009eed6a0d8d08594 (diff)
downloadpkg-config-c8f7791277086a40cd9108c1b9d4f92d6b7ff854.tar.gz
pkg-config-c8f7791277086a40cd9108c1b9d4f92d6b7ff854.tar.bz2
pkg-config-c8f7791277086a40cd9108c1b9d4f92d6b7ff854.zip
add packaging
Diffstat (limited to 'packaging')
-rw-r--r--packaging/pkg-config.spec44
1 files changed, 44 insertions, 0 deletions
diff --git a/packaging/pkg-config.spec b/packaging/pkg-config.spec
new file mode 100644
index 0000000..0a541a6
--- /dev/null
+++ b/packaging/pkg-config.spec
@@ -0,0 +1,44 @@
+Name: pkg-config
+Version: 0.25
+Release: 3
+License: GPL-2.0+
+Summary: A tool for determining compilation options
+Url: http://pkgconfig.freedesktop.org
+Group: Development/Tools
+Source: http://www.freedesktop.org/software/pkgconfig/releases/%{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+BuildRequires: popt-devel
+
+Provides: pkgconfig(pkg-config) = %{version}
+Provides: pkgconfig
+
+%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 -q
+
+%build
+cp %{SOURCE1001} .
+%configure --disable-shared \
+ --with-pc-path=%{_libdir}/pkgconfig:%{_datadir}/pkgconfig
+make
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_libdir}/pkgconfig
+mkdir -p %{buildroot}%{_datadir}/pkgconfig
+
+# we include this below, already
+rm -rf %{buildroot}%{_datadir}/doc/pkg-config
+
+%remove_docs
+
+%files
+%manifest %{name}.manifest
+%{_bindir}/*
+%{_libdir}/pkgconfig
+%{_datadir}/pkgconfig
+%{_datadir}/aclocal/*