raveit65 b8d986a
Name:           python-caja
69f9ab9
Version:        1.18.1
eb9a954
Release:        1%{?dist}
raveit65 b8d986a
Epoch:          1
raveit65 b8d986a
Summary:        Python bindings for Caja
raveit65 b8d986a
raveit65 b8d986a
Group:          Development/Libraries
raveit65 b8d986a
License:        GPLv2+ and LGPLv2+
raveit65 b8d986a
URL:            http://mate-desktop.org
69f9ab9
Source0:        http://pub.mate-desktop.org/releases/1.18/%{name}-%{version}.tar.xz
raveit65 b8d986a
raveit65 b8d986a
BuildRequires:  python2-devel
raveit65 10b4459
BuildRequires:  caja-devel
raveit65 f536b35
BuildRequires:  pygobject3-devel
raveit65 b8d986a
BuildRequires:  mate-common
raveit65 b8d986a
raveit65 b8d986a
raveit65 b8d986a
%description
raveit65 b8d986a
Python bindings for Caja
raveit65 b8d986a
raveit65 b8d986a
%package devel
raveit65 b8d986a
Summary:        Python bindings for Caja
raveit65 b8d986a
Group:          Development/Libraries
raveit65 b8d986a
Requires:       %{name}%{?_isa} = %{epoch}:%{version}-%{release}
raveit65 b8d986a
raveit65 b8d986a
%description devel
raveit65 b8d986a
Python bindings for Caja
raveit65 b8d986a
raveit65 b8d986a
raveit65 b8d986a
%prep
raveit65 b8d986a
%setup -q
raveit65 10b4459
sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/background-image.py
raveit65 10b4459
sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/block-size-column.py
raveit65 10b4459
sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/location-widget-provider.py
raveit65 10b4459
sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/md5sum-property-page.py
raveit65 10b4459
sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/open-terminal.py
raveit65 10b4459
sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/submenu.py
raveit65 10b4459
sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/update-file-info-async.py
raveit65 10b4459
raveit65 b8d986a
%build
raveit65 b8d986a
raveit65 b8d986a
%configure \
raveit65 b8d986a
     --disable-static
raveit65 b8d986a
raveit65 b8d986a
make %{?_smp_mflags}
raveit65 b8d986a
raveit65 b8d986a
raveit65 b8d986a
%install
raveit65 b8d986a
%{make_install}
raveit65 f536b35
mkdir -p $RPM_BUILD_ROOT%{_datadir}/caja-python/extensions
raveit65 b8d986a
find $RPM_BUILD_ROOT -name '*.la' -delete
raveit65 b8d986a
raveit65 f536b35
%find_lang %{name} --with-gnome --all-name
raveit65 f536b35
raveit65 b8d986a
%post -p /sbin/ldconfig
raveit65 b8d986a
raveit65 b8d986a
%postun -p /sbin/ldconfig
raveit65 b8d986a
raveit65 1429b79
raveit65 f536b35
%files -f %{name}.lang
raveit65 b8d986a
%doc README AUTHORS COPYING NEWS
raveit65 b8d986a
%{_libdir}/caja/extensions-2.0/libcaja-python.so
raveit65 f536b35
%{_datadir}/caja/extensions/libcaja-python.caja-extension
raveit65 f536b35
%dir %{_datadir}/caja-python
raveit65 f536b35
%dir %{_datadir}/caja-python/extensions
raveit65 fa0bc3e
%{_docdir}/python-caja/examples/
raveit65 1429b79
%if 0%{?rhel}
raveit65 1429b79
%{_docdir}/python-caja/README
raveit65 1429b79
%endif
raveit65 b8d986a
raveit65 b8d986a
%files devel
raveit65 b8d986a
%{_libdir}/pkgconfig/caja-python.pc
raveit65 b8d986a
raveit65 b8d986a
raveit65 b8d986a
%changelog
69f9ab9
* Wed Jul 26 2017 Wolfgang Ulbrich <fedora@raveit.de> - 1.18.1-1
69f9ab9
- update to 1.18.1
69f9ab9
eb9a954
* Tue Mar 14 2017 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.18.0-1
eb9a954
- update to 1.18.0 release
eb9a954
b5a90f5
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.17.0-2
b5a90f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b5a90f5
raveit65 0c1029a
* Tue Dec 06 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.17.0-1
raveit65 0c1029a
- test 1.17.0 release
raveit65 0c1029a
raveit65 7f8ec4d
* Thu Sep 22 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.16.0-1
raveit65 7f8ec4d
- update to 1.16.0 release
raveit65 7f8ec4d
raveit65 22ff492
* Mon Jun 13 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.15.0-1
raveit65 22ff492
- update to 1.15.0 release
raveit65 22ff492
raveit65 ed5b728
* Thu Apr 07 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.14.0-1
raveit65 ed5b728
- update to 1.14.0
raveit65 ed5b728
Wolfgang Ulbrich 4dabde0
* Sun Feb 07 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.13.0-1
Wolfgang Ulbrich 4dabde0
- update to 1.13.0 release
Wolfgang Ulbrich 4dabde0
a058a02
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.12.0-2
a058a02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a058a02
Wolfgang Ulbrich cd7666f
* Fri Nov 06 2015 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.12.0-1
Wolfgang Ulbrich cd7666f
- update to 1.12.0 release
Wolfgang Ulbrich cd7666f
raveit65 f536b35
* Sat Sep 12 2015 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1:1.10.0-1
raveit65 f536b35
- update to 1.10.0 release
raveit65 f536b35
- remove patches
raveit65 f536b35
- remove conditions for caja
raveit65 f536b35
dc41165
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.0-9
dc41165
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
dc41165
c267843
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.0-8
c267843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c267843
511b68c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.0-7
511b68c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
511b68c
raveit65 2fb4062
* Sat Apr 05 2014 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1:1.4.0-6
raveit65 1870ce8
- use and own %%{_libdir}/caja/extensions-2.0/python
raveit65 a7a0994
- fix rhbz (#1082693)
raveit65 1870ce8
raveit65 6d78146
* Sun Mar 16 2014 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1:1.4.0-5
raveit65 6d78146
- create and own /usr/lib/caja/extensions-2.0/python/ directory
raveit65 6d78146
raveit65 10b4459
* Wed Dec 18 2013 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1:1.4.0-4
raveit65 10b4459
- rebuild for caja rename in f21
raveit65 10b4459
- add python2 stacks
raveit65 10b4459
raveit65 b8d986a
* Mon Sep 23 2013 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1:1.4.0-3
raveit65 b8d986a
- own directories
raveit65 b8d986a
raveit65 b8d986a
* Fri Sep 06 2013 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1:1.4.0-2
raveit65 b8d986a
- initial build for fedora
raveit65 b8d986a
- use modern make install macro
raveit65 b8d986a
- add epoch tag to obsolete python-caja from external repo
raveit65 b8d986a
- add upstream patches to fix incorrect-FSF-address
raveit65 b8d986a
- add upstream patch for automake-1.13
raveit65 b8d986a
- add LGPLv2+ to license information
raveit65 b8d986a
raveit65 b8d986a
* Thu May 30 2013 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.4.0-1
raveit65 b8d986a
- build for f19
raveit65 b8d986a
- add python-caja_removal_of_mate-python_usage.patch
raveit65 b8d986a
raveit65 b8d986a
* Tue Apr 10 2012 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.2.0-1
raveit65 b8d986a
- rename package to python-caja
raveit65 b8d986a
raveit65 b8d986a
* Wed Mar 14 2012 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.2.0-1
raveit65 b8d986a
- update to 1.2.0 version
raveit65 b8d986a
raveit65 b8d986a
* Mon Feb 13 2012 Wolfgang Ulbrich <chat-to-me@raveit.de> - caja-python-1.1.0-2
raveit65 b8d986a
- rebuild for enable builds for .i686
raveit65 b8d986a
raveit65 b8d986a
* Sat Jan 21 2012 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.1.0-1
raveit65 b8d986a
- update to version 1.1.0
raveit65 b8d986a
raveit65 b8d986a
* Wed Jan 04 2012 Wolfgang Ulbrich <chat-to-me@raveit.de> - 2011.12.01-1
raveit65 b8d986a
- caja-python.spec based on nautilus-python-1.0-1.fc16 spec