fontconfig-infinality/fontconfig-infinality.spec

51 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: fontconfig-infinality
Version: 20130104_1
Release: 1mamba
Summary: fontconfig configuration files to provide the nicest font rendering of any operating system
Group: System/Fonts
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.infinality.net/blog/
Source: http://www.infinality.net/fedora/linux/zips/fontconfig-infinality-1-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: libfontconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
fontconfig configuration files to provide the nicest font rendering of any operating system.
%prep
%setup -q -n infinality
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_sysconfdir}/fonts/infinality
cp -a infinality.conf conf.src styles.conf.avail %{buildroot}%{_sysconfdir}/fonts/infinality/
ln -s styles.conf.avail/infinality %{buildroot}%{_sysconfdir}/fonts/infinality/conf.d
install -d -m0755 %{buildroot}%{_sysconfdir}/fonts/conf.d
ln -s ../infinality/infinality.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/52-infinality.conf
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sysconfdir}/fonts/conf.d/52-infinality.conf
%dir %{_sysconfdir}/fonts/infinality
%{_sysconfdir}/fonts/infinality/infinality.conf
%{_sysconfdir}/fonts/infinality/conf.d
%dir %{_sysconfdir}/fonts/infinality/conf.src
%{_sysconfdir}/fonts/infinality/conf.src/*
%dir %{_sysconfdir}/fonts/infinality/styles.conf.avail
%{_sysconfdir}/fonts/infinality/styles.conf.avail/*
%doc LICENSE
%changelog
* Fri Feb 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20130104_1-1mamba
- package created by silvan using the webbuild interface