Fri, 11 Mar 2011 21:30:26 +0100
Import package vendor original specs for necessary manipulations.
| michael@0 | 1 | # |
| michael@0 | 2 | # Do not Edit! Generated by: |
| michael@0 | 3 | # spectacle version 0.13 |
| michael@0 | 4 | # |
| michael@0 | 5 | # >> macros |
| michael@0 | 6 | # << macros |
| michael@0 | 7 | |
| michael@0 | 8 | Name: libXtst |
| michael@0 | 9 | Summary: X.Org X11 libXtst runtime library |
| michael@0 | 10 | Version: 1.1.0 |
| michael@0 | 11 | Release: 3.10 |
| michael@0 | 12 | Group: System/Libraries |
| michael@0 | 13 | License: MIT |
| michael@0 | 14 | URL: http://www.x.org/ |
| michael@0 | 15 | Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 |
| michael@0 | 16 | Source100: libXtst.yaml |
| michael@0 | 17 | Requires(post): /sbin/ldconfig |
| michael@0 | 18 | Requires(postun): /sbin/ldconfig |
| michael@0 | 19 | BuildRequires: pkgconfig(xproto) |
| michael@0 | 20 | BuildRequires: pkgconfig(xextproto) |
| michael@0 | 21 | BuildRequires: pkgconfig(randrproto) |
| michael@0 | 22 | BuildRequires: pkgconfig(inputproto) |
| michael@0 | 23 | BuildRequires: pkgconfig(recordproto) |
| michael@0 | 24 | BuildRequires: pkgconfig(xextproto) |
| michael@0 | 25 | BuildRequires: pkgconfig(xi) |
| michael@0 | 26 | BuildRequires: pkgconfig(x11) |
| michael@0 | 27 | BuildRequires: pkgconfig(xext) |
| michael@0 | 28 | BuildRequires: pkgconfig(xrender) |
| michael@0 | 29 | |
| michael@0 | 30 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
| michael@0 | 31 | |
| michael@0 | 32 | %description |
| michael@0 | 33 | Description: %{summary} |
| michael@0 | 34 | |
| michael@0 | 35 | |
| michael@0 | 36 | %package devel |
| michael@0 | 37 | Summary: Development components for the libXtst library |
| michael@0 | 38 | Group: Development/Libraries |
| michael@0 | 39 | Requires: %{name} = %{version}-%{release} |
| michael@0 | 40 | |
| michael@0 | 41 | %description devel |
| michael@0 | 42 | Description: %{summary} |
| michael@0 | 43 | |
| michael@0 | 44 | |
| michael@0 | 45 | %prep |
| michael@0 | 46 | %setup -q -n %{name}-%{version} |
| michael@0 | 47 | |
| michael@0 | 48 | # >> setup |
| michael@0 | 49 | # << setup |
| michael@0 | 50 | |
| michael@0 | 51 | %build |
| michael@0 | 52 | # >> build pre |
| michael@0 | 53 | # << build pre |
| michael@0 | 54 | |
| michael@0 | 55 | %configure --disable-static |
| michael@0 | 56 | # Call make instruction with smp support |
| michael@0 | 57 | make %{?jobs:-j%jobs} |
| michael@0 | 58 | |
| michael@0 | 59 | # >> build post |
| michael@0 | 60 | # << build post |
| michael@0 | 61 | %install |
| michael@0 | 62 | rm -rf %{buildroot} |
| michael@0 | 63 | # >> install pre |
| michael@0 | 64 | # << install pre |
| michael@0 | 65 | %make_install |
| michael@0 | 66 | |
| michael@0 | 67 | # >> install post |
| michael@0 | 68 | # << install post |
| michael@0 | 69 | |
| michael@0 | 70 | %clean |
| michael@0 | 71 | rm -rf %{buildroot} |
| michael@0 | 72 | |
| michael@0 | 73 | |
| michael@0 | 74 | |
| michael@0 | 75 | %post -p /sbin/ldconfig |
| michael@0 | 76 | |
| michael@0 | 77 | %postun -p /sbin/ldconfig |
| michael@0 | 78 | |
| michael@0 | 79 | |
| michael@0 | 80 | |
| michael@0 | 81 | %files |
| michael@0 | 82 | %defattr(-,root,root,-) |
| michael@0 | 83 | # >> files |
| michael@0 | 84 | %doc COPYING ChangeLog |
| michael@0 | 85 | %{_libdir}/libXtst.so.6 |
| michael@0 | 86 | %{_libdir}/libXtst.so.6.1.0 |
| michael@0 | 87 | # << files |
| michael@0 | 88 | |
| michael@0 | 89 | |
| michael@0 | 90 | %files devel |
| michael@0 | 91 | %defattr(-,root,root,-) |
| michael@0 | 92 | # >> files devel |
| michael@0 | 93 | %{_libdir}/libXtst.so |
| michael@0 | 94 | %{_libdir}/pkgconfig/xtst.pc |
| michael@0 | 95 | %{_includedir}/X11/extensions/XTest.h |
| michael@0 | 96 | %{_includedir}/X11/extensions/record.h |
| michael@0 | 97 | # << files devel |
| michael@0 | 98 | |
| michael@0 | 99 | %changelog |
| michael@0 | 100 | * Sat Feb 27 2010 Anas Nashif <anas.nashif@intel.com> - 1.1.0 |
| michael@0 | 101 | - Updated with latest spectacle |
| michael@0 | 102 | - Include YAML file in source rpm |
| michael@0 | 103 | * Thu Oct 29 2009 Li Peng <peng.li@intel.com> - 1.1.0 |
| michael@0 | 104 | - libXtst 1.1.0 |
| michael@0 | 105 | * Fri Dec 19 2008 Anas Nashif <anas.nashif@intel.com> 1.0.3 |
| michael@0 | 106 | - Add Xi to requirements |
| michael@0 | 107 | * Fri Dec 19 2008 Anas Nashif <anas.nashif@intel.com> 1.0.3 |
| michael@0 | 108 | - Generate spec |
| michael@0 | 109 | * Fri Dec 19 2008 Arjan van de Ven <arjan@linux.intel.com> 1.0.3 |
| michael@0 | 110 | - Fix buildrequires |
| michael@0 | 111 | * Tue Dec 16 2008 Anas Nashif <anas.nashif@intel.com> 1.0.3 |
| michael@0 | 112 | - Update spec file using latest spec-builder |
| michael@0 | 113 | * Tue Dec 16 2008 Anas Nashif <anas.nashif@intel.com> 1.0.3 |
| michael@0 | 114 | - Update spec file using latest spec-builder |
| michael@0 | 115 | * Thu Dec 11 2008 Arjan van de Ven <arjan@linux.intel.com> 1.0.3 |
| michael@0 | 116 | - Clean up specfile |
| michael@0 | 117 | * Mon Sep 22 2008 Peng Li <peng.li@intel.com> 1.0.3 |
| michael@0 | 118 | - add build dependency libXi-devel |