This commit is contained in:
parent
31b5c9a2f5
commit
6fdf17bf0c
@ -80,17 +80,6 @@ Group: Productivity/File utilities
|
|||||||
This subpackage contains the utility programs from libsmraw to
|
This subpackage contains the utility programs from libsmraw to
|
||||||
acquire, export, query and verify storage media (split) RAW files.
|
acquire, export, query and verify storage media (split) RAW files.
|
||||||
|
|
||||||
%package -n python2-%name
|
|
||||||
Summary: Python 2 bindings for libsmraw
|
|
||||||
Group: Development/Languages/Python
|
|
||||||
Requires: %lname = %version
|
|
||||||
Requires: python
|
|
||||||
Obsoletes: python-%{name}
|
|
||||||
|
|
||||||
%description -n python2-%name
|
|
||||||
Python 2 bindings for libsmraw, which provides functionality to work
|
|
||||||
with (split) RAW files.
|
|
||||||
|
|
||||||
%package -n python3-%name
|
%package -n python3-%name
|
||||||
Summary: Python 3 bindings for libsmraw
|
Summary: Python 3 bindings for libsmraw
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
@ -105,7 +94,7 @@ with (split) RAW files.
|
|||||||
%setup -qn libsmraw-%timestamp
|
%setup -qn libsmraw-%timestamp
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3
|
%configure --disable-static --enable-wide-character-type --enable-python3
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -138,12 +127,6 @@ find "%buildroot" -name "*.la" -delete
|
|||||||
%_bindir/smrawmount
|
%_bindir/smrawmount
|
||||||
%_mandir/man1/smrawmount.1*
|
%_mandir/man1/smrawmount.1*
|
||||||
|
|
||||||
%files -n python2-%name
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS ChangeLog
|
|
||||||
%license COPYING
|
|
||||||
%python_sitearch/pysmraw.so
|
|
||||||
|
|
||||||
%files -n python3-%name
|
%files -n python3-%name
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog
|
%doc AUTHORS ChangeLog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user