rpms/pypar2/FC-6 pypar2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Maxime CARRON (mxcarron) fedora-extras-commits at redhat.com
Sun Jun 17 21:34:55 UTC 2007


Author: mxcarron

Update of /cvs/extras/rpms/pypar2/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12247/FC-6

Modified Files:
	.cvsignore sources 
Added Files:
	pypar2.spec 
Log Message:



--- NEW FILE pypar2.spec ---
Name:		pypar2
Version:	1.4
Release:	1%{?dist}
Summary:	PyPar2 is a graphical frontend for the Linux par2 command line

Group:		Applications/File
License:	GPL
URL:		http://pypar2.silent-blade.org
Source0:	http://pypar2.silent-blade.org/uploads/Main/%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:	noarch
BuildRequires:	python-devel
BuildRequires:	desktop-file-utils
BuildRequires:	symlinks
BuildRequires:	gettext
Requires:	par2cmdline
Requires:	vte
Requires:	pygtk2-libglade
Requires:	PyXML


%description
PyPar2 is a graphical frontend for the Linux par2 command line, written in
Python and GTK.
It's able to restore files using PAR2 files, and also create PAR2 files.

%prep
%setup -q -n PyPar2-%{version}

%build
# Nothing to do

%install
rm -rf %{buildroot}

make install DESTDIR=%{buildroot} prefix=%{_prefix} INSTALL="install -p -D"

%find_lang %{name}

#link needs to be rebuilt
rm %{buildroot}%{_bindir}/%{name}
ln -s %{buildroot}%{_datadir}/%{name}/src/main.py %{buildroot}%{_bindir}/%{name}
symlinks -cs %{buildroot}%{_bindir}

desktop-file-install --vendor="" \
	--add-category Utility \
	--dir=%{buildroot}%{_datadir}/applications \
	%{buildroot}%{_datadir}/applications/%{name}.desktop


%post
%{_bindir}/update-desktop-database %{_datadir}/applications || :


%postun
%{_bindir}/update-desktop-database %{_datadir}/applications || :


%clean
rm -rf %{buildroot}


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc doc/whatsnew.txt doc/gpl.txt
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/%{name}.1.gz
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}


%changelog
* Tue Apr 24 2007 Maxime Carron <maxime.carron at fedoraproject.org> - 1.4-1
- approve Chitlesh's proposal

* Tue Apr 24 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 1.4-0.1
- new upstream release
- desktop-file-install fixes
- minor spec layout fixes
- added %%post and %%postun for mimetypes

* Thu Mar 29 2007 Maxime Carron <maxime.carron at fedoraproject.org> - 1.3-3
- remove install.txt and pypar2.1 from the doc section
- fix desktop-file-install options => patch no more needed

* Sat Mar  3 2007 Maxime Carron <maxime.carron at fedoraproject.org> - 1.3-2
- add some Requires

* Sat Mar  3 2007 Maxime Carron <maxime.carron at fedoraproject.org> - 1.3-1
- update to version 1.3
- Source1 is no more needed (GPL text is now included in the archive)
- add gettext in BR (according to abompard's fedora-qa script)

* Thu Mar  1 2007 Maxime Carron <maxime.carron at fedoraproject.org> - 1.2-2
- Symbolic link is now relative (line 44-45) (rpmlint is now quiet)
- add symlinks in BR

* Wed Feb 21 2007 Maxime Carron <maxime.carron at fedoraproject.org> - 1.2-1
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/pypar2/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Apr 2007 00:52:47 -0000	1.1
+++ .cvsignore	17 Jun 2007 21:34:20 -0000	1.2
@@ -0,0 +1 @@
+pypar2-1.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/pypar2/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Apr 2007 00:52:47 -0000	1.1
+++ sources	17 Jun 2007 21:34:20 -0000	1.2
@@ -0,0 +1 @@
+d77ea7c0ff88209d994c5723c98d00a5  pypar2-1.4.tar.gz




More information about the fedora-extras-commits mailing list