Name: easygtk
Version: 1.1.6
Release: 1
-Copyright: GPL
+License: GPL
Group: Libraries
+Group(de): Libraries
+Group(es): Bibliotecas
+Group(fr): Librairies
Group(pl): Biblioteki
-Source: http://www.linsupport.com/sw/%{name}-%{version}.tar
-Patch0: easygtk-Makefile.patch
+Source0: http://www.linsupport.com/sw/%{name}-%{version}.tar
+Patch0: %{name}-Makefile.patch
BuildRequires: gtk+
BuildRequires: imlib-devel
BuildRequires: ImageMagick-devel
URL: http://www.linsupport.com/sw/easygtk.html
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
+%define _prefix /usr/X11R6
%description
EasyGTK is a wrapper library around GTK+ library to provide a much
-easier and simplier Application Programming Interface to the developer.
+easier and simplier Application Programming Interface to the
+developer.
%description -l pl
-EasyGTK jest nadzbiorem funkcji GTK+ pozwalaj±cym na szybsze i ³atwiejsze
-tworzenie aplikacji u¿ywaj±cych Graficznego Interfejsu U¿ytkownika.
+EasyGTK jest nadzbiorem funkcji GTK+ pozwalaj±cym na szybsze i
+³atwiejsze tworzenie aplikacji u¿ywaj±cych Graficznego Interfejsu
+U¿ytkownika.
%prep
%setup -q -n %{name}
%build
./configure
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+%{__make} RPM_OPT_FLAGS="%{rpmcflags}"
# make shared library
-make easygtk.so
+%{__make} easygtk.so
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
-install -s libeasygtk.a $RPM_BUILD_ROOT%{_libdir}
-install -s easygtk.so $RPM_BUILD_ROOT%{_libdir}/libeasygtk.so.%{version}
+install libeasygtk.a $RPM_BUILD_ROOT%{_libdir}
+install easygtk.so $RPM_BUILD_ROOT%{_libdir}/libeasygtk.so.%{version}
install easygtk.h $RPM_BUILD_ROOT%{_includedir}
gzip -9nf README