Initial packaging forked from libXfont
This commit is contained in:
parent
c8146caea9
commit
31caede69d
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/libXfont2-2.0.1.tar.bz2
|
||||
61
libXfont2.spec
Normal file
61
libXfont2.spec
Normal file
@ -0,0 +1,61 @@
|
||||
Summary: X.Org X11 libXfont2 runtime library
|
||||
Name: libXfont2
|
||||
Version: 2.0.1
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.x.org
|
||||
|
||||
Source0: http://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: pkgconfig(fontsproto)
|
||||
BuildRequires: xorg-x11-util-macros
|
||||
BuildRequires: xorg-x11-xtrans-devel >= 1.0.3-3
|
||||
BuildRequires: libfontenc-devel
|
||||
BuildRequires: freetype-devel
|
||||
|
||||
%description
|
||||
X.Org X11 libXfont2 runtime library
|
||||
|
||||
%package devel
|
||||
Summary: X.Org X11 libXfont2 development package
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: libfontenc-devel%{?_isa}
|
||||
|
||||
%description devel
|
||||
X.Org X11 libXfont development package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
autoreconf -v --install --force
|
||||
export CFLAGS="$RPM_OPT_FLAGS -Os"
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# We intentionally don't ship *.la files
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS README ChangeLog
|
||||
%{_libdir}/libXfont2.so.2*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/X11/fonts/libxfont2.h
|
||||
%{_libdir}/libXfont2.so
|
||||
%{_libdir}/pkgconfig/xfont2.pc
|
||||
|
||||
%changelog
|
||||
* Wed Jun 08 2016 Adam Jackson <ajax@redhat.com> - 2.0.2-1
|
||||
- Initial packaging forked from libXfont
|
||||
|
||||
Loading…
Reference in New Issue
Block a user