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

Mamoru Tasaka (mtasaka) fedora-extras-commits at redhat.com
Tue Nov 21 07:42:41 UTC 2006


Author: mtasaka

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

Modified Files:
	.cvsignore sources 
Added Files:
	mirage.spec 
Log Message:
auto-import mirage-0.8.1-1 on branch devel from mirage-0.8.1-1.src.rpm


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

Name:		mirage
Version:	0.8.1
Release:	1%{?dist}
Summary:	A fast and simple image viewer

Group:		Amusements/Graphics
License:	GPL
URL:		http://mirageiv.berlios.de/
Source0:	http://download.berlios.de/mirageiv/%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	python-devel
BuildRequires:	desktop-file-utils
Requires:	pygtk2
Requires:	gnome-python2-gconf

%description
Mirage is a fast and simple GTK+ image viewer. Because it 
depends only on PyGTK, Mirage is ideal for users who wish to 
keep their computers lean while still having a clean image viewer.

%prep
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS"
%{__python} setup.py build

%install
%{__rm} -rf $RPM_BUILD_ROOT

%{__mkdir_p} $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT

# fix permission
%{__chmod} 0755 $RPM_BUILD_ROOT%{python_sitearch}/*.py

# remove document files
%{__rm} -f $RPM_BUILD_ROOT%{_datadir}/%{name}/[A-Z]*

# install desktop file
desktop-file-install \
	--delete-original \
	--remove-category 'Application' \
	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
	--vendor fedora \
	$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop

# gettext files
%{find_lang} %{name}

%post
%{_bindir}/update-desktop-database &> /dev/null || :

%postun
%{_bindir}/update-desktop-database &> /dev/null || :

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc CHANGELOG COPYING README TODO TRANSLATORS

%{_bindir}/%{name}
%{python_sitearch}/%{name}.py*
%{python_sitearch}/*.so

%{_datadir}/%{name}/
%{_datadir}/pixmaps/*.png

%{_datadir}/applications/*%{name}.desktop

%changelog
* Sat Nov 18 2006 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.8.1-1
- Initial packaging to import to Fedora Extras.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mirage/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Nov 2006 07:41:45 -0000	1.1
+++ .cvsignore	21 Nov 2006 07:42:11 -0000	1.2
@@ -0,0 +1 @@
+mirage-0.8.1.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mirage/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Nov 2006 07:41:45 -0000	1.1
+++ sources	21 Nov 2006 07:42:11 -0000	1.2
@@ -0,0 +1 @@
+c87da5b76f856fd7a759a355259b76ed  mirage-0.8.1.tar.bz2




More information about the scm-commits mailing list