]> git.pld-linux.org Git - packages/xorg-proto-gestureproto.git/commitdiff
- new (tizen extension)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 16 Mar 2014 12:30:58 +0000 (13:30 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 16 Mar 2014 12:30:58 +0000 (13:30 +0100)
xorg-proto-gestureproto-c-p.patch [new file with mode: 0644]
xorg-proto-gestureproto.spec [new file with mode: 0644]

diff --git a/xorg-proto-gestureproto-c-p.patch b/xorg-proto-gestureproto-c-p.patch
new file mode 100644 (file)
index 0000000..faf69fc
--- /dev/null
@@ -0,0 +1,12 @@
+--- xorg-x11-proto-gesture-0.1.0/gestureproto.pc.in.orig       2013-03-12 17:54:42.000000000 +0100
++++ xorg-x11-proto-gesture-0.1.0/gestureproto.pc.in    2014-03-16 13:24:57.983455925 +0100
+@@ -3,7 +3,7 @@
+ libdir=@libdir@
+ includedir=@includedir@
+  
+-Name: AppleWMProto
+-Description: AppleWM extension headers
++Name: GestureProto
++Description: Gesture extension headers
+ Version: @PACKAGE_VERSION@
+ Cflags: -I${includedir}
diff --git a/xorg-proto-gestureproto.spec b/xorg-proto-gestureproto.spec
new file mode 100644 (file)
index 0000000..3596ff6
--- /dev/null
@@ -0,0 +1,63 @@
+Summary:       Gesture extension headers
+Summary(pl.UTF-8):     Pliki nagłówkowe rozszerzenia Gesture
+Name:          xorg-proto-gestureproto
+Version:       0.1.0
+Release:       1
+License:       MIT
+Group:         X11/Development/Libraries
+Source0:       http://download.tizen.org/releases/2.2.1/latest/repos/tizen-main/source/xorg-x11-proto-gesture-%{version}-3.8.src.rpm
+# Source0-md5: a80457413ff30e7892045ef89ea1be4d
+Patch0:                %{name}-c-p.patch
+URL:           http://xorg.freedesktop.org/
+BuildRequires: autoconf >= 2.60
+BuildRequires: automake
+BuildRequires: rpm-utils
+BuildRequires: xorg-util-util-macros >= 1.3
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Gesture extension headers.
+
+%description -l pl.UTF-8
+Pliki nagłówkowe rozszerzenia Gesture.
+
+%package devel
+Summary:       Gesture extension headers
+Summary(pl.UTF-8):     Pliki nagłówkowe rozszerzenia Gesture
+Group:         X11/Development/Libraries
+Requires:      xorg-proto-xproto-devel
+
+%description devel
+Gesture extension headers.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe rozszerzenia Gesture.
+
+%prep
+%setup -q -c -T -n xorg-x11-proto-gesture-%{version}
+rpm2cpio %{SOURCE0} | cpio -i xorg-x11-proto-gesture-%{version}.tar.gz
+tar xf xorg-x11-proto-gesture-%{version}.tar.gz -C ..
+%patch0 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files devel
+%defattr(644,root,root,755)
+%doc LICENSE.MIT NOTICE
+%{_includedir}/X11/extensions/gesture*.h
+%{_pkgconfigdir}/gestureproto.pc
This page took 0.11374 seconds and 4 git commands to generate.