a724c39
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
a724c39
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
a724c39
72ded0a
Name:           sugar-record
455b578
Version:        87
455b578
Release:        1%{?dist}
72ded0a
Summary:        Recording tool for Sugar
72ded0a
72ded0a
Group:          Sugar/Activities
72ded0a
License:        MIT
72ded0a
URL:            http://wiki.laptop.org/go/Record
455b578
Source0:        http://download.sugarlabs.org/sources/honey/Record/Record-%{version}.tar.bz2
84c5860
Source1:        launch
72ded0a
58bf7bc
BuildArch:      noarch
8f18c9d
BuildRequires:  gettext
72ded0a
BuildRequires:  python-devel
72ded0a
BuildRequires:  sugar-toolkit
72ded0a
a724c39
BuildRequires:  glib2-devel
a724c39
BuildRequires:  pygtk2-devel
a724c39
BuildRequires:  cairo-devel
a724c39
BuildRequires:  pycairo-devel
a724c39
BuildRequires:  gtk2-devel
a724c39
72ded0a
Requires:       sugar
72ded0a
Requires:       gstreamer-plugins-good
72ded0a
72ded0a
%description
72ded0a
Record is the basic rich-media capture activity for the laptop. It 
72ded0a
lets you capture still images, video, and/or audio. It has a simple 
72ded0a
interface and works in both laptop and ebook mode. An interface for 
72ded0a
sharing pictures among multi XOs during a picture-taking session is
72ded0a
a hallmark of the Record activity
72ded0a
72ded0a
%prep
58bf7bc
%setup -q -n Record.activity
a724c39
a724c39
# removed stuff that's not needed
72ded0a
rm -rf gst/
72ded0a
72ded0a
%build
72ded0a
%{__python} setup.py build
72ded0a
72ded0a
%install
58bf7bc
python ./setup.py install --prefix=%{buildroot}/%{_prefix}
72ded0a
58bf7bc
%find_lang org.laptop.RecordActivity
72ded0a
455b578
# rm -rf %{buildroot}/%{sugaractivitydir}/Record.activity/.0sugar/
455b578
# mkdir %{buildroot}/%{sugaractivitydir}/Record.activity/.0sugar/
455b578
# cp %{SOURCE1} %{buildroot}/%{sugaractivitydir}/Record.activity/.0sugar/
72ded0a
72ded0a
%files -f org.laptop.RecordActivity.lang
72ded0a
%defattr(-,root,root,-)
72ded0a
%doc COPYING NEWS
72ded0a
%{sugaractivitydir}/Record.activity/
72ded0a
72ded0a
%changelog
455b578
* Mon Apr  4 2011 Peter Robinson <pbrobinson@gmail.com> - 87-1
455b578
- New upstream 87 release
455b578
91582ae
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 66-5
91582ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
91582ae
9e7481e
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 66-4
9e7481e
- recompiling .py files against Python 2.7 (rhbz#623385)
9e7481e
84c5860
* Tue Apr 20 2010 Peter Robinson <pbrobinson@gmail.com> - 66-3
84c5860
- fix launch script
84c5860
7778ebc
* Thu Apr  8 2010 Peter Robinson <pbrobinson@gmail.com> - 66-2
7778ebc
- fix build
7778ebc
06bc550
* Thu Apr  8 2010 Peter Robinson <pbrobinson@gmail.com> - 66-1
06bc550
- New upstream 66 release
06bc550
58bf7bc
* Sat Apr  3 2010 Peter Robinson <pbrobinson@gmail.com> - 65-1
58bf7bc
- New upstream 65 release
58bf7bc
a4e528b
* Sun Feb 21 2010 Sebastian Dziallas <sebastian@when.com> - 64-6
a4e528b
- Enable use of system library
a4e528b
a724c39
* Thu Feb 18 2010 Sebastian Dziallas <sebastian@when.com> - 64-5
a724c39
- Enable binary builds again
a724c39
8f18c9d
* Mon Dec 14 2009 Peter Robinson <pbrobinson@gmail.com> - 64-4
8f18c9d
- Add buildreq gettext to fix build issues on F-12/rawhide - fixes # 539221
8f18c9d
72ded0a
* Sun Aug 16 2009 Fabian Affolter <fabian@bernewireless.net> - 64-3
72ded0a
- Readded noarch
72ded0a
- Removed duplicated docs 
72ded0a
- Removed pre-compiled parts
72ded0a
72ded0a
* Tue Aug 04 2009 Fabian Affolter <fabian@bernewireless.net> - 64-2
72ded0a
- Added gstreamer as a requirement and removed the embedded one
72ded0a
- Added debug_package
72ded0a
72ded0a
* Sat Jun 27 2009 Fabian Affolter <fabian@bernewireless.net> - 64-1
72ded0a
- Removed noarch
72ded0a
- Updated to new upstream version 64
72ded0a
72ded0a
* Sat Apr 25 2009 Fabian Affolter <fabian@bernewireless.net> - 62-1
72ded0a
- Added URL for source tarball
72ded0a
- Removed VCS checkout stuff
72ded0a
- Updated to new upstream version 62
72ded0a
72ded0a
* Sun Dec 14 2008 Fabian Affolter <fabian@bernewireless.net> - 60-1
72ded0a
- Updated to new upstream version 60
72ded0a
72ded0a
* Sun Oct 19 2008 Fabian Affolter <fabian@bernewireless.net> - 59-1
72ded0a
- Initial package for Fedora