]>
Commit | Line | Data |
---|---|---|
6068da96 ER |
1 | Summary: Prints a Linux system's font configuration |
2 | Name: font-config-info | |
3 | Version: 0.1 | |
4 | Release: 0.1 | |
5 | License: ASL 2.0 | |
6 | Group: Applications | |
7 | Source0: https://github.com/derat/font-config-info/archive/master/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 9c2cc15881b3d299a959da677fc9381b | |
9 | URL: https://github.com/derat/font-config-info | |
10 | BuildRequires: fontconfig-devel | |
11 | BuildRequires: gtk+2-devel | |
12 | BuildRequires: pkgconfig | |
13 | BuildRequires: sed >= 4.0 | |
14 | BuildRequires: xorg-lib-libX11-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | font-config-info is a tiny program that queries and prints a Linux | |
19 | system's font configuration. It is intended to produce brief reports | |
20 | that users can send to developers to aid in debugging font rendering | |
21 | issues. | |
22 | ||
23 | %prep | |
0af01d08 ER |
24 | %setup -qc |
25 | mv %{name}-*/* . | |
6068da96 ER |
26 | |
27 | %{__sed} -i -e 's/gcc -Wall/%{__cc} %{rpmcflags}/' Makefile | |
28 | ||
29 | %build | |
30 | %{__make} | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{_bindir} | |
35 | install -p %{name} $RPM_BUILD_ROOT%{_bindir} | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc README | |
43 | %attr(755,root,root) %{_bindir}/font-config-info |