- Package review cleanups. (#225998)
This commit is contained in:
parent
3f4379bfdf
commit
8c4c4d82bd
29
libdmx.spec
29
libdmx.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: X.Org X11 libdmx runtime library
|
Summary: X.Org X11 libdmx runtime library
|
||||||
Name: libdmx
|
Name: libdmx
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
@ -10,12 +10,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
|
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xorg-x11-proto-devel
|
|
||||||
BuildRequires: libX11-devel
|
|
||||||
BuildRequires: libXext-devel
|
BuildRequires: libXext-devel
|
||||||
BuildRequires: libXau-devel
|
|
||||||
|
|
||||||
Obsoletes: XFree86-libs, xorg-x11-libs
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
X.Org X11 libdmx runtime library
|
X.Org X11 libdmx runtime library
|
||||||
@ -25,11 +20,8 @@ Summary: X.Org X11 libdmx development package
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
|
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
# needed for dmx.pc
|
|
||||||
Requires: xorg-x11-proto-devel
|
Requires: xorg-x11-proto-devel
|
||||||
|
Requires: pkgconfig
|
||||||
Obsoletes: XFree86-devel, xorg-x11-devel
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
X.Org X11 libdmx development package
|
X.Org X11 libdmx development package
|
||||||
@ -38,13 +30,9 @@ X.Org X11 libdmx development package
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
# Disable static library creation by default.
|
# Disable static library creation by default.
|
||||||
%define with_static 0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure --disable-static
|
||||||
%if ! %{with_static}
|
make %{?_smp_mflags}
|
||||||
--disable-static
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -62,21 +50,20 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING README ChangeLog
|
%doc COPYING ChangeLog
|
||||||
%{_libdir}/libdmx.so.1
|
%{_libdir}/libdmx.so.1
|
||||||
%{_libdir}/libdmx.so.1.0.0
|
%{_libdir}/libdmx.so.1.0.0
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%if %{with_static}
|
|
||||||
%{_libdir}/libdmx.a
|
|
||||||
%endif
|
|
||||||
%{_libdir}/libdmx.so
|
%{_libdir}/libdmx.so
|
||||||
%{_libdir}/pkgconfig/dmx.pc
|
%{_libdir}/pkgconfig/dmx.pc
|
||||||
#%dir %{_mandir}/man3x
|
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 21 2009 Adam Jackson <ajax@redhat.com> 1.0.2-7
|
||||||
|
- Package review cleanups. (#225998)
|
||||||
|
|
||||||
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.0.2-6
|
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.0.2-6
|
||||||
- Fix license tag.
|
- Fix license tag.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user