rpms/gperiodic/devel gperiodic.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Eric Tanguy (tanguy) fedora-extras-commits at redhat.com
Sun Oct 30 21:49:11 UTC 2005


Author: tanguy

Update of /cvs/extras/rpms/gperiodic/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4653/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gperiodic.spec 
Log Message:
auto-import gperiodic-2.0.8-2 on branch devel from gperiodic-2.0.8-2.src.rpm


--- NEW FILE gperiodic.spec ---
Summary: Program for browsing the periodic table
Name: gperiodic
Version: 2.0.8
Release: 2%{?dist}
License: GPL
Group: Applications/Engineering
URL: http://koti.welho.com/jfrantz/software/gperiodic.html
Source: http://koti.welho.com/jfrantz/software/gperiodic-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel, desktop-file-utils, gettext

%description
Gperiodic displays a periodic table of the elements, allowing you to
browse through the elements, and view detailed information about each
element.

%prep
%setup -q
sed -i -e "s,CFLAGS=,CFLAGS+=,g;/strip/d" Makefile

%build
CFLAGS="$RPM_OPT_FLAGS" %{__make} %{?_smp_mflags}

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}/{applications,pixmaps}

sed -i -e "/=$/d;/KDE/d" gperiodic.desktop
echo "Encoding=UTF-8" >> gperiodic.desktop
mv gperiodic{,.badencoding}.desktop
iconv -f ISO-8859-1 -t UTF-8 gperiodic.badencoding.desktop > gperiodic.desktop

%makeinstall
desktop-file-install \
   --delete-original \
   --vendor=fedora   \
   --add-category X-Fedora \
   --add-category Science \
   --add-category Chemistry \
   --remove-category Chemestry \
   --dir %{buildroot}%{_datadir}/applications \
   %{buildroot}%{_datadir}/applications/gperiodic.desktop
%find_lang %{name}

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%defattr(-,root,root,-)

%{_bindir}/gperiodic
%{_datadir}/applications/fedora-gperiodic.desktop
%{_datadir}/pixmaps/gperiodic.png
%{_datadir}/pixmaps/gperiodic-crystal.png


%doc README AUTHORS ChangeLog gpl.txt

%changelog
* Mon Oct 24 2005 Eric Tanguy <eric.tanguy at univ-nantes.fr> - 2.0.8-2
- Applied patch file : 
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=120301

* Sun Oct 23 2005 Eric Tanguy <eric.tanguy at univ-nantes.fr> - 2.0.8-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gperiodic/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Oct 2005 21:48:24 -0000	1.1
+++ .cvsignore	30 Oct 2005 21:49:09 -0000	1.2
@@ -0,0 +1 @@
+gperiodic-2.0.8.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gperiodic/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Oct 2005 21:48:24 -0000	1.1
+++ sources	30 Oct 2005 21:49:09 -0000	1.2
@@ -0,0 +1 @@
+cfe23eaa21707c2c42bcd6399161ec2e  gperiodic-2.0.8.tar.gz




More information about the fedora-extras-commits mailing list