]> git.pld-linux.org Git - packages/gfontsampler.git/blame - gfontsampler.spec
- tabs in preamble
[packages/gfontsampler.git] / gfontsampler.spec
CommitLineData
32f4d763 1Summary: View and compare your fonts
df4ac551 2Summary(pl.UTF-8): Narzędzie do oglądania i porównywania fontów
32f4d763 3Name: gfontsampler
4Version: 0.4
48e10afb 5Release: 1
32f4d763 6License: GPL v2
7Group: X11/Applications
8Source0: http://linuxadvocate.org/projects/gfontsampler/downloads/%{name}-%{version}.tar.gz
9# Source0-md5: db2dadf22192861475686030a17c300e
48e10afb 10Patch0: %{name}-desktop.patch
32f4d763 11URL: http://linuxadvocate.org/projects/gfontsampler/
12BuildRequires: autoconf
13BuildRequires: automake
48e10afb 14BuildRequires: gettext-devel >= 0.14.3
15BuildRequires: libgnomeui-devel >= 2.0.0
32f4d763 16BuildRequires: libtool
17BuildRequires: pkgconfig
32f4d763 18BuildRequires: rpmbuild(macros) >= 1.197
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22View and compare your fonts.
23
ce414dfc
JR
24%description -l pl.UTF-8
25Narzę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
42rm -rf $RPM_BUILD_ROOT
43
44install -d $RPM_BUILD_ROOT%{_desktopdir}
45
46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}/%{name}-icon.png \
50 $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
48e10afb 51mv -f $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Utilities/* \
52 $RPM_BUILD_ROOT%{_desktopdir}
32f4d763 53
61969cb5
JB
54%clean
55rm -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
This page took 0.093481 seconds and 4 git commands to generate.