]>
Commit | Line | Data |
---|---|---|
6068da96 | 1 | Summary: Prints a Linux system's font configuration |
d8d9c044 | 2 | Summary(pl.UTF-8): Wypisywanie konfiguracji fontów systemowych pod Linuksem |
6068da96 ER |
3 | Name: font-config-info |
4 | Version: 0.1 | |
5 | Release: 0.1 | |
6 | License: ASL 2.0 | |
7 | Group: Applications | |
8 | Source0: https://github.com/derat/font-config-info/archive/master/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 9c2cc15881b3d299a959da677fc9381b | |
10 | URL: https://github.com/derat/font-config-info | |
11 | BuildRequires: fontconfig-devel | |
d8d9c044 JB |
12 | BuildRequires: glib2-devel >= 2.0 |
13 | BuildRequires: gtk+2-devel >= 2.0 | |
6068da96 ER |
14 | BuildRequires: pkgconfig |
15 | BuildRequires: sed >= 4.0 | |
16 | BuildRequires: xorg-lib-libX11-devel | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | font-config-info is a tiny program that queries and prints a Linux | |
21 | system's font configuration. It is intended to produce brief reports | |
22 | that users can send to developers to aid in debugging font rendering | |
23 | issues. | |
24 | ||
d8d9c044 JB |
25 | %description -l pl.UTF-8 |
26 | font-config-info to mały program odpytujący i wypisujący konfigurację | |
27 | fontów systemowych pod Linuksem. Ma za zadanie tworzyć krótkie | |
28 | raporty, które użytkownicy mogą wysyłać programistom w celu pomocy | |
29 | przy diagnostyce problemów z renderowaniem fontów. | |
30 | ||
6068da96 | 31 | %prep |
0af01d08 ER |
32 | %setup -qc |
33 | mv %{name}-*/* . | |
6068da96 ER |
34 | |
35 | %{__sed} -i -e 's/gcc -Wall/%{__cc} %{rpmcflags}/' Makefile | |
36 | ||
37 | %build | |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT%{_bindir} | |
43 | install -p %{name} $RPM_BUILD_ROOT%{_bindir} | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc README | |
51 | %attr(755,root,root) %{_bindir}/font-config-info |