]> git.pld-linux.org Git - packages/fonts-TTF-RedHat-liberation.git/commitdiff
- initial
authorPatryk Zawadzki <patrys@room-303.com>
Fri, 11 May 2007 13:37:11 +0000 (13:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fonts-TTF-RedHat-liberation.spec -> 1.1

fonts-TTF-RedHat-liberation.spec [new file with mode: 0644]

diff --git a/fonts-TTF-RedHat-liberation.spec b/fonts-TTF-RedHat-liberation.spec
new file mode 100644 (file)
index 0000000..331089e
--- /dev/null
@@ -0,0 +1,43 @@
+%define                _name   liberation-fonts
+Summary:       Fonts to replace commonly used Microsoft Windows Fonts
+Name:          fonts-TTF-RedHat-liberation
+Version:       0.1
+Release:       1
+License:       GPL v2 + exceptions
+Group:         Fonts
+Source0:       %{_name}-%{version}.tar.gz
+# Source0-md5: a874631c4641e8496cd9be5c7da74b48
+URL:           https://www.redhat.com/promo/fonts/
+Requires(post,postun): fontpostinst
+Requires:      %{_fontsdir}/TTF
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _ttffontsdir    %{_fontsdir}/TTF
+
+%description
+The Liberation Fonts are intended to be replacements for the three
+most commonly used fonts on Microsoft systems: Times New Roman,
+Arial, and Courier New.
+
+%prep
+%setup -c -n %{_name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_ttffontsdir}
+
+install *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+fontpostinst TTF
+
+%postun
+fontpostinst TTF
+
+%files
+%defattr(644,root,root,755)
+%{_ttffontsdir}/*
This page took 0.073893 seconds and 4 git commands to generate.