SHA256
1
0
forked from pool/libt3key
Jan Engelhardt 2019-01-07 13:28:07 +00:00 committed by Git OBS Bridge
parent 51508cbd48
commit 5f30201440

View File

@ -28,6 +28,7 @@ Url: http://os.ghalkes.nl/t3/libt3key.html
#Git-Clone: git://github.com/gphalkes/t3key
Source: http://os.ghalkes.nl/dist/%name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: gettext-tools
BuildRequires: libtool
BuildRequires: ncurses-devel
@ -35,9 +36,6 @@ BuildRequires: pkgconfig
BuildRequires: pkgconfig(libt3config) >= 0.2.5
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
%if 0%{?suse_version}
BuildRequires: fdupes
%endif
%description
libt3key is library that provides a database of mappings from escape
@ -86,12 +84,9 @@ export CC=gcc
make %{?_smp_mflags}
%install
b="%buildroot"
make install DESTDIR="$b"
rm -f "$b/%_libdir"/*.la
%if 0%{?fdupes:1}
%make_install
rm -f "%buildroot/%_libdir"/*.la
%fdupes %buildroot/%_prefix
%endif
%post -p /sbin/ldconfig -n %lname
%postun -p /sbin/ldconfig -n %lname