mtdev/mtdev.spec

125 lines
3.8 KiB
RPMSpec
Raw Normal View History

2010-07-08 01:45:53 +00:00
%global tarball mtdev
#global gitdate 20110105
2010-07-08 01:45:53 +00:00
Name: mtdev
2013-08-12 06:50:20 +00:00
Version: 1.1.4
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
2010-07-08 01:45:53 +00:00
Summary: Multitouch Protocol Translation Library
Group: System Environment/Libraries
License: MIT
URL: http://bitmath.org/code/mtdev/
# upstream doesn't have tarballs
%if 0%{?gitdate}
2010-07-08 01:45:53 +00:00
Source0: %{tarball}-%{gitdate}.tar.bz2
Source1: make-git-snapshot.sh
Source2: commitid
%else
Source0: http://bitmath.org/code/%{name}/%{name}-%{version}.tar.bz2
%endif
2010-07-08 01:45:53 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf automake libtool
2013-04-02 22:52:54 +00:00
ExcludeArch: s390 s390x
2010-07-08 01:45:53 +00:00
%description
%{name} is a stand-alone library which transforms all variants of kernel MT
events to the slotted type B protocol. The events put into mtdev may be from
any MT device, specifically type A without contact tracking, type A with
contact tracking, or type B with contact tracking.
%package devel
Summary: Multitouch Protocol Translation Library Development Package
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
Multitouch protocol translation library development package.
%prep
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
2010-07-08 01:45:53 +00:00
%build
autoreconf --force -v --install || exit 1
2010-07-08 01:45:53 +00:00
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"
# We intentionally don't ship *.la files
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING README
2010-07-08 01:45:53 +00:00
%{_libdir}/libmtdev.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/mtdev.h
2011-01-05 01:46:45 +00:00
%{_includedir}/mtdev-plumbing.h
%{_includedir}/mtdev-mapping.h
2010-07-08 01:45:53 +00:00
%{_libdir}/libmtdev.so
%{_libdir}/pkgconfig/mtdev.pc
2010-08-02 23:17:13 +00:00
%{_bindir}/mtdev-test
2010-07-08 01:45:53 +00:00
%changelog
2013-08-12 06:50:20 +00:00
* Mon Aug 12 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.1.4-1
- mtdev 1.1.4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-04-02 22:52:54 +00:00
* Wed Apr 03 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.1.3-3
- Less RHEL customization
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-10-07 22:59:20 +00:00
* Mon Oct 08 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.1.3-1
- mtdev 1.1.3
2012-09-26 22:38:52 +00:00
* Thu Sep 27 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.1.2-4
- fix %{?dist}
* Mon Aug 13 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.1.2-3
- Drop xorg-x11-util-macros build requires, not needed anymore
- Don't build on s390 (or ppc, if on RHEL)
- Force autoreconf to avoid libtool errors
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jun 18 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.1.2-1
- mtdev 1.1.2
- upstream provides tarballs now, add the needed spec file changes
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3.20110105
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2.20110105
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-01-05 01:46:45 +00:00
* Wed Jan 05 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.1.0-1.20110105
- Update to release 1.1.0
2010-08-02 23:17:13 +00:00
* Tue Aug 03 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.8-1.20100803
- Update to release 1.0.8
2010-07-08 01:59:27 +00:00
* Thu Jul 08 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-2.20100706
- Require util-macros >= 1.5
2010-07-08 01:45:53 +00:00
* Tue Jul 06 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-1.20100706
- Initial package