SPECS: owfs.spec - updated to 2.7p4 - files fixes, added perl-, pyt...
qboosh
qboosh at pld-linux.org
Mon Mar 10 23:35:50 CET 2008
Author: qboosh Date: Mon Mar 10 22:35:50 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 2.7p4
- files fixes, added perl-,python-,tcl packages
---- Files affected:
SPECS:
owfs.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/owfs.spec
diff -u SPECS/owfs.spec:1.14 SPECS/owfs.spec:1.15
--- SPECS/owfs.spec:1.14 Sun Jan 6 03:34:18 2008
+++ SPECS/owfs.spec Mon Mar 10 23:35:45 2008
@@ -7,7 +7,7 @@
#
# Conditional build:
%bcond_without libusb # build without USB support
-%bcond_with owphp # build without PHP support
+%bcond_with owphp # build with PHP support
%bcond_without owfs # build without owfs support
%bcond_without tcl # build without tcl support
%bcond_without owftpd # build without owftpd support
@@ -15,25 +15,28 @@
Summary: One-wire file system using FUSE
Summary(pl.UTF-8): System plików 1-Wire wykorzystujący FUSE
Name: owfs
-Version: 2.7p2
-Release: 0.2
+Version: 2.7p4
+Release: 0.1
Epoch: 2
License: GPL v2+
-Group: Applications
+Group: Applications/System
Source0: http://dl.sourceforge.net/owfs/%{name}-%{version}.tar.gz
-# Source0-md5: aafe3ca1ff30e88c332b5443d1b3b744
+# Source0-md5: 7b7fe955c6686348f4119dde63944d95
URL: http://owfs.sourceforge.net/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: libtool
-BuildRequires: libfuse-devel
+BuildRequires: libfuse-devel >= 2.2
+BuildRequires: libstdc++-devel
%{?with_libusb:BuildRequires: libusb-devel >= 0.1.5}
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl-ExtUtils-MakeMaker
BuildRequires: perl-devel
%{?with_owphp:BuildRequires: php-devel}
%{?with_owphp:BuildRequires: php-program}
-BuildRequires: python-devel
+BuildRequires: python-devel >= 1:2.5
BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: sed >= 4.0
BuildRequires: swig-perl
%{?with_owphp:BuildRequires: swig-php}
BuildRequires: swig-python
@@ -91,9 +94,50 @@
%description static -l pl.UTF-8
Statyczna biblioteka owfs.
+%package -n perl-owfs
+Summary: Perl bindings for owfs
+Summary(pl.UTF-8): Wiązania Perla do owfs
+Group: Development/Languages/Perl
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+
+%description -n perl-owfs
+Perl bindings for owfs.
+
+%description -n perl-owfs -l pl.UTF-8
+Wiązania Perla do owfs.
+
+%package -n python-owfs
+Summary: Python bindings for owfs
+Summary(pl.UTF-8): Wiązania Pythona do owfs
+Group: Libraries/Python
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+%pyrequires_eq python-libs
+
+%description -n python-owfs
+Python bindings for owfs.
+
+%description -n python-owfs -l pl.UTF-8
+Wiązania Pythona do owfs.
+
+%package -n tcl-owfs
+Summary: Tcl bindings for owfs
+Summary(pl.UTF-8): Wiązania Tcl-a do owfs
+Group: Development/Languages/Perl
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+
+%description -n tcl-owfs
+Tcl bindings for owfs.
+
+%description -n tcl-owfs -l pl.UTF-8
+Wiązania Tcl-a do owfs.
+
%prep
%setup -q
+sed -i -e 's/) Makefile.PL/& INSTALLDIRS=vendor/' \
+ module/swig/perl5/Makefile.am \
+ module/ownet/perl5/Makefile.am
+
%build
%{__libtoolize}
%{__aclocal}
@@ -108,13 +152,20 @@
--%{?with_owftpd:en}%{!?with_owftpd:dis}able-owftpd \
--enable-parport
-%{__make}
+%{__make} \
+ TCL_BIN_DIR=%{_libdir}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ TCL_BIN_DIR=%{_libdir}
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/ow
+%py_postclean
+
+rm $RPM_BUILD_ROOT%{_libdir}/owtcl-0.2/*.{la,a}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -125,26 +176,90 @@
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
-%{_mandir}/man5/*
+%attr(755,root,root) %{_bindir}/owdir
+%attr(755,root,root) %{_bindir}/owfs
+%attr(755,root,root) %{_bindir}/owftpd
+%attr(755,root,root) %{_bindir}/owhttpd
+%attr(755,root,root) %{_bindir}/owmon
+%attr(755,root,root) %{_bindir}/owpresent
+%attr(755,root,root) %{_bindir}/owread
+%attr(755,root,root) %{_bindir}/owserver
+%attr(755,root,root) %{_bindir}/owtap
+%attr(755,root,root) %{_bindir}/owwrite
+%{_mandir}/man1/owdir.1*
+%{_mandir}/man1/owfs.1*
+%{_mandir}/man1/owftpd.1*
+%{_mandir}/man1/owhttpd.1*
+%{_mandir}/man1/owmon.1*
+%{_mandir}/man1/owpresent.1*
+%{_mandir}/man1/owread.1*
+%{_mandir}/man1/owserver.1*
+%{_mandir}/man1/owshell.1*
+%{_mandir}/man1/owtap.1*
+%{_mandir}/man1/owwrite.1*
+%{_mandir}/man5/owfs.5*
+%{_mandir}/man5/owfs.conf.5*
%{_mandir}/mann/*
%files libs
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/lib*.so.2
+%attr(755,root,root) %{_libdir}/libow-2.7.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libow-2.7.so.4
+%attr(755,root,root) %{_libdir}/libowcapi-2.7.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libowcapi-2.7.so.4
+%attr(755,root,root) %{_libdir}/libownet-2.7.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libownet-2.7.so.4
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
-%{_includedir}/*
-%{_mandir}/man3/*
+%attr(755,root,root) %{_libdir}/libow.so
+%attr(755,root,root) %{_libdir}/libowcapi.so
+%attr(755,root,root) %{_libdir}/libownet.so
+%{_libdir}/libow.la
+%{_libdir}/libowcapi.la
+%{_libdir}/libownet.la
+%{_includedir}/ow*.h
+# FIXME: should be man3, not man1
+%{_mandir}/man1/libowcapi.1*
+%{_mandir}/man1/owcapi.1*
+%{_mandir}/man3/DS*.3*
+%{_mandir}/man3/LCD.3*
+%{_mandir}/man3/Thermachron.3*
%files static
%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libow.a
+%{_libdir}/libowcapi.a
+%{_libdir}/libownet.a
+
+%files -n perl-owfs
+%defattr(644,root,root,755)
+%{perl_vendorarch}/OW.pm
+%dir %{perl_vendorarch}/auto/OW
+%{perl_vendorarch}/auto/OW/OW.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/OW/OW.so
+%{perl_vendorlib}/OWNet.pm
+%{_mandir}/man3/OWNet.3*
+%{_mandir}/man3/owperl.3*
+
+%files -n python-owfs
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/ow
+%attr(755,root,root) %{py_sitedir}/ow/_OW.so
+%{py_sitedir}/ow/__init__.py[co]
+%{py_sitedir}/ow-*.egg-info
+%dir %{py_sitescriptdir}/ownet
+%{py_sitescriptdir}/ownet/*.py[co]
+%{py_sitescriptdir}/ownet-*.egg-info
+
+%files -n tcl-owfs
+%defattr(644,root,root,755)
+%dir %{_libdir}/owtcl-0.2
+%attr(755,root,root) %{_libdir}/owtcl-0.2/ow-0.2.so
+%attr(755,root,root) %{_libdir}/owtcl-0.2/ow.so
+%{_libdir}/owtcl-0.2/*.tcl
+%{_mandir}/man3/owtcl.3*
+%{_mandir}/mann/owtcl.n*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -152,6 +267,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2008-03-10 22:35:45 qboosh
+- updated to 2.7p4
+- files fixes, added perl-,python-,tcl packages
+
Revision 1.14 2008-01-06 02:34:18 zbyniu
- many BRs; strict configure options for bconds
- ldconfig for -libs; TODO added; dead bcond ownfsd removed
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/owfs.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list