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