Summary: fancylogview - A log file viewer. Name: fancylogview Version: __FANCY_VERSION__ Release: __FANCY_RELEASE__ License: GPL Group: Applications/Utilities Source: http://www.ev-i.at/oss/fancylibs/SOURCES/fancylogview-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-buildroot BuildRequires: gtk2-devel BuildRequires: gconf2-devel BuildRequires: perl BuildRequires: gcc %description fancylogview is a log file viewer, which mimics 'tail -f' and is based on GTK+. %prep %setup -q cd build/unix/release ../../../src/scripts/config.pl\ DESTDIR=$RPM_BUILD_ROOT \ prefix=/usr \ -DCLIBS_INSTALL_PREFIX=\"/usr\" \ LIBSUBDIR=%{_lib} \ CFLAGS="$RPM_OPT_FLAGS" \ CXXFLAGS="$RPM_OPT_FLAGS" make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/usr/share/applications install -m 644 src/fancylogview.desktop $RPM_BUILD_ROOT/usr/share/applications cd build/unix/release make install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/bin /usr/share/applications %changelog