Группа :: Система/Библиотеки
Пакет: libts
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname tslib
%define plugindir %_libdir/libts-1.0
%define sover 0
Name: libts
Version: 1.22
Release: alt1
Summary: tslib - touchscreen access library
Url: http://developer.berlios.de/projects/tslib/
License: GPL
Group: System/Libraries
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://download.berlios.de/tslib/%oname-%version.tar
BuildRequires: gcc-c++ glibc-devel libSDL2-devel
%description
Hardware independent touchscreen access library.
%package devel
Summary: Development library and headers for %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Development files (headers etc.) for %name.
%prep
%setup -n %oname-%version
%__subst 's,^# module_raw input$,module_raw input,' etc/ts.conf
# For quick verification during building:
grep "module_raw input" etc/ts.conf
%build
./autogen.sh
%configure --with-plugindir=%plugindir --with-sdl2
%make_build
%install
%makeinstall_std
rm -f %buildroot%plugindir/*.la
%files
%doc README AUTHORS ChangeLog
%config(noreplace) %_sysconfdir/ts.conf
%_bindir/ts_*
%_libdir/lib*.so.%sover
%_libdir/lib*.so.*
%dir %plugindir
%plugindir/*.so
%files devel
%_libdir/*.so
%_includedir/tslib.h
%_pkgconfigdir/*.pc
%changelog
…
Полный changelog можно просмотреть здесь
%define plugindir %_libdir/libts-1.0
%define sover 0
Name: libts
Version: 1.22
Release: alt1
Summary: tslib - touchscreen access library
Url: http://developer.berlios.de/projects/tslib/
License: GPL
Group: System/Libraries
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://download.berlios.de/tslib/%oname-%version.tar
BuildRequires: gcc-c++ glibc-devel libSDL2-devel
%description
Hardware independent touchscreen access library.
%package devel
Summary: Development library and headers for %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Development files (headers etc.) for %name.
%prep
%setup -n %oname-%version
%__subst 's,^# module_raw input$,module_raw input,' etc/ts.conf
# For quick verification during building:
grep "module_raw input" etc/ts.conf
%build
./autogen.sh
%configure --with-plugindir=%plugindir --with-sdl2
%make_build
%install
%makeinstall_std
rm -f %buildroot%plugindir/*.la
%files
%doc README AUTHORS ChangeLog
%config(noreplace) %_sysconfdir/ts.conf
%_bindir/ts_*
%_libdir/lib*.so.%sover
%_libdir/lib*.so.*
%dir %plugindir
%plugindir/*.so
%files devel
%_libdir/*.so
%_includedir/tslib.h
%_pkgconfigdir/*.pc
%changelog
…
Полный changelog можно просмотреть здесь