]> git.pld-linux.org Git - packages/fontconfig.git/commitdiff
- initial release
authortrojan <trojan@pld-linux.org>
Fri, 4 Oct 2002 11:49:11 +0000 (11:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
STBR

Changed files:
    fontconfig.spec -> 1.1

fontconfig.spec [new file with mode: 0644]

diff --git a/fontconfig.spec b/fontconfig.spec
new file mode 100644 (file)
index 0000000..2ff44ba
--- /dev/null
@@ -0,0 +1,97 @@
+
+%define fcname         fcpackage
+%define fcversion      2_0
+
+Summary:       Font configuration and customization library
+Summary(pl):   Biblioteka do konfigurowania fontów
+Name:          fontconfig
+Version:       2.0
+Release:       1
+License:       MIT
+Group:         X11/Libraries
+Source0:       http://keithp.com/fonts/pub/%{fcname}.%{fcversion}.tar.gz
+URL:           http://keithp.com/fonts
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: freetype-devel
+BuildRequires: expat-devel
+BuildRequires: ed
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
+
+%description
+Fontconfig is designed to locate fonts within the system and select
+them according to requirements specified by applications.
+
+%description -l pl
+Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
+systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
+
+%package devel
+Summary:       Font configuration and customization library
+Summary(pl):   Biblioteka do konfigurowania fontów
+Group:         X11/Development/Libraries
+Requires:      %{name} = %{version}
+Requires:      freetype-devel
+
+%description devel
+Fontconfig is designed to locate fonts within the system and select
+them according to requirements specified by applications.
+
+This package contains the header files needed to develop programs that
+use these fontconfig.
+
+%description devel -l pl
+Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
+systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
+
+Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
+programów korzystaj±cych z biblioteki fontconfig.
+
+%prep
+%setup -q -n %{fcname}.%{fcversion}/%{name}
+
+%build
+%{__autoconf}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install fc-cache/fc-cache.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-cache.3
+install fc-list/fc-list.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-list.3
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+
+%dir %{_sysconfdir}/fonts
+%config %{_sysconfdir}/fonts/fonts.conf
+%{_sysconfdir}/fonts/fonts.dtd
+
+%attr(755,root,root) %{_bindir}/fc-*
+
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%{_mandir}/man1/*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/fontconfig-config
+%{_includedir}/fontconfig
+%{_pkgconfigdir}/fontconfig.pc
This page took 0.178963 seconds and 4 git commands to generate.