]> git.pld-linux.org Git - packages/fonts-TTF-suse.git/commitdiff
- initial
authorspeedy <speedy@pld-linux.org>
Mon, 28 Mar 2005 17:04:50 +0000 (17:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fonts-TTF-suse.spec -> 1.1

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

diff --git a/fonts-TTF-suse.spec b/fonts-TTF-suse.spec
new file mode 100644 (file)
index 0000000..ece2818
--- /dev/null
@@ -0,0 +1,47 @@
+Summary:       SUSE True Type fonts
+Summary(pl):   Fonty True Type z dystrybucji SUSE
+Name:          fonts-TTF-suse
+Version:       9.2
+Release:       1
+License:       Other License(s)
+Group:         Fonts
+Source0:       ftp://ftp.suse.com/pub/suse/i386/9.2/suse/noarch/desktop-data-SuSE-9.2-3.1.noarch.rpm
+# Source0-md5: 313826c9c0454a1c2e45faf79d931265
+URL:           http://www.suse.com
+BuildRequires: cpio
+BuildRequires: rpm-utils
+Requires(post,postun): fontpostinst
+Requires:      %{_fontsdir}/TTF
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _ttffontsdir    %{_fontsdir}/TTF
+
+%description
+This package contains SUSE True Type fonts (TTF).
+
+%description -l pl
+Pakiet ten zawiera fonty True Type (TTF) z dystrybucji SUSE.
+
+%prep
+%setup -q -c -T
+rpm2cpio %{SOURCE0} | cpio -dimu
+mv -f usr/X11R6/lib/X11/fonts/truetype/* .
+
+%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.07318 seconds and 4 git commands to generate.