rpms/gresistor/devel gresistor-0.0.1-desktop.patch, NONE, 1.1 gresistor.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chitlesh GOORAH (chitlesh)
fedora-extras-commits at redhat.com
Mon Sep 4 15:03:20 UTC 2006
Author: chitlesh
Update of /cvs/extras/rpms/gresistor/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30730/devel
Modified Files:
.cvsignore sources
Added Files:
gresistor-0.0.1-desktop.patch gresistor.spec
Log Message:
auto-import gresistor-0.0.1-8 on branch devel from gresistor-0.0.1-8.src.rpm
gresistor-0.0.1-desktop.patch:
--- NEW FILE gresistor-0.0.1-desktop.patch ---
--- gresistor-0.0.1/gresistor.desktop 2005-10-16 16:57:21.000000000 +0200
+++ gresistor.desktop 2006-09-04 16:31:35.000000000 +0200
@@ -3,12 +3,12 @@
Encoding=UTF-8
Name=gResistor
Comment=Resistor color code calculator
-Icon=/usr/share/gresistor/icon.png
+Icon=gresistor.png
Exec=/usr/bin/gresistor
Terminal=false
Type=Application
MimeType=application/x-glade;
-Categories=Application;Utility;gResistor
+Categories=Education;Science;X-Fedora;Engineering;
Name[ro]=gResistor
Comment[ro]=Calculator pentru formule electrice
Name[ro_RO]=gResistor
--- NEW FILE gresistor.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: gresistor
Version: 0.0.1
Release: 8%{?dist}
Summary: Gnome resistor color code calculator
License: GPL
Group: Applications/Engineering
URL: http://minipop.org/index.php?file=%{name}
Source0: http://www.minipop.org/progs/%{name}/%{name}-%{version}.tar.gz
Patch0: gresistor-0.0.1-desktop.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
Requires: pygtk2-libglade
%description
To allow for identification, resistors are usually marked with
colored bands. Often refereed to as color codes, these markings
are indicative of their resistance, tolerance and temperature
coefficient. gResistor is a great program that will help you
translate a resistor color codes into a readable value.
%prep
%setup -q
%patch0 -p0 -b %{name}.desktop
%build
%{__python} setup.py build
%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
desktop-file-install --vendor fedora \
--add-category X-Fedora \
--add-category Engineering \
--delete-original \
--dir %{buildroot}%{_datadir}/applications/ \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
%{__mv} %{buildroot}%{_datadir}/%{name}/icon.png \
%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%clean
%{__rm} -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor || :
update-desktop-database &> /dev/null ||:
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
touch --no-create %{_datadir}/icons/hicolor || :
update-desktop-database &> /dev/null ||:
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/%{name}
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/%{name}.glade
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/applications/fedora-%{name}.desktop
%{python_sitelib}/SimpleGladeApp.py*
%Changelog
* Mon Sep 04 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.0.1-8
- Fixed filename of icon
* Mon Sep 04 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.0.1-7
- Fixed GTK+ icon cache for icon.png
* Mon Sep 04 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.0.1-6
- Updated Spec file with respect to updated python packaging guidelines
- Added patch for gresistor.desktop
* Fri Aug 25 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.0.1-5
- Previous ghost files included
* Mon Aug 21 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.0.1-4
- corrected Licence
* Thu Jun 29 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.0.1-3
- corrected typo gResistor in %%description
* Tue Jun 13 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.0.1-2
- Requires corrected and dropped mkdir in %%install
* Tue Jun 13 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.0.1-1
- Initial package.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gresistor/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 4 Sep 2006 15:01:46 -0000 1.1
+++ .cvsignore 4 Sep 2006 15:03:19 -0000 1.2
@@ -0,0 +1 @@
+gresistor-0.0.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gresistor/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Sep 2006 15:01:46 -0000 1.1
+++ sources 4 Sep 2006 15:03:19 -0000 1.2
@@ -0,0 +1 @@
+d8e5d3a4a5f73f081a4892b220b0f178 gresistor-0.0.1.tar.gz
More information about the scm-commits
mailing list