Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:derselbst
ARToolKit_v4l
ARToolKit_v4l.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ARToolKit_v4l.spec of Package ARToolKit_v4l
# # spec file for package ARToolKit_v4l # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define realname ARToolKit %define vidlib v4l Name: %{realname}_%{vidlib} Summary: Augmented Reality Tracking Library License: GPL-2.0 Group: Development/Libraries/C and C++ Version: 2.72.1 Release: 0 Source0: %{realname}-%{version}.tar.bz2 Source1: %{realname}-rpmlintrc # PATCH-FEATURE-UPSTREAM ARToolKit-2.72.1-shared.patch adam@mizerski.pl -- Make libraries shared Patch0: %{realname}-2.72.1-shared.patch # PATCH-FIX-UPSTREAM ARToolKit-2.72.1-linking.patch adam@mizerski.pl -- Fix linking of binaries Patch1: %{realname}-2.72.1-linking.patch # PATCH-FEATURE-OPENSUSE ARToolKit-2.72.1-configure.patch adam@mizerski.pl -- Make ./Configure use pkg-config and $RPM_OPT_FLAGS Patch2: %{realname}-2.72.1-configure.patch # the following patch from # http://www.kameda-lab.org/_local/imagelab.tsukuba.ac.jp/ # ubuntu1004+opencv21/ARToolKitk/index-e.html Patch3: artk-v4l2-2.72.1.20101003.patch Url: http://www.hitl.washington.edu/artoolkit/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: freeglut-devel BuildRequires: glib2-devel BuildRequires: libv4l-devel Provides: %{realname} = %{version} Conflicts: %{realname}_gst = %{version} %description The Augmented Reality Tool Kit (ARToolKit) captures images from video sources, optically tracks markers in the images, and composites them with computer-generated content using OpenGL. This version uses Video4Linux. %package devel Summary: Augmented Reality Tracking Library headers Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Provides: %{realname}-devel = %{version} %description devel This package contains files that are needed for development using ARToolKit. %package examples-and-utils Summary: Augmented Reality Tracking Library examples and utilities Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: %{name}-data = %{version} %description examples-and-utils This package contains examples and utilities for ARToolKit. %package data Summary: Augmented Reality Tracking Library data Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description data This package contains data for ARToolKit. %package doc Summary: Augmented Reality Tracking Library documentation Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description doc This package contains documentation for ARToolKit. %prep %setup -q -n %{realname} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 echo "3 n n y" | ./Configure %build %__make %{?_smp_mflags} %install find include/AR bin/{Wrl,Data} doc -type f -exec chmod 0644 "{}" "+" %__chmod 644 patterns/* %__mkdir_p %buildroot%{_libdir}/ %__mv lib/*.so* %buildroot%{_libdir}/ %__mkdir_p %buildroot%{_includedir} %__cp -r include/AR %buildroot%{_includedir} %__mkdir_p %buildroot%{_datadir}/%{realname}/ %__mkdir_p %buildroot%{_libdir}/%{realname}/ %__cp -r bin %buildroot%{_libdir}/%{realname}/ %__mv %buildroot%{_libdir}/%{realname}/bin/{Wrl,Data} patterns %buildroot%{_datadir}/%{realname}/ %__ln_s %{_datadir}/%{realname}/{Wrl,Data} %buildroot%{_libdir}/%{realname}/bin/ %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/*.so.* %doc COPYING.txt ChangeLog.txt README.txt %files devel %defattr(-,root,root) %{_libdir}/*.so %{_includedir}/* %files examples-and-utils %defattr(-,root,root) %dir %{_libdir}/%{realname}/ %{_libdir}/%{realname}/* %files data %defattr(-,root,root) %dir %{_datadir}/%{realname}/ %{_datadir}/%{realname}/* %files doc %defattr(-,root,root) %doc doc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor