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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user