e946cff
Summary: Framework for working with bibliographic databases
cvsextras 29a0cf6
Name: pybliographer
Zoltan Kota 7368a55
Version: 1.2.14
60898a3
Release: 2%{?dist}
5e28a71
License: GPLv2+ and GFDL
cvsextras 29a0cf6
Group: Applications/Publishing
Zoltan Kota 7368a55
Source: http://downloads.sourceforge.net/pybliographer/pybliographer-1.2.14.tar.gz
cvsextras 29a0cf6
Url: http://www.pybliographer.org/
cvsextras 29a0cf6
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsextras 29a0cf6
BuildArch: noarch
cvsextras 29a0cf6
69f7678
BuildRequires: pygtk2-libglade
8da4fee
BuildRequires: gnome-python2-gnome
69f7678
BuildRequires: gnome-python2-gconf
1fd357f
BuildRequires: python-bibtex
cvsextras 29a0cf6
BuildRequires: gettext
ffceebd
BuildRequires: scrollkeeper
cvsextras 29a0cf6
BuildRequires: desktop-file-utils
Zoltan Kota 7368a55
BuildRequires: gnome-doc-utils
cvsextras 29a0cf6
69f7678
Requires: pygtk2-libglade
77c8692
Requires: gnome-python2-gnome
69f7678
Requires: gnome-python2-gconf
69f7678
Requires: gnome-python2-gnomevfs
1fd357f
Requires: python-bibtex
c2ef432
Requires: xorg-x11-fonts-75dpi
ffceebd
ffceebd
Requires(post): scrollkeeper
ffceebd
Requires(postun): scrollkeeper
ffceebd
Requires(post): desktop-file-utils
ffceebd
Requires(postun): desktop-file-utils
cvsextras 29a0cf6
cvsextras 29a0cf6
cvsextras 29a0cf6
%description
e946cff
Pybliographer is a tool for managing bibliographic databases. It can be
e946cff
used for searching, editing, reformatting, etc. In fact, it's a simple
e946cff
framework that provides easy to use python classes and functions, and
cvsextras 29a0cf6
therefore can be extended to many uses (generating HTML pages according
cvsextras 29a0cf6
to bibliographic searches, etc).
e946cff
In addition to the scripting environment, a graphical Gnome interface
e946cff
is available. It provides powerful editing capabilities, a nice
e946cff
hierarchical search mechanism, direct insertion of references into LyX,
e946cff
direct queries on Medline, and more. It currently supports the following
cvsextras 29a0cf6
file formats: BibTeX, ISI, Medline, Ovid, Refer.
cvsextras 29a0cf6
cvsextras 29a0cf6
cvsextras 29a0cf6
%prep
cvsextras 29a0cf6
%setup -q
cvsextras 29a0cf6
cvsextras 29a0cf6
%build
cvsextras 29a0cf6
%configure
ffceebd
make %{?_smp_mflags}
cvsextras 29a0cf6
cvsextras 29a0cf6
%install
cvsextras 29a0cf6
rm -rf $RPM_BUILD_ROOT
cvsextras 29a0cf6
%makeinstall
cvsextras 29a0cf6
ffceebd
%__rm -f $RPM_BUILD_ROOT%{_datadir}/applications/mimeinfo.cache
ffceebd
cvsextras 29a0cf6
desktop-file-install --vendor fedora --delete-original      \
cvsextras 29a0cf6
  --dir $RPM_BUILD_ROOT%{_datadir}/applications             \
cvsextras 29a0cf6
  --add-category X-Fedora                                   \
cvsextras 29a0cf6
  $RPM_BUILD_ROOT%{_datadir}/applications/*
cvsextras 29a0cf6
cvsextras 29a0cf6
%__rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
cvsextras 29a0cf6
cvsextras 29a0cf6
cvsextras 29a0cf6
%{find_lang} %{name}
cvsextras 29a0cf6
cvsextras 29a0cf6
%clean
cvsextras 29a0cf6
rm -rf $RPM_BUILD_ROOT
cvsextras 29a0cf6
ffceebd
cvsextras 29a0cf6
%post
cvsextras 29a0cf6
scrollkeeper-update
cvsextras 29a0cf6
ffceebd
# run update-desktop-database if exists
ffceebd
if [ -x /usr/bin/update-desktop-database ]; then
ffceebd
	/usr/bin/update-desktop-database %{_datadir}/applications
ffceebd
fi
ffceebd
ffceebd
cvsextras 29a0cf6
%postun
cvsextras 29a0cf6
scrollkeeper-update
cvsextras 29a0cf6
ffceebd
# run update-desktop-database if exists
ffceebd
if [ -x /usr/bin/update-desktop-database ]; then
ffceebd
	/usr/bin/update-desktop-database %{_datadir}/applications
ffceebd
fi
ffceebd
cvsextras 29a0cf6
cvsextras 29a0cf6
%files -f %{name}.lang
cvsextras 29a0cf6
%defattr(-,root,root)
ffceebd
%doc AUTHORS COPYING* ChangeLog* NEWS README TODO
cvsextras 29a0cf6
%{_bindir}/*
cvsextras 29a0cf6
%{_datadir}/applications/fedora-pybliographic.desktop
cvsextras 29a0cf6
%{_datadir}/gnome/help/pybliographer
cvsextras 29a0cf6
%{_datadir}/mime-info/*
cvsextras 29a0cf6
%{_datadir}/omf/pybliographer
cvsextras 29a0cf6
%{_datadir}/pixmaps/*
cvsextras 29a0cf6
%dir %{_datadir}/pybliographer
bc125a7
%{_datadir}/pybliographer/Pyblio
cvsextras 29a0cf6
%{_datadir}/pybliographer/Styles
bc125a7
%{_datadir}/pybliographer/pybcheck.py*
bc125a7
%{_datadir}/pybliographer/pybcompact.py*
bc125a7
%{_datadir}/pybliographer/pybconvert.py*
bc125a7
%{_datadir}/pybliographer/pybformat.py*
bc125a7
%{_datadir}/pybliographer/pybliographic.py*
bc125a7
%{_datadir}/pybliographer/pybtex.py*
bc125a7
%{_datadir}/pybliographer/pybtext.py*
bc125a7
%config %{_datadir}/pybliographer/pybrc.py*
ffceebd
cvsextras 29a0cf6
cvsextras 29a0cf6
%changelog
60898a3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.14-2
60898a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
60898a3
Zoltan Kota 7368a55
* Thu Oct 14 2010 Zoltan Kota <z.kota at gmx.net> - 1.2.14-1
Zoltan Kota 7368a55
- update to 1.2.14
Zoltan Kota 7368a55
7e7cf16
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 1.2.13-2
7e7cf16
- recompiling .py files against Python 2.7 (rhbz#623349)
7e7cf16
4d5fcca
* Mon Jul 19 2010 Zoltan Kota <z.kota at gmx.net> - 1.2.13-1
4d5fcca
- update to 1.2.13
4d5fcca
c2ef432
* Thu Mar 25 2010 Zoltan Kota <z.kota at gmx.net> - 1.2.12-5
c2ef432
- Require xorg-x11-fonts-75dpi. Fix bug #575380.
c2ef432
0e2a15a
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-4
0e2a15a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0e2a15a
29a97f9
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-3
29a97f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
29a97f9
d1010b2
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.2.12-2
d1010b2
- Rebuild for Python 2.6
d1010b2
1a35d53
* Mon Dec 01 2008 Zoltan Kota <z.kota at gmx.net> - 1.2.12-1
1a35d53
- update to 1.2.12
1a35d53
- drop patch, fixed upstream
1a35d53
8da4fee
* Mon Oct 06 2008 Zoltan Kota <z.kota at gmx.net> - 1.2.11-4
8da4fee
- we need gnome-python2-gnome for building as well,
8da4fee
  added to buildreqs
8da4fee
77c8692
* Sun Oct 05 2008 Zoltan Kota <z.kota at gmx.net> - 1.2.11-3
77c8692
- fix gnome-python2 requirements (bug #465563)
77c8692
cc02efa
* Fri Jan 25 2008 Zoltan Kota <z.kota at gmx.net> - 1.2.11-2
cc02efa
- add patch for fixing bug #428121
cc02efa
f13bdf1
* Wed Sep 26 2007 Zoltan Kota <z.kota at gmx.net> - 1.2.11-1
f13bdf1
- update to 1.2.11
f13bdf1
1fd357f
* Mon Jan 22 2007 Zoltan Kota <z.kota at gmx.net> - 1.2.10-1
1fd357f
- update to 1.2.10
1fd357f
bc125a7
* Fri Sep 15 2006 Zoltan Kota <z.kota at gmx.net> - 1.2.9-2
bc125a7
- rebuild for FC6
bc125a7
- remove ghost for pyo files
bc125a7
40a10b0
* Thu Jul 13 2006 Zoltan Kota <z.kota at gmx.net> - 1.2.9-1
40a10b0
- update to 1.2.9
40a10b0
80d9fee
* Mon Feb 13 2006 Zoltan Kota <z.kota at gmx.net> - 1.2.8-2
80d9fee
- rebuild
80d9fee
6e17467
* Mon Jan 23 2006 Zoltan Kota <z.kota at gmx.net> - 1.2.8-1
6e17467
- update to 1.2.8
6e17467
- drop patches, fixed upstream
6e17467
a82eb1c
* Tue Dec 20 2005 Zoltan Kota <z.kota at gmx.net> - 1.2.7-2
a82eb1c
- add patches for fixing different bugs
a82eb1c
69f7678
* Fri Oct 15 2005 Zoltan Kota <z.kota at gmx.net> - 1.2.7-1
69f7678
- update to 1.2.7
69f7678
- drop gnome-help.patch, fixed upstream
69f7678
- fix requirements
69f7678
- add dist tag
69f7678
- add patch for fixing configure problem
69f7678
f7df12a
* Thu Jun 30 2005 Zoltan Kota <z.kota at gmx.net> - 1.2.6.2-4
f7df12a
- rebuild
f7df12a
73c5e16
* Wed Mar 30 2005 Zoltan Kota <z.kota at gmx.net> - 1.2.6.2-3
73c5e16
- rebuild
73c5e16
d573f58
* Fri Mar 25 2005 Zoltan Kota <z.kota at gmx.net> - 1.2.6.2-2
d573f58
- add patch for gnome help display
d573f58
- update gnome-python2 requirements
d573f58
04efbba
* Tue Feb 22 2005 Zoltan Kota <z.kota at gmx.net> - 0:1.2.6.2-1
04efbba
- update to 1.2.6.2
04efbba
ffceebd
* Mon Nov 29 2004 Zoltan Kota <z.kota at gmx.net> - 0:1.2.5-1
ffceebd
- removed redundant dependencies
ffceebd
- fixed directories in file list
ffceebd
- fixed scrollkeeper and desktop-file-utils requirements
ffceebd
ffceebd
* Fri Nov 26 2004 Zoltan Kota <z.kota at gmx.net> - 0:1.2.5-0.fdr.1
ffceebd
- update to 1.2.5
ffceebd
- check for update-desktop-database (new mime system),
ffceebd
  so requires desktop-file-utils
ffceebd
- removed intltool from buildreq, this stuff is used now
ffceebd
  in the make-dist phase
ffceebd
- (re)compile pyc and pyo files. pyo and redundant pyc
ffceebd
  files are ghosted
ffceebd
cvsextras 29a0cf6
* Mon Jul 19 2004 Zoltan Kota <z.kota at gmx.net> - 0:1.2.4-0.fdr.1
cvsextras 29a0cf6
- update to 1.2.4
cvsextras 29a0cf6
- using macros for rm and localstatedir
cvsextras 29a0cf6
cvsextras 29a0cf6
* Tue Mar 23 2004 Zoltan Kota <z.kota at gmx.net> - 0:1.2.3-0.fdr.1
cvsextras 29a0cf6
- initial rpm release