Sun, 20 Dec 2009 17:13:47 +0000
Fix -uninstalled pc files for out-of-tree builds.
${pcfiledir} expands to the directory that the .pc file is in. This isn't right
for out-of-tree builds: we want to add the source directory to the include
path.
In the case of libpurple, we need both because some of the headers are
generated.
|
15946
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
1 | prefix=@prefix@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
2 | exec_prefix=@exec_prefix@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
3 | libdir=@libdir@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
4 | includedir=@includedir@ |
|
21542
be3af6d9f2bf
The order of these variable declarations is important if we want the
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21489
diff
changeset
|
5 | datarootdir=@datarootdir@ |
|
15946
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
6 | datadir=@datadir@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
7 | sysconfdir=@sysconfdir@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
8 | |
|
29145
f8b43f2753dc
Fix -uninstalled pc files for out-of-tree builds.
Will Thompson <resiak@pidgin.im>
parents:
21542
diff
changeset
|
9 | abs_srcdir=@abs_srcdir@ |
|
f8b43f2753dc
Fix -uninstalled pc files for out-of-tree builds.
Will Thompson <resiak@pidgin.im>
parents:
21542
diff
changeset
|
10 | abs_builddir=@abs_builddir@ |
|
f8b43f2753dc
Fix -uninstalled pc files for out-of-tree builds.
Will Thompson <resiak@pidgin.im>
parents:
21542
diff
changeset
|
11 | |
|
15946
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
12 | Name: Pidgin |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
13 | Description: Pidgin is a GTK2-based instant messenger application. |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
14 | Version: @VERSION@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
15 | Requires: gtk+-2.0 purple |
|
29145
f8b43f2753dc
Fix -uninstalled pc files for out-of-tree builds.
Will Thompson <resiak@pidgin.im>
parents:
21542
diff
changeset
|
16 | Cflags: -I${abs_srcdir} |