epel9
Tom Callaway 8 years ago
parent b4690bacca
commit d053406a40

1
.gitignore vendored

@ -1 +1,2 @@
tslib-1.0.tar.bz2 tslib-1.0.tar.bz2
/tslib-1.10-rc1.tar.bz2

@ -1 +1 @@
92b2eb55b1e4ef7e2c0347069389390e tslib-1.0.tar.bz2 SHA512 (tslib-1.10-rc1.tar.bz2) = b86e86ed1cb1292c1fcd6381f28f634589da5101c74bb474afea2f03791c0fb49199004b08f2a8903ed2f999057b40a6c6ed8a0e91c6cb8d33e512a2e237b0c5

@ -1,17 +1,14 @@
%global prever rc1
Name: tslib Name: tslib
Version: 1.0 Version: 1.10
Release: 12%{?dist} Release: 0.1.%{prever}%{?dist}
Summary: Touchscreen Access Library Summary: Touchscreen Access Library
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPLv2 License: LGPLv2
URL: http://tslib.berlios.de/ URL: https://github.com/kergoth/tslib
Source0: http://download.berlios.de/tslib/tslib-%{version}.tar.bz2 Source0: https://github.com/kergoth/tslib/releases/download/%{version}-%{prever}/tslib-1.10-%{prever}.tar.bz2
Patch0: tslib-1.0-backport-O_CREAT.patch BuildRequires: libtool, autoconf, automake
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtool
%description %description
The idea of tslib is to have a core library that provides standardised The idea of tslib is to have a core library that provides standardised
@ -25,60 +22,53 @@ specifies one module, and the parameters for that module. The modules
are loaded in order, with the first one processing the touchscreen data are loaded in order, with the first one processing the touchscreen data
first. first.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%prep %prep
%setup -q %setup -q -n %{name}-%{version}-%{prever}
%patch0 -p2 -b .ocreat
./autogen.sh ./autogen.sh
%build %build
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %doc AUTHORS ChangeLog README
%doc AUTHORS ChangeLog COPYING README %license COPYING
%config(noreplace) %{_sysconfdir}/ts.conf %config(noreplace) %{_sysconfdir}/ts.conf
%{_bindir}/ts* %{_bindir}/ts*
%{_libdir}/*.so.* %{_libdir}/*.so.*
%dir %{_libdir}/ts %dir %{_libdir}/ts
%{_libdir}/ts/*.so %{_libdir}/ts/*.so
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_mandir}/man5/*
%files devel %files devel
%defattr(-,root,root,-)
%{_includedir}/tslib.h %{_includedir}/tslib.h
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/tslib-0.0.pc %{_libdir}/pkgconfig/tslib.pc
%changelog %changelog
* Mon May 8 2017 Tom Callaway <spot@fedoraproject.org> - 1.10-0.1.rc1
- update to 1.10-rc1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-12 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Loading…
Cancel
Save