rpms/bkchem/F-10 bkchem-setup.patch, NONE, 1.1 bkchem.desktop, NONE, 1.1 bkchem.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Henrique Junior lspooky at fedoraproject.org
Thu Jan 1 00:51:10 UTC 2009


Author: lspooky

Update of /cvs/pkgs/rpms/bkchem/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17640/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	bkchem-setup.patch bkchem.desktop bkchem.spec import.log 
Log Message:
* Wed Dec 31 2008 Henrique (LonelySpooky) Junior <lspooky at fedoraproject.org> - 0.12.5-4
- Initial RPM package


bkchem-setup.patch:

--- NEW FILE bkchem-setup.patch ---
--- bkchem-0.12.5/setup.py	2008-05-30 04:34:24.000000000 -0300
+++ bkchem2-0.12.5/setup.py	2008-12-18 11:02:21.000000000 -0200
@@ -58,7 +58,7 @@
   platforms = ["Unix", "Windows", "hopefully other OSes able to run Python"],
   long_description = "BKchem is a chemical drawing program written in Python",
   
-  packages=[ 'bkchem', 'bkchem/plugins', 'bkchem/oasa', 'bkchem/oasa/oasa', 'bkchem/oasa/oasa/graph', 'bkchem/plugins/piddle'],
+  packages=[ 'bkchem', 'bkchem/plugins'],
 
   data_files=[ ('share/bkchem/templates', glob.glob( 'templates/*.cdml')+glob.glob('templates/*.xml')),
                ('share/bkchem/images', ['images/logo.ppm','images/icon.ico']+glob.glob('images/bkchem*.png')),


--- NEW FILE bkchem.desktop ---
[Desktop Entry] 
Encoding=UTF-8
Name=BkChem
GenericName=BkChem
Comment=Chemical drawing tool
Exec=bkchem
Icon=bkchem
Terminal=false
Type=Application
Categories=Education;Science;



--- NEW FILE bkchem.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:		bkchem
Version:	0.12.5
Release:	4%{?dist}
Summary:	Chemical drawing program
Group:		Applications/Engineering
License:	GPLv2+ and GFDL
URL:		http://bkchem.zirael.org/
Group:		Applications/Engineering
Source0:	http://bkchem.zirael.org/download/%{name}-%{version}.tar.gz
Source1:	%{name}.desktop
Patch1:		bkchem-setup.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch
BuildRequires:	python-devel desktop-file-utils
Requires:	pycairo tkinter python-imaging PyXML python-pmw python-oasa

%description
BKChem is a free chemical drawing program. It was conceived and
written by Beda Kosata.

%prep
%setup -q -n %{name}-%{version}
%patch1 -p1 -b .bkchem-setup
%{__rm} -rf %{_builddir}/%{name}-%{version}/%{name}/oasa
%{__rm} -f %{_builddir}/%{name}-%{version}/%{name}/Pmw*.py
%{__rm} -rf %{_builddir}/%{name}-%{version}/%{name}/plugins/piddle



%build
%{__python} setup.py build

%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}
%{__sed} -i -e 's,'%{buildroot}',,g' \
	%{buildroot}/%{python_sitelib}/%{name}/site_config.py \
	%{buildroot}/%{_bindir}/%{name}
%{__rm} -rf %{buildroot}/%{_datadir}/doc/%{name}
%find_lang BKchem

# menu
%{__install} -D -p -m 0644 images/bkchem.png \
	%{buildroot}/%{_datadir}/pixmaps/bkchem.png
%{__install} -d %{buildroot}/%{_datadir}/applications
desktop-file-install --dir=%{buildroot}/%{_datadir}/applications %{SOURCE1}


%clean
%{__rm} -rf %{buildroot}

%files -f BKchem.lang
%defattr(-, root ,root, -)
%doc README gpl.txt progress.log doc/
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{python_sitelib}/%{name}*

%changelog
* Sun Dec 21 2008 Henrique (LonelySpooky) Junior <lspooky at fedoraproject.org> - 0.12.5-4
- improvement of the spec file to be more consistent.

* Thu Dec 18 2008 Henrique (LonelySpooky) Junior <lspooky at fedoraproject.org> - 0.12.5-3
- improvement of the patch, saving a lot of space

* Tue Dec 16 2008 Henrique (LonelySpooky) Junior <lspooky at fedoraproject.org> - 0.12.5-2
- added a patch to get rid of redundant files

* Sat Dec 13 2008 Henrique (LonelySpooky) Junior <lspooky at fedoraproject.org> - 0.12.5-1
- starts using python-pmw instead of a native Pmw
- OASA is now splited in its own package

* Tue Oct 29 2008 Henrique (LonelySpooky) Junior <lspooky at fedoraproject.org> - 0.12.4-1
- bugfix that solve the corruption of saved files - 0.12.4-1

* Sat Oct 09 2008 Henrique (LonelySpooky) Junior <lspooky at fedoraproject.org> - 0.12.3-1
- added the new release of BKChem - 0.12.3

* Sat Aug 23 2008 Henrique (LonelySpooky) Junior <lspooky at fedoraproject.org> - 0.12.2-4
- piddle is removed from tarball

* Sat Jun 22 2008 Henrique (LonelySpooky) Junior <lspooky at fedoraproject.org> - 0.12.2-3
- creation of bkchem.desktop and addition of menu entrie

* Thu Jun 19 2008 Henrique (LonelySpooky) Junior <lspooky at fedoraproject.org> - 0.12.2-2
- enhacement of descriptions in the RPM

* Fri Jun 13 2008 Terje Rosten <terje.rosten at ntnu.no> - 0.12.2-1
- initial package


--- NEW FILE import.log ---
bkchem-0_12_5-4_fc10:F-10:bkchem-0.12.5-4.fc10.src.rpm:1230770905


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/bkchem/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Dec 2008 19:22:20 -0000	1.1
+++ .cvsignore	1 Jan 2009 00:50:39 -0000	1.2
@@ -0,0 +1 @@
+bkchem-0.12.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/bkchem/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Dec 2008 19:22:20 -0000	1.1
+++ sources	1 Jan 2009 00:50:39 -0000	1.2
@@ -0,0 +1 @@
+affe99c8c581bdef9a74e8608d811da8  bkchem-0.12.5.tar.gz




More information about the fedora-extras-commits mailing list