]>
Commit | Line | Data |
---|---|---|
32f4d763 | 1 | Summary: View and compare your fonts |
df4ac551 | 2 | Summary(pl.UTF-8): Narzędzie do oglądania i porównywania fontów |
32f4d763 | 3 | Name: gfontsampler |
4 | Version: 0.4 | |
48e10afb | 5 | Release: 1 |
32f4d763 | 6 | License: GPL v2 |
7 | Group: X11/Applications | |
8 | Source0: http://linuxadvocate.org/projects/gfontsampler/downloads/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: db2dadf22192861475686030a17c300e | |
48e10afb | 10 | Patch0: %{name}-desktop.patch |
32f4d763 | 11 | URL: http://linuxadvocate.org/projects/gfontsampler/ |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
48e10afb | 14 | BuildRequires: gettext-devel >= 0.14.3 |
15 | BuildRequires: libgnomeui-devel >= 2.0.0 | |
32f4d763 | 16 | BuildRequires: libtool |
17 | BuildRequires: pkgconfig | |
32f4d763 | 18 | BuildRequires: rpmbuild(macros) >= 1.197 |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | View and compare your fonts. | |
23 | ||
ce414dfc JR |
24 | %description -l pl.UTF-8 |
25 | Narzędzie do oglądania i porównywania fontów. | |
32f4d763 | 26 | |
27 | %prep | |
28 | %setup -q | |
48e10afb | 29 | %patch0 -p1 |
32f4d763 | 30 | |
31 | %build | |
32f4d763 | 32 | %{__gettextize} |
33 | %{__libtoolize} | |
34 | %{__aclocal} | |
35 | %{__autoconf} | |
36 | %{__autoheader} | |
37 | %{__automake} | |
38 | %configure | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}/%{name}-icon.png \ | |
50 | $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png | |
48e10afb | 51 | mv -f $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Utilities/* \ |
52 | $RPM_BUILD_ROOT%{_desktopdir} | |
32f4d763 | 53 | |
61969cb5 JB |
54 | %clean |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
32f4d763 | 57 | %post |
58 | %update_desktop_database_post | |
59 | ||
60 | %postun | |
61 | %update_desktop_database_postun | |
62 | ||
32f4d763 | 63 | %files |
64 | %defattr(644,root,root,755) | |
65 | %doc AUTHORS | |
66 | %attr(755,root,root) %{_bindir}/gfontsampler | |
48e10afb | 67 | %{_datadir}/%{name} |
32f4d763 | 68 | %{_pixmapsdir}/%{name}.png |
69 | %{_desktopdir}/%{name}.desktop |