Группа :: Система/Библиотеки
Пакет: qimageblitz
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Name: qimageblitz
Version: 0.0.4
Release: alt2
Summary: Graphical effect and filter library for KDE4.0
License: BSD
Group: System/Libraries
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
Url: http://sourceforge.net/projects/qimageblitz
Source0: %name-%version.tar.bz2
Source1: %name.watch
BuildPreReq: cmake gcc-c++ libqt4-devel
%description
Blitz is a graphical effect and filter library for KDE4.0 that contains
many improvements over KDE 3.x's kdefx library including bugfixes,
memory and speed improvements, and MMX/SSE support.
%package -n lib%name
Summary: Graphical effect and filter library for KDE4.0
Group: System/Libraries
%description -n lib%name
Blitz is a graphical effect and filter library for KDE4.0 that contains
many improvements over KDE 3.x's kdefx library including bugfixes,
memory and speed improvements, and MMX/SSE support.
%package -n lib%name-devel
Summary: %name development library and headers
Group: Development/C++
Requires: lib%name = %version
%description -n lib%name-devel
Blitz is a graphical effect and filter library for KDE4.0 that contains
many improvements over KDE 3.x's kdefx library including bugfixes,
memory and speed improvements, and MMX/SSE support.
This package contains %name development library and headers.
%prep
%setup
mkdir build
cd build
cmake ../ \
-DCMAKE_INSTALL_PREFIX=%_prefix \
%ifarch x86_64
-DLIB_SUFFIX=64 \
%endif
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DCMAKE_SKIP_RPATH=YES
%build
cd build
%make_build VERBOSE=1
%install
pushd build
%makeinstall DESTDIR=%buildroot
popd
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -n lib%name
%_bindir/*
%_libdir/*.so.*
%doc Changelog README.BLITZ README.PORTING
%files -n lib%name-devel
%_libdir/*.so
%_includedir/%name/
%_pkgconfigdir/*.pc
%changelog
…
Полный changelog можно просмотреть здесь
Name: qimageblitz
Version: 0.0.4
Release: alt2
Summary: Graphical effect and filter library for KDE4.0
License: BSD
Group: System/Libraries
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
Url: http://sourceforge.net/projects/qimageblitz
Source0: %name-%version.tar.bz2
Source1: %name.watch
BuildPreReq: cmake gcc-c++ libqt4-devel
%description
Blitz is a graphical effect and filter library for KDE4.0 that contains
many improvements over KDE 3.x's kdefx library including bugfixes,
memory and speed improvements, and MMX/SSE support.
%package -n lib%name
Summary: Graphical effect and filter library for KDE4.0
Group: System/Libraries
%description -n lib%name
Blitz is a graphical effect and filter library for KDE4.0 that contains
many improvements over KDE 3.x's kdefx library including bugfixes,
memory and speed improvements, and MMX/SSE support.
%package -n lib%name-devel
Summary: %name development library and headers
Group: Development/C++
Requires: lib%name = %version
%description -n lib%name-devel
Blitz is a graphical effect and filter library for KDE4.0 that contains
many improvements over KDE 3.x's kdefx library including bugfixes,
memory and speed improvements, and MMX/SSE support.
This package contains %name development library and headers.
%prep
%setup
mkdir build
cd build
cmake ../ \
-DCMAKE_INSTALL_PREFIX=%_prefix \
%ifarch x86_64
-DLIB_SUFFIX=64 \
%endif
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DCMAKE_SKIP_RPATH=YES
%build
cd build
%make_build VERBOSE=1
%install
pushd build
%makeinstall DESTDIR=%buildroot
popd
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -n lib%name
%_bindir/*
%_libdir/*.so.*
%doc Changelog README.BLITZ README.PORTING
%files -n lib%name-devel
%_libdir/*.so
%_includedir/%name/
%_pkgconfigdir/*.pc
%changelog
…
Полный changelog можно просмотреть здесь