ALT Linux repositórios
Group :: Escritórios
RPM: xneur
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname XNeur
Name: xneur
Version: 0.6.1
Release: alt2
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
Patch: %name-0.5.0.patch
#add_findprov_lib_path %_libdir/%name
# Automatically added by buildreq on Wed Mar 14 2007
BuildRequires: gcc-c++ glibc-devel imake libICE-devel libpcre-devel libX11-devel xorg-cf-files
%description
Xneur is program like Punto Switcher, but has other
functionality and features for configuring.
%package -n lib%name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: %name = %version
%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
%__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
#patch
%build
%__autoreconf
%configure --disable-static
%make_build
%install
%make_install install DESTDIR=%buildroot
#rm -rf %buildroot%prefix/doc/
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc AUTHORS ChangeLog NEWS README TODO
%_bindir/*
%_sysconfdir/%name/
#%dir %_libdir/%name/
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/%name/
%_libdir/*.so
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui
Name: xneur
Version: 0.6.1
Release: alt2
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
Patch: %name-0.5.0.patch
#add_findprov_lib_path %_libdir/%name
# Automatically added by buildreq on Wed Mar 14 2007
BuildRequires: gcc-c++ glibc-devel imake libICE-devel libpcre-devel libX11-devel xorg-cf-files
%description
Xneur is program like Punto Switcher, but has other
functionality and features for configuring.
%package -n lib%name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: %name = %version
%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
%__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
#patch
%build
%__autoreconf
%configure --disable-static
%make_build
%install
%make_install install DESTDIR=%buildroot
#rm -rf %buildroot%prefix/doc/
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc AUTHORS ChangeLog NEWS README TODO
%_bindir/*
%_sysconfdir/%name/
#%dir %_libdir/%name/
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/%name/
%_libdir/*.so
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui