|
|
d8d279d |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
d8d279d |
|
|
|
49a0b83 |
Name: referencer
|
|
|
49a0b83 |
Summary: A document organiser and bibliography manager for Gnome
|
|
|
803ceea |
Version: 1.1.6
|
|
Deji Akingunola |
94ba083 |
Release: 16%{?dist}
|
|
|
49a0b83 |
Group: Applications/System
|
|
|
00a41cc |
License: GPLv2
|
|
|
49a0b83 |
URL: http://icculus.org/referencer
|
|
|
49a0b83 |
Source0: http://icculus.org/referencer/downloads/%{name}-%{version}.tar.gz
|
|
|
c6e2412 |
Patch0: referencer-pythondir.patch
|
|
Alex Lancaster |
f2934c3 |
|
|
Alex Lancaster |
f2934c3 |
# filed upstream: https://bugs.launchpad.net/referencer/+bug/661503
|
|
|
b2db374 |
Patch1: referencer-poppler-0.15.patch
|
|
Alex Lancaster |
f2934c3 |
|
|
|
49a0b83 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
e2c0591 |
BuildRequires: poppler-glib-devel libgnomeuimm26-devel
|
|
|
e2c0591 |
BuildRequires: boost-devel gcc-c++ python-devel
|
|
|
49a0b83 |
BuildRequires: gettext perl(XML::Parser)
|
|
|
1377f6d |
BuildRequires: desktop-file-utils intltool gnome-doc-utils
|
|
|
264e375 |
BuildRequires: scrollkeeper
|
|
|
b2db374 |
BuildRequires: libSM-devel libICE-devel
|
|
|
264e375 |
Requires(post): scrollkeeper
|
|
|
264e375 |
Requires(postun):scrollkeeper
|
|
|
49a0b83 |
|
|
|
49a0b83 |
%description
|
|
|
49a0b83 |
Referencer is a Gnome application to organise documents or references, and
|
|
|
49a0b83 |
ultimately generate a BibTeX bibliography file.
|
|
|
49a0b83 |
Its features include automatic metadata retrieval, smart web links, ability to
|
|
|
49a0b83 |
import from BibTeX, Reference Manager and EndNote, and tagging.
|
|
|
49a0b83 |
|
|
|
49a0b83 |
%prep
|
|
|
49a0b83 |
%setup -q
|
|
|
c6e2412 |
%patch0 -p0 -b .pyt
|
|
|
b2db374 |
%patch1 -p0 -b .poppler
|
|
|
49a0b83 |
|
|
|
49a0b83 |
%build
|
|
|
49a0b83 |
%configure --disable-update-mime-database
|
|
|
49a0b83 |
make %{?_smp_mflags}
|
|
|
49a0b83 |
|
|
|
49a0b83 |
%install
|
|
|
49a0b83 |
rm -rf %{buildroot}
|
|
|
49a0b83 |
make DESTDIR=%{buildroot} INSTALL="%{__install} -p" install
|
|
|
49a0b83 |
|
|
|
49a0b83 |
desktop-file-install --delete-original \
|
|
|
49a0b83 |
--vendor fedora \
|
|
|
49a0b83 |
--remove-category Application \
|
|
|
49a0b83 |
--dir %{buildroot}%{_datadir}/applications \
|
|
|
49a0b83 |
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
49a0b83 |
|
|
|
49a0b83 |
|
|
|
49a0b83 |
%find_lang %{name}
|
|
|
49a0b83 |
|
|
|
49a0b83 |
%clean
|
|
|
49a0b83 |
rm -rf %{buildroot}
|
|
|
49a0b83 |
|
|
|
49a0b83 |
%post
|
|
|
c6e2412 |
touch --no-create %{_datadir}/icons/hicolor
|
|
|
c6e2412 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
c6e2412 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
c6e2412 |
fi
|
|
|
49a0b83 |
|
|
|
7ebf8d5 |
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
|
|
|
7ebf8d5 |
|
|
|
49a0b83 |
update-desktop-database &> /dev/null ||:
|
|
|
49a0b83 |
|
|
|
49a0b83 |
update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
49a0b83 |
|
|
|
49a0b83 |
%postun
|
|
|
c6e2412 |
touch --no-create %{_datadir}/icons/hicolor
|
|
|
c6e2412 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
c6e2412 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
c6e2412 |
fi
|
|
|
49a0b83 |
|
|
|
7ebf8d5 |
scrollkeeper-update -q || :
|
|
|
7ebf8d5 |
|
|
|
49a0b83 |
update-desktop-database &> /dev/null ||:
|
|
|
49a0b83 |
|
|
|
49a0b83 |
update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
49a0b83 |
|
|
|
49a0b83 |
%files -f %{name}.lang
|
|
|
49a0b83 |
%defattr(-,root,root,-)
|
|
|
49a0b83 |
%doc AUTHORS COPYING ChangeLog README TODO
|
|
|
49a0b83 |
%{_bindir}/referencer
|
|
|
49a0b83 |
%{_datadir}/applications/fedora-referencer.desktop
|
|
|
49a0b83 |
%{_datadir}/icons/hicolor/*/*/*.png
|
|
|
49a0b83 |
%{_datadir}/mime/packages/referencer.xml
|
|
|
49a0b83 |
%{_datadir}/pixmaps/referencer.svg
|
|
|
49a0b83 |
%{_datadir}/referencer/
|
|
|
7ebf8d5 |
%{_datadir}/gnome/help/referencer-plugins/
|
|
|
7ebf8d5 |
%{_datadir}/gnome/help/referencer/
|
|
|
7ebf8d5 |
%{_datadir}/omf/referencer-plugins/
|
|
|
7ebf8d5 |
%{_datadir}/omf/referencer/
|
|
|
e2c0591 |
%{python_sitelib}/referencer/
|
|
|
49a0b83 |
|
|
|
49a0b83 |
%changelog
|
|
Deji Akingunola |
94ba083 |
* Sat Apr 09 2011 Deji Akingunola <dakingun@gmail.com> - 1.1.6-16
|
|
Deji Akingunola |
94ba083 |
- Rebuild newer boost (boost-1.46.0)
|
|
Deji Akingunola |
94ba083 |
|
|
|
fde92c7 |
* Sun Mar 13 2011 Marek Kasik <mkasik@redhat.com> - 1.1.6-15
|
|
|
fde92c7 |
- Rebuild (poppler-0.16.3)
|
|
|
fde92c7 |
|
|
|
fe3f6de |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-14
|
|
|
fe3f6de |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
fe3f6de |
|
|
|
9087a24 |
* Sun Feb 06 2011 Thomas Spura <tomspur@fedoraproject.org> - 1.1.6-13
|
|
|
9087a24 |
- rebuild for new boost
|
|
|
9087a24 |
|
|
|
0d7ada0 |
* Sun Jan 02 2011 Rex Dieter <rdieter@fedoraproject.org> - 1.1.6-12
|
|
|
0d7ada0 |
- rebuild (poppler)
|
|
|
0d7ada0 |
|
|
|
aee85bd |
* Wed Dec 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.1.6-11
|
|
|
aee85bd |
- rebuild (poppler)
|
|
|
aee85bd |
|
|
|
f25cb7e |
* Sat Nov 06 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.1.6-10
|
|
|
f25cb7e |
- rebuilt (poppler)
|
|
|
f25cb7e |
|
|
Alex Lancaster |
f2934c3 |
* Fri Oct 15 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.1.6-9
|
|
Alex Lancaster |
f2934c3 |
- Update with better patch from Marek Kasik, filed upstream:
|
|
Alex Lancaster |
f2934c3 |
https://bugs.launchpad.net/referencer/+bug/661503
|
|
Alex Lancaster |
f2934c3 |
|
|
|
b2db374 |
* Tue Oct 5 2010 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.1.6-8
|
|
|
b2db374 |
- Add patch to fix API to use new poppler 0.15
|
|
|
b2db374 |
- Add BR: libSM-devel libICE-devel, need to have them explicitly
|
|
|
b2db374 |
required
|
|
|
b2db374 |
|
|
Deji Akingunola |
d6511aa |
* Thu Sep 28 2010 Deji Akingunola <dakingun@gmail.com> - 1.1.6-7
|
|
Deji Akingunola |
d6511aa |
- Rebuild for poppler-0.15.
|
|
Deji Akingunola |
d6511aa |
|
|
|
8d44d55 |
* Thu Aug 19 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.1.6-6
|
|
|
8d44d55 |
- rebuild (poppler)
|
|
|
8d44d55 |
|
|
|
d693455 |
* Tue Jul 27 2010 Bill Nottingham <notting@redhat.com> - 1.1.6-5
|
|
|
d693455 |
- Rebuilt for boost-1.44
|
|
|
d693455 |
|
|
|
46f5873 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.6-4
|
|
|
46f5873 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
46f5873 |
|
|
|
e85460a |
* Tue Jun 22 2010 Matthias Clasen <mclasen@redhat.com> - 1.1.6-3
|
|
|
e85460a |
- Rebuild against new poppler
|
|
|
e85460a |
|
|
|
264e375 |
* Fri Jan 22 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 1.1.6-2
|
|
|
264e375 |
- Rebuild for Boost soname bump
|
|
|
264e375 |
- Fix mixed use of tabs and spaces
|
|
|
264e375 |
|
|
|
803ceea |
* Mon Aug 10 2009 Deji Akingunola <dakingun@gmail.com> - 1.1.6-1
|
|
|
803ceea |
- New upstream version
|
|
|
803ceea |
|
|
|
983e4ba |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-8
|
|
|
983e4ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
983e4ba |
|
|
|
39b1d33 |
* Sun Jun 28 2009 Deji Akingunola <dakingun@gmail.com> - 1.1.5-7
|
|
|
39b1d33 |
- Fix gconf key lookup if GConf disabledplugin key is not set (Denis Leroy, Fedora bug #508011)
|
|
|
39b1d33 |
|
|
|
53d1c1c |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-6
|
|
|
53d1c1c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
53d1c1c |
|
|
|
0ecb3eb |
* Thu Jan 05 2009 Deji Akingunola <dakingun@gmail.com> - 1.1.5-5
|
|
|
0ecb3eb |
- Add a small patch to build with gcc-4.4
|
|
|
0ecb3eb |
|
|
|
a6428d8 |
* Wed Dec 17 2008 Benjamin Kosnik <bkoz@redhat.com> - 1.1.5-4
|
|
|
a6428d8 |
- Rebuild for boost-1.37.0.
|
|
|
a6428d8 |
|
|
|
9e2eeaf |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.1.5-3
|
|
|
9e2eeaf |
- Rebuild for Python 2.6
|
|
|
9e2eeaf |
|
|
|
e40a166 |
* Thu Nov 20 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.5-2
|
|
|
e40a166 |
- BR intltool
|
|
|
e40a166 |
|
|
|
f811275 |
* Thu Nov 20 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.5-1
|
|
|
f811275 |
- Update to 1.1.5
|
|
|
f811275 |
|
|
|
ea291e7 |
* Sat Aug 30 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.4-1
|
|
|
ea291e7 |
- Update to latest release
|
|
|
ea291e7 |
|
|
|
b937494 |
* Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.3-1
|
|
|
b937494 |
- Update to latest release
|
|
|
b937494 |
|
|
|
eee12bb |
* Thu May 22 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.2-2
|
|
|
eee12bb |
- Backport upstream fix for crash when importing bibtex file
|
|
|
eee12bb |
- Look for plugins in (python_sitelib)/referencer/
|
|
|
eee12bb |
|
|
|
ea155e7 |
* Sat Apr 26 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.2-1
|
|
|
ea155e7 |
- New release
|
|
|
ea155e7 |
|
|
|
c6e2412 |
* Wed Mar 19 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.1-1
|
|
|
c6e2412 |
- New release
|
|
|
c6e2412 |
|
|
|
e2c0591 |
* Fri Feb 08 2008 Deji Akingunola <dakingun@gmail.com> - 1.1.0-1
|
|
|
e2c0591 |
- Latest upstream release
|
|
|
e2c0591 |
|
|
|
db7f17c |
* Wed Sep 19 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.4-5
|
|
|
db7f17c |
- Patch to build against newer poppler library
|
|
|
db7f17c |
|
|
|
0c0050a |
* Wed Sep 05 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.4-4
|
|
|
0c0050a |
- Rebuild against newer poppler library
|
|
|
0c0050a |
|
|
|
7b1f17b |
* Sat Aug 25 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.4-3
|
|
|
7b1f17b |
- Rebuild
|
|
|
7b1f17b |
|
|
|
00a41cc |
* Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.4-2
|
|
|
00a41cc |
- Modify the license tag, and
|
|
|
00a41cc |
- Rebuild for new boost library
|
|
|
00a41cc |
|
|
|
14335b3 |
* Thu May 31 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.4-1
|
|
|
14335b3 |
- New release
|
|
|
14335b3 |
|
|
|
e7782d5 |
* Wed May 30 2007 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.0.3-3
|
|
|
e7782d5 |
- Fix the crash on x86_64
|
|
|
e7782d5 |
|
|
|
49a0b83 |
* Sat May 05 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.3-2
|
|
|
49a0b83 |
- Preserve timestamp (from package review)
|
|
|
49a0b83 |
|
|
|
49a0b83 |
* Sat May 05 2007 Deji Akingunola <dakingun@gmail.com> - 1.0.3-1
|
|
|
49a0b83 |
- Initial packaging for Fedora
|