rpms/mtdev/devel commitid, NONE, 1.1 import.log, NONE, 1.1 make-git-snapshot.sh, NONE, 1.1 mtdev.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Peter Hutterer whot at fedoraproject.org
Thu Jul 8 01:45:53 UTC 2010


Author: whot

Update of /cvs/pkgs/rpms/mtdev/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3857/devel

Modified Files:
	.cvsignore sources 
Added Files:
	commitid import.log make-git-snapshot.sh mtdev.spec 
Log Message:
Initial import (#611648)


--- NEW FILE commitid ---
3557acb6a9eec0c0d752a1f3d783b5f50bc19e1b


--- NEW FILE import.log ---
mtdev-1_0_1-1_20100706_fc14:HEAD:mtdev-1.0.1-1.20100706.fc14.src.rpm:1278553447


--- NEW FILE make-git-snapshot.sh ---
#!/bin/sh

DIRNAME=mtdev-$( date +%Y%m%d )

rm -rf $DIRNAME
git clone http://bitmath.org/git/mtdev.git $DIRNAME
cd $DIRNAME
if [ -z "$1" ]; then
    git log | head -1
else
    git checkout $1
fi
git log | head -1 | awk '{ print $2 }' > ../commitid
git repack -a -d
cd ..
tar jcf $DIRNAME.tar.bz2 $DIRNAME
rm -rf $DIRNAME


--- NEW FILE mtdev.spec ---
%global tarball mtdev
%global gitdate 20100706

Name:           mtdev
Version:        1.0.1
Release:        1.%{?gitdate}%{?dist}
Summary:        Multitouch Protocol Translation Library

Group:          System Environment/Libraries
License:        MIT
URL:            http://bitmath.org/code/mtdev/

# upstream doesn't have tarballs
Source0:        %{tarball}-%{gitdate}.tar.bz2
Source1:        make-git-snapshot.sh
Source2:        commitid
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  autoconf automake libtool

%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}

%build
autoreconf -v --install || exit 1
%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 CREDITS
%{_libdir}/libmtdev.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/mtdev.h
%{_libdir}/libmtdev.so
%{_libdir}/pkgconfig/mtdev.pc

%changelog
* Tue Jul 06 2010 Peter Hutterer <peter.hutterer at redhat.com> 1.0.1-1.20100706
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mtdev/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	8 Jul 2010 01:26:24 -0000	1.1
+++ .cvsignore	8 Jul 2010 01:45:52 -0000	1.2
@@ -0,0 +1 @@
+mtdev-20100706.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mtdev/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	8 Jul 2010 01:26:24 -0000	1.1
+++ sources	8 Jul 2010 01:45:53 -0000	1.2
@@ -0,0 +1 @@
+43e2da1eb20351624eccbe2b57c255f8  mtdev-20100706.tar.bz2



More information about the scm-commits mailing list