Blame SPECS/libXv.spec

933b44
%global tarball libXv
933b44
#global gitdate 20130524
933b44
%global gitversion 50fc4cb18
933b44
933b44
Summary: X.Org X11 libXv runtime library
933b44
Name:    libXv
933b44
Version: 1.0.11
933b44
Release: 7%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
933b44
License: MIT
933b44
Group: System Environment/Libraries
933b44
URL: http://www.x.org
933b44
933b44
%if 0%{?gitdate}
933b44
Source0:    %{tarball}-%{gitdate}.tar.bz2
933b44
Source1:    make-git-snapshot.sh
933b44
Source2:    commitid
933b44
%else
933b44
Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
933b44
%endif
933b44
933b44
Requires: libX11 >= 1.5.99.902
933b44
933b44
BuildRequires: xorg-x11-util-macros
933b44
BuildRequires: autoconf automake libtool
933b44
BuildRequires: pkgconfig(videoproto) pkgconfig(xext)
933b44
BuildRequires: libX11-devel >= 1.5.99.902
933b44
933b44
%description
933b44
X.Org X11 libXv runtime library
933b44
933b44
%package devel
933b44
Summary: X.Org X11 libXv development package
933b44
Group: Development/Libraries
933b44
Requires: %{name} = %{version}-%{release}
933b44
933b44
%description devel
933b44
X.Org X11 libXv development package
933b44
933b44
%prep
933b44
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
933b44
933b44
%build
933b44
autoreconf -v --install --force
933b44
%configure --disable-static
933b44
make %{?_smp_mflags}
933b44
933b44
%install
933b44
933b44
rm -rf $RPM_BUILD_ROOT
933b44
make install DESTDIR=$RPM_BUILD_ROOT
933b44
933b44
# We intentionally don't ship *.la files
933b44
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
933b44
933b44
%ldconfig_post
933b44
%ldconfig_postun
933b44
933b44
%files
933b44
%doc AUTHORS COPYING
933b44
%{_libdir}/libXv.so.1
933b44
%{_libdir}/libXv.so.1.0.0
933b44
933b44
%files devel
933b44
%doc man/xv-library-v2.2.txt
933b44
%{_includedir}/X11/extensions/Xvlib.h
933b44
%{_libdir}/libXv.so
933b44
%{_libdir}/pkgconfig/xv.pc
933b44
#%dir %{_mandir}/man3x
933b44
%{_mandir}/man3/*.3*
933b44
933b44
%changelog
933b44
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 1.0.11-7git}
933b44
- Drop useless %%defattr
933b44
933b44
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.0.11-6
933b44
- Use ldconfig scriptlet macros
933b44
933b44
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-5
933b44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
933b44
933b44
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-4
933b44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
933b44
933b44
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-3
933b44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
933b44
933b44
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-2
933b44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
933b44
933b44
* Wed Oct 05 2016 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.0.11-1
933b44
- libXv 1.0.11
933b44
- fixes CVE-2016-5407
933b44
933b44
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-4
933b44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
933b44
933b44
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-3
933b44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
933b44
933b44
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-2
933b44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
933b44
933b44
* Thu Jul 24 2014 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.0.10-1
933b44
- libXv 1.0.10
933b44
933b44
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-3
933b44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
933b44
933b44
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-2
933b44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
933b44
933b44
* Wed Jun 26 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.0.9-1
933b44
- libXv 1.0.9