mtdev 1.1.2

- upstream provides tarballs now, add the needed spec file changes

- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
This commit is contained in:
Peter Hutterer 2012-06-18 16:43:41 +10:00
parent 2a489ffc80
commit e83a92f2cf
3 changed files with 16 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
mtdev-20100706.tar.bz2
mtdev-20100803.tar.bz2
/mtdev-20110105.tar.bz2
/mtdev-1.1.2.tar.bz2

View File

@ -1,9 +1,9 @@
%global tarball mtdev
%global gitdate 20110105
#global gitdate 20110105
Name: mtdev
Version: 1.1.0
Release: 3.%{?gitdate}%{?dist}
Version: 1.1.2
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{dist}
Summary: Multitouch Protocol Translation Library
Group: System Environment/Libraries
@ -11,9 +11,14 @@ License: MIT
URL: http://bitmath.org/code/mtdev/
# upstream doesn't have tarballs
%if 0%{?gitdate}
Source0: %{tarball}-%{gitdate}.tar.bz2
Source1: make-git-snapshot.sh
Source2: commitid
%else
Source0: http://bitmath.org/code/%{name}/%{name}-%{version}.tar.bz2
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf automake libtool
@ -34,7 +39,7 @@ Requires: pkgconfig
Multitouch protocol translation library development package.
%prep
%setup -q -n %{tarball}-%{gitdate}
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
%build
autoreconf -v --install || exit 1
@ -56,7 +61,7 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYING README CREDITS
%doc COPYING README
%{_libdir}/libmtdev.so.*
%files devel
@ -69,6 +74,10 @@ rm -rf %{buildroot}
%{_bindir}/mtdev-test
%changelog
* 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

View File

@ -1 +1 @@
6c9f1e33e2da1df9390fade545db9c9e mtdev-20110105.tar.bz2
d9c7700918fc392e29da7477ae20c5c2 mtdev-1.1.2.tar.bz2