You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.4 KiB
69 lines
1.4 KiB
17 years ago
|
Name: libfakekey
|
||
|
Version: 0.1
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Library for converting characters to X key-presses
|
||
|
|
||
|
Group: System Environment/Libraries
|
||
|
License: LGPLv2+
|
||
|
URL: http://projects.o-hand.com/matchbox/
|
||
|
Source0: http://matchbox-project.org/sources/libfakekey/0.1/%{name}-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
|
||
|
BuildRequires: libXtst-devel
|
||
|
|
||
|
%description
|
||
|
libfakekey is a simple library for converting UTF-8 characters into
|
||
|
'fake' X key-presses.
|
||
|
|
||
|
%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
|
||
|
|
||
|
|
||
|
%build
|
||
|
%configure --disable-static
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libfakekey.la
|
||
|
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
|
||
|
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc COPYING
|
||
|
%{_libdir}/libfakekey.so.*
|
||
|
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root,-)
|
||
|
%{_includedir}/fakekey/
|
||
|
%{_libdir}/libfakekey.so
|
||
|
%{_libdir}/pkgconfig/libfakekey.pc
|
||
|
|
||
|
%changelog
|
||
|
* Mon May 19 2008 Jon McCann <jmccann@redhat.com> 0.1-1
|
||
|
- Initial package
|