]> git.pld-linux.org Git - packages/fontik.git/blame - fontik.spec
- xdg paths todo
[packages/fontik.git] / fontik.spec
CommitLineData
d05bfa31
ER
1# TODO
2# - use xdg paths (~/.config/fontconfig/fonts.conf instead of ~/fonts.conf) and (~/.config/fontik instead of ~/.fontik)
970f7251
ER
3%define subver 5dbbc513
4%define rel 1
5Summary: A Configuration Tool for Font-wise, User-set Fontconfig Rules
6Name: fontik
7Version: 0.6.1
8Release: 0.%{rel}.%{subver}
9License: GPL v3
10Group: X11/Applications
11# The source for this package was pulled from upstream's vcs. Use the
12# following commands to generate the tarball:
13# git clone git://gitorious.org/fontik/fontik.git
14# cd fontik
15# export subver=5dbbc513
16# git archive --format tar --prefix fontik-${subver}/ ${subver} |\
17# gzip -c > ../fontik-${subver}.tar.gz
18Source0: http://pkgs.fedoraproject.org/repo/pkgs/fontik/%{name}-%{subver}.tar.gz/3ffed0689ff0a5c81bb53135aac38074/fontik-%{subver}.tar.gz
19# Source0-md5: 3ffed0689ff0a5c81bb53135aac38074
20Source1: %{name}.desktop
21Patch0: %{name}-valac-save-temps.patch
22Patch1: %{name}-gee-0.8.patch
23URL: http://suruma.freeflux.net/blog/archive/2009/10/14/fontik-a-font-configuration-gui.html
24BuildRequires: desktop-file-utils
25BuildRequires: fontconfig-devel
26BuildRequires: gtk+2-devel
27BuildRequires: libgee-devel
28BuildRequires: libxml2-devel
29BuildRequires: vala
30BuildRequires: vala-libgee
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34Fontik is basically intended to tweak and configure some properties of
35fonts. These settings are usually set system-wide while installing the
36fonts. The power of fontconfig is thus limited when it comes to the
37user.
38
39%prep
40%setup -q -n %{name}-%{subver}
41%patch0 -p1
42%patch1 -p1
43
44%build
45%{__make}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49%{__make} install \
50 PREFIX=%{_prefix} \
51 PROGRAM_LIBEXEC_DIR=%{_libexecdir} \
52 DESTDIR=$RPM_BUILD_ROOT
53
54# drop pointless wrapper, use bin directly
55mv $RPM_BUILD_ROOT{%{_libdir},%{_bindir}}/fontik
56
57desktop-file-install --dir=$RPM_BUILD_ROOT%{_desktopdir} %{SOURCE1}
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc COPYING README
65%attr(755,root,root) %{_bindir}/fontik
66%{_datadir}/%{name}
67%{_desktopdir}/%{name}.desktop
This page took 0.081129 seconds and 4 git commands to generate.