|
Revision 7, 1.0 KB
(checked in by jhuntwork, 8 months ago)
|
|
Version updates and initial powerpc support
|
| Line | |
|---|
| 1 | Summary: pkg-config |
|---|
| 2 | Name: pkg-config |
|---|
| 3 | Version: 0.23 |
|---|
| 4 | Release: 1 |
|---|
| 5 | Group: Development/Tools |
|---|
| 6 | License: GPLv2 |
|---|
| 7 | Distribution: LightCube OS |
|---|
| 8 | Vendor: LightCube Solutions |
|---|
| 9 | URL: http://pkg-config.freedesktop.org |
|---|
| 10 | Source: http://dev.lightcube.us/~jhuntwork/sources/%{name}/%{name}-%{version}.tar.gz |
|---|
| 11 | |
|---|
| 12 | Requires: base-layout, glibc |
|---|
| 13 | Provides: pkgconfig |
|---|
| 14 | |
|---|
| 15 | %description |
|---|
| 16 | pkg-config is a helper tool used when compiling applications and libraries. It can |
|---|
| 17 | be used to determine library versions and compiler options needed for linking to |
|---|
| 18 | installed libraries. |
|---|
| 19 | |
|---|
| 20 | %prep |
|---|
| 21 | %setup -q |
|---|
| 22 | |
|---|
| 23 | %build |
|---|
| 24 | ./configure --prefix=/usr --with-pc-path=/usr/%{_lib}/pkgconfig |
|---|
| 25 | make |
|---|
| 26 | make check |
|---|
| 27 | |
|---|
| 28 | %install |
|---|
| 29 | make DESTDIR=%{buildroot} install |
|---|
| 30 | install -dv %{buildroot}/usr/share/pkgconfig |
|---|
| 31 | install -dv %{buildroot}/usr/%{_lib}/pkgconfig |
|---|
| 32 | |
|---|
| 33 | %clean |
|---|
| 34 | rm -rf %{buildroot} |
|---|
| 35 | |
|---|
| 36 | %files |
|---|
| 37 | %defattr(-,root,root) |
|---|
| 38 | /usr/bin/pkg-config |
|---|
| 39 | /usr/share/aclocal/pkg.m4 |
|---|
| 40 | /usr/share/pkgconfig |
|---|
| 41 | /usr/%{_lib}/pkgconfig |
|---|
| 42 | /usr/share/man/man1/pkg-config.1 |
|---|
| 43 | |
|---|
| 44 | %changelog |
|---|
| 45 | * Sat Jul 25 2009 Jeremy Huntwork <jhuntwork@lightcubesolutions.com> - 0.23-1 |
|---|
| 46 | - Initial version |
|---|