rpms/tslib/devel import.log, NONE, 1.1 tslib-1.0-backport-O_CREAT.patch, NONE, 1.1 tslib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Nicolas Chauvet kwizart at fedoraproject.org
Thu Jun 11 13:26:43 UTC 2009


Author: kwizart

Update of /cvs/pkgs/rpms/tslib/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29689/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log tslib-1.0-backport-O_CREAT.patch tslib.spec 
Log Message:
Initial import for devel



--- NEW FILE import.log ---
tslib-1_0-1_fc11:HEAD:tslib-1.0-1.fc11.src.rpm:1244726715

tslib-1.0-backport-O_CREAT.patch:

--- NEW FILE tslib-1.0-backport-O_CREAT.patch ---
--- trunk/tslib/tests/ts_calibrate.c	2008/11/20 20:53:15	70
+++ trunk/tslib/tests/ts_calibrate.c	2009/03/24 17:42:34	72
@@ -21,6 +21,7 @@
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <sys/time.h>
+#include <sys/stat.h>
 #include <linux/kd.h>
 #include <linux/vt.h>
 #include <linux/fb.h>
@@ -250,9 +251,11 @@
 		for (i = 0; i < 7; i++) printf("%d ", cal.a [i]);
 		printf("\n");
 		if ((calfile = getenv("TSLIB_CALIBFILE")) != NULL) {
-			cal_fd = open (calfile, O_CREAT | O_RDWR);
+			cal_fd = open (calfile, O_CREAT | O_RDWR,
+			               S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
 		} else {
-			cal_fd = open ("/etc/pointercal", O_CREAT | O_RDWR);
+			cal_fd = open ("/etc/pointercal", O_CREAT | O_RDWR,
+			               S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
 		}
 		sprintf (cal_buffer,"%d %d %d %d %d %d %d",
 			 cal.a[1], cal.a[2], cal.a[0],



--- NEW FILE tslib.spec ---
Name:           tslib
Version:        1.0
Release:        1%{?dist}
Summary:        Touchscreen Access Library

Group:          System Environment/Libraries
License:        LGPLv2
URL:            http://tslib.berlios.de/
Source0:        http://download.berlios.de/tslib/tslib-%{version}.tar.bz2
Patch0:         tslib-1.0-backport-O_CREAT.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libtool


%description
The idea of tslib is to have a core library that provides standardised
services, and a set of plugins to manage the conversion and filtering as
needed.

The plugins for a particular touchscreen are loaded automatically by the
library under the control of a static configuration file, ts.conf.
ts.conf gives the library basic configuration information.  Each line
specifies one module, and the parameters for that module.  The modules
are loaded in order, with the first one processing the touchscreen data
first. 


%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q
%patch0 -p2 -b .ocreat
./autogen.sh

%build
%configure --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%config(noreplace) %{_sysconfdir}/ts.conf
%{_bindir}/ts*
%{_libdir}/*.so.*
%dir %{_libdir}/ts
%{_libdir}/ts/*.so

%files devel
%defattr(-,root,root,-)
%{_includedir}/tslib.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/tslib-0.0.pc


%changelog
* Tue Apr 14 2009 kwizart < kwizart at gmail.com > - 1.0-1
- Initial package



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tslib/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	10 Jun 2009 20:54:09 -0000	1.1
+++ .cvsignore	11 Jun 2009 13:26:12 -0000	1.2
@@ -0,0 +1 @@
+tslib-1.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tslib/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	10 Jun 2009 20:54:09 -0000	1.1
+++ sources	11 Jun 2009 13:26:12 -0000	1.2
@@ -0,0 +1 @@
+92b2eb55b1e4ef7e2c0347069389390e  tslib-1.0.tar.bz2




More information about the fedora-extras-commits mailing list