The gflags-devel package (on x86-64) should include at least the following file: /usr/lib64/pkgconfig/libgflags.pc What's interesting is that glog-devel correctly installs libglog.pc so I'm sure it's a simple matter of looking at the SRPMS to see what's different between glog and gflags. What's also interesting is that both of these packages (glog and gflags) can be built without threading support. On a Debian Jessie system, if you install libgflags-dev you get all of the following files: /usr/lib/x86_64-linux-gnu/libgflags.a /usr/lib/x86_64-linux-gnu/pkgconfig /usr/lib/x86_64-linux-gnu/pkgconfig/libgflags_nothreads.pc /usr/lib/x86_64-linux-gnu/pkgconfig/libgflags.pc /usr/lib/x86_64-linux-gnu/libgflags.so /usr/lib/x86_64-linux-gnu/libgflags_nothreads.so On a Fedora 23 system if you install libgflags-devel you do get the .so built both ways, but you don't get a .a file nor do you get the .pc file, i.e. you'll see the following installed by gflags-devel: /usr/lib64/libgflags.so /usr/lib64/libgflags_nothreads.so
Created attachment 1129954 [details] patch gflags.spec to include .pc files should work like: test -f gflags.spec && patch -p0<gflags.patch
This doesn't work because upstream seems to have broken support for creating pkgconfig files. I do, however, have a new SPEC and patches for gflags-2.1.2 that I will post in a new bug.