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