ALT Linux repositórios

Group :: Escritórios
RPM: xneur
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
%define oname XNeur
Name: xneur
Version: 0.9.7
Release: alt1.M41.2
Summary: X Neural Switcher
License: GPL
Group: Office
Url: http://xneur.ru/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dists.xneur.ru/release-%version/tgz/%name-%version.tar.bz2
Patch0: %name-0.9.7.patch
# Automatically added by buildreq on Sun Oct 11 2009
BuildRequires: gstreamer-devel libXext-devel libXinerama-devel libaspell-devel libnotify-devel libpcre-devel libxosd-devel zlib-devel
BuildRequires: rpm-build-compat >= 0.95
%description
Xneur is program like Punto Switcher, but has other
functionality and features for configuring.
%package -n lib%name
Summary: Libraries needed for %name
Group: System/Libraries
%description -n lib%name
Libraries needed for %name
%package -n lib%name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package contains the headers that programmers will need to develop
applications which will use %name.
%prep
%setup -q -n %name-%version
%patch -p2
%__subst "s| at libdir at /xneur| at libdir at |g" lib/config/Makefile.am
%__subst "s| at libdir at / at PACKAGE at | at libdir at |g" xnconfig.pc.in
%__subst "s|/lib/|/%_lib/|g" configure.in
%build
%undefine __libtoolize
# autoreconf breaks build on ALT 4.1
%configure --disable-static
%make_build
%install
%makeinstall_std
%find_lang %name
rm -f %buildroot%_libdir/%name/*.so %buildroot%_libdir/%name/*.la
%files -f %name.lang
%doc AUTHORS ChangeLog NEWS README TODO
%_bindir/*
%_sysconfdir/%name/
%dir %_libdir/%name/
%_libdir/%name/*.so.*
%_datadir/%name/
%_man1dir/*
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/%name/
%_libdir/*.so
%_man5dir/*
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui
#
%define oname XNeur
Name: xneur
Version: 0.9.7
Release: alt1.M41.2
Summary: X Neural Switcher
License: GPL
Group: Office
Url: http://xneur.ru/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dists.xneur.ru/release-%version/tgz/%name-%version.tar.bz2
Patch0: %name-0.9.7.patch
# Automatically added by buildreq on Sun Oct 11 2009
BuildRequires: gstreamer-devel libXext-devel libXinerama-devel libaspell-devel libnotify-devel libpcre-devel libxosd-devel zlib-devel
BuildRequires: rpm-build-compat >= 0.95
%description
Xneur is program like Punto Switcher, but has other
functionality and features for configuring.
%package -n lib%name
Summary: Libraries needed for %name
Group: System/Libraries
%description -n lib%name
Libraries needed for %name
%package -n lib%name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package contains the headers that programmers will need to develop
applications which will use %name.
%prep
%setup -q -n %name-%version
%patch -p2
%__subst "s| at libdir at /xneur| at libdir at |g" lib/config/Makefile.am
%__subst "s| at libdir at / at PACKAGE at | at libdir at |g" xnconfig.pc.in
%__subst "s|/lib/|/%_lib/|g" configure.in
%build
%undefine __libtoolize
# autoreconf breaks build on ALT 4.1
%configure --disable-static
%make_build
%install
%makeinstall_std
%find_lang %name
rm -f %buildroot%_libdir/%name/*.so %buildroot%_libdir/%name/*.la
%files -f %name.lang
%doc AUTHORS ChangeLog NEWS README TODO
%_bindir/*
%_sysconfdir/%name/
%dir %_libdir/%name/
%_libdir/%name/*.so.*
%_datadir/%name/
%_man1dir/*
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/%name/
%_libdir/*.so
%_man5dir/*
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui