66c006a
Name:           libirman
66c006a
Version:        0.4.5
a2f9ab0
Release:        5%{?dist}
66c006a
Summary:        Library for IRMAN hardware
66c006a
66c006a
Group:          System Environment/Libraries
66c006a
#The files which make up the library are covered under the GNU Library
66c006a
#General Public License, which is in the file COPYING.lib.
66c006a
#The files which make up the test programs and the documentation are covered
66c006a
#under the GNU General Public License, which is in the file COPYING.
66c006a
License:        GPLv2+ and LGPLv2+
66c006a
URL:            http://lirc.sourceforge.net/software/snapshots/
66c006a
Source0:        http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2
66c006a
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
66c006a
66c006a
BuildRequires:  autoconf, automake, libtool
66c006a
66c006a
%description
66c006a
A library for accessing the IRMAN hardware from Linux and other Unix systems.
66c006a
66c006a
%package        devel
66c006a
Summary:        Development files for %{name}
66c006a
Group:          Development/Libraries
66c006a
Requires:       %{name} = %{version}-%{release}
66c006a
66c006a
%description    devel
66c006a
The %{name}-devel package contains libraries and header files for
66c006a
developing applications that use %{name}.
66c006a
66c006a
66c006a
%prep
66c006a
%setup -q
66c006a
66c006a
66c006a
%build
66c006a
libtoolize --force --copy
66c006a
autoreconf
66c006a
%configure --disable-static --disable-rpath \
66c006a
  --prefix=%{_prefix} \
66c006a
  --mandir=%{_mandir} \
66c006a
  --sysconfdir=%{_sysconfdir}
66c006a
make %{?_smp_mflags}
66c006a
66c006a
66c006a
%install
66c006a
rm -rf $RPM_BUILD_ROOT
66c006a
make install DESTDIR=$RPM_BUILD_ROOT
66c006a
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
66c006a
66c006a
66c006a
%clean
66c006a
rm -rf $RPM_BUILD_ROOT
66c006a
66c006a
66c006a
%post -p /sbin/ldconfig
66c006a
66c006a
%postun -p /sbin/ldconfig
66c006a
66c006a
66c006a
%files
66c006a
%defattr(-,root,root,-)
66c006a
%doc COPYING* README TODO NEWS
66c006a
%config(noreplace) %{_sysconfdir}/irman.conf
66c006a
%{_bindir}/*
66c006a
%{_libdir}/*.so.*
66c006a
66c006a
%files devel
66c006a
%defattr(-,root,root,-)
66c006a
%doc TECHNICAL
66c006a
%{_includedir}/*
66c006a
%{_libdir}/*.so
66c006a
66c006a
66c006a
%changelog
a2f9ab0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-5
a2f9ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a2f9ab0
51500ef
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-4
51500ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
51500ef
66c006a
* Sun May 17 2009 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.4.5-3
66c006a
- added libtoolize to fix build for f11
66c006a
66c006a
* Sat Apr 18 2009 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.4.5-2
66c006a
- added autoreconf and --disable-rpath
66c006a
66c006a
* Fri Apr 10 2009 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.4.5-1
66c006a
- new upstream
66c006a
- updated Source0 to sourceforge
66c006a
- removed autoconf things
66c006a
66c006a
* Thu Apr 02 2009 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.4.4-5.20090314cvs
66c006a
- removed cvs patch, added instructions to create cvs snapshot tar package,
66c006a
  which is now defined as Source0
66c006a
66c006a
* Sat Mar 14 2009 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.4.4-4.20090314cvs
66c006a
- applied cvs patch, which fixed dynamic library build and IRMAN restart
66c006a
- added BuildRequires: autoconf, automake, libtool
66c006a
66c006a
* Sat Dec  6 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.4.4-3
66c006a
- initial release