rpms/pyroom/F-9 pyroom.desktop, NONE, 1.1 pyroom.spec, NONE, 1.1 sources, 1.1, 1.2
Rahul Sundaram (sundaram)
fedora-extras-commits at redhat.com
Wed Jul 30 18:30:23 UTC 2008
- Previous message: rpms/pyroom/devel import.log, NONE, 1.1 pyroom, NONE, 1.1 pyroom.desktop, NONE, 1.1 pyroom.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/akonadi/devel akonadi.spec,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sundaram
Update of /cvs/pkgs/rpms/pyroom/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv908
Modified Files:
sources
Added Files:
pyroom.desktop pyroom.spec
Log Message:
initial commit
--- NEW FILE pyroom.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Pyroom Text Editor
Comment=full screen text editor
Exec=pyroom %U
Terminal=false
Type=Application
StartupNotify=true
MimeType=text/plain;
Icon=accessories-text-editor
Categories=GNOME;GTK;Utility;TextEditor;
--- NEW FILE pyroom.spec ---
Name: pyroom
Version: 0.2.1
Release: 3%{?dist}
Summary: PyRoom is a full screen text editor and a clone of Writeroom
Group: Applications/Editors
License: GPLv3+
URL: http://pyroom.org/
Source0: http://edge.launchpad.net/pyroom/0.2/0.2.1/+download/pyroom-0.2.1.tar.gz
Source1: pyroom
Source2: pyroom.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python
Requires: pygtk2
Requires: gnome-python2-gtksourceview
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
BuildRequires: gettext
BuildRequires: desktop-file-utils
%description
PyRoom is full-screen text editor, without buttons, menu, formatting,
so you can focus on writing, and only writing. It is written in
Python + GTK. It is also a clone of Writeroom.
%prep
%setup -q
cp %{SOURCE1} .
%build
%install
rm -rf $RPM_BUILD_ROOT
%{__mkdir_p} %{buildroot}/%{_bindir}/
install -p pyroom %{buildroot}/%{_bindir}
%{__mkdir_p} %{buildroot}/%{_datadir}/%{name}/
install -pm 644 *.py %{buildroot}/%{_datadir}/%{name}/
%{__mkdir_p} %{buildroot}/%{_datadir}/%{name}/themes/
install -pm 644 themes/*.theme %{buildroot}/%{_datadir}/%{name}/themes/
install -pm 644 interface.glade %{buildroot}/%{_datadir}/%{name}/
%{__mkdir_p} %{buildroot}/%{_datadir}/applications/
install -pm 644 %{SOURCE2} %{buildroot}/%{_datadir}/applications/
chmod 755 %{buildroot}/%{_datadir}/pyroom/pyroom.py
chmod 755 %{buildroot}/%{_datadir}/pyroom/status_label.py
for lang in ar ca cy da es fi fr_FR it pt pt_BR
do
dir=locale/$lang/LC_MESSAGES/
%{__mkdir_p} $RPM_BUILD_ROOT%_datadir/$dir
install -pm 644 $dir/%name.mo $RPM_BUILD_ROOT%_datadir/$dir
done
desktop-file-install --vendor="" \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/pyroom.desktop
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README
%{_bindir}/pyroom
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%changelog
* Tue Jul 22 2008 Rahul Sundaram <sundaram at fedoraproject.org> - 0.2.1-3
- add desktop file. fix permissions and source url
* Fri May 30 2008 Rahul Sundaram <sundaram at fedoraproject.org> - 0.2.1-2
- review changes
* Thu May 29 2008 Rahul Sundaram <sundaram at fedoraproject.org> - 0.2.1-1
- initial review
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyroom/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 30 Jul 2008 16:38:29 -0000 1.1
+++ sources 30 Jul 2008 18:29:52 -0000 1.2
@@ -0,0 +1 @@
+c8d9ff35153554f5388a4f24a0ed0dad pyroom-0.2.1.tar.gz
- Previous message: rpms/pyroom/devel import.log, NONE, 1.1 pyroom, NONE, 1.1 pyroom.desktop, NONE, 1.1 pyroom.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/akonadi/devel akonadi.spec,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list