rpms/ois/F-7 ois.spec,NONE,1.1

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Mon Jul 2 19:42:15 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/ois/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5240

Added Files:
	ois.spec 
Log Message:
* Sun Jul  1 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-1
- Initial Fedora package



--- NEW FILE ois.spec ---
Name:           ois
Version:        1.0
Release:        1%{?dist}
Summary:        Open Input System, OO gaming input library
Group:          System Environment/Libraries
License:        zlib/libpng License
URL:            http://sourceforge.net/projects/wgois
Source0:        http://downloads.sourceforge.net/wgois/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  libtool libXaw-devel

%description
Object Oriented Input System (OIS) is meant to be a cross platform, simple
solution for using all kinds of Input Devices (KeyBoards, Mice, Joysticks, etc)
and feedback devices (e.g. forcefeedback). Written in C++ using Object Oriented
Design patterns.


%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       pkgconfig, %{name} = %{version}-%{release}

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q -n %{name}
chmod -x `find includes -type f` `find src -type f` ReadMe.txt
./bootstrap


%build
%configure --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc ReadMe.txt
%{_libdir}/libOIS-1.0.0.so

%files devel
%defattr(-,root,root,-)
%{_includedir}/OIS
%{_libdir}/libOIS.so
%{_libdir}/pkgconfig/OIS.pc


%changelog
* Sun Jul  1 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-1
- Initial Fedora package




More information about the scm-commits mailing list