[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-09-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Fedora Update System  changed:

   What|Removed |Added

   Fixed In Version|python-pdfminer-20140328-2. |python-pdfminer-20140328-2.
   |fc20|fc19



--- Comment #20 from Fedora Update System  ---
python-pdfminer-20140328-2.fc19 has been pushed to the Fedora 19 stable
repository.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-09-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Fedora Update System  changed:

   What|Removed |Added

 Status|ON_QA   |CLOSED
   Fixed In Version||python-pdfminer-20140328-2.
   ||fc20
 Resolution|--- |ERRATA
Last Closed||2014-09-09 18:06:49



--- Comment #19 from Fedora Update System  ---
python-pdfminer-20140328-2.fc20 has been pushed to the Fedora 20 stable
repository.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Fedora Update System  changed:

   What|Removed |Added

 Status|MODIFIED|ON_QA



--- Comment #18 from Fedora Update System  ---
python-pdfminer-20140328-2.fc19 has been pushed to the Fedora 19 testing
repository.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-26 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679



--- Comment #17 from Fedora Update System  ---
python-pdfminer-20140328-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-pdfminer-20140328-2.fc20

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-26 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679



--- Comment #16 from Fedora Update System  ---
python-pdfminer-20140328-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-pdfminer-20140328-2.fc19

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-26 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Fedora Update System  changed:

   What|Removed |Added

 Status|ASSIGNED|MODIFIED



-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-26 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Jon Ciesla  changed:

   What|Removed |Added

  Flags|fedora-cvs? |fedora-cvs+



-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-26 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679



--- Comment #15 from Jon Ciesla  ---
Git done (by process-git-requests).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-25 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Ben Rosser  changed:

   What|Removed |Added

  Flags||fedora-cvs?



--- Comment #14 from Ben Rosser  ---
New Package SCM Request
===
Package Name: python-pdfminer
Short Description: PDF data parsing library and tool
Upstream URL: http://www.unixuser.org/~euske/python/pdfminer/index.html
Owners: tc01
Branches: f19 f20 f21
InitialCC:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-25 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Lubomir Rintel  changed:

   What|Removed |Added

  Flags|fedora-review?  |fedora-review+



--- Comment #13 from Lubomir Rintel  ---
* Package named correctly
* Package version is correct
* Packaging the latest version
* Source file checksum matches
* SPEC file clean and legible
* License tag correct
* License fine for fedora
* Filelist sane
* Provides & requirements okay
* Builds fine in mock
* rpmlint happy

APPROVED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-23 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679



--- Comment #12 from Ben Rosser  ---
Er, updated again to use %{_bindir} in those lines instead of /usr/bin.

Spec: http://mars.arosser.com/fedora/pdfminer/python-pdfminer.spec
SRPM:
http://mars.arosser.com/fedora/pdfminer/python-pdfminer-20140328-2.fc20.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-23 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679



--- Comment #11 from Ben Rosser  ---
Fixed the release numbers, the quotes in changelog, and the tabs. rpmlint is
now happy.

I changed the script renaming to this (and it happens after "python setup.py
install") now:

%install
chmod +x build/lib/pdfminer/*
%{__python} setup.py install --skip-build --root %{buildroot}

# Rename the python scripts to get rid of the *.py suffix
mv %{buildroot}/usr/bin/dumppdf.py %{buildroot}/usr/bin/dumppdf
mv %{buildroot}/usr/bin/pdf2txt.py %{buildroot}/usr/bin/pdf2txt
mv %{buildroot}/usr/bin/latin2ascii.py %{buildroot}/usr/bin/latin2ascii

Is this better?

Spec: http://mars.arosser.com/fedora/pdfminer/python-pdfminer.spec
SRPM:
http://mars.arosser.com/fedora/pdfminer/python-pdfminer-20140328-1.fc20.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-18 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679



--- Comment #10 from Lubomir Rintel  ---
0.) rpmlint unhappy:

python-pdfminer.src:17: W: mixed-use-of-spaces-and-tabs (spaces: line 3, tab:
line 17)
The specfile mixes use of spaces and tabs for indentation, which is a cosmetic
annoyance.  Use either spaces or tabs for indentation, not both.

1.) You don't need to quote your name with single quotes in changelog:


* Sat Aug 16 2014 'Ben Rosser'  20140328-0

2.) Please move the files only after actual install in %{buildroot}.

This makes %install non-idempotent and thus breaks short-circuit of install
phase (rpmbuild -bi --short-circuit).

%install
...
# Rename the python scripts to get rid of the *.py suffix
mv build/scripts-2.7/dumppdf.py build/scripts-2.7/dumppdf
mv build/scripts-2.7/pdf2txt.py build/scripts-2.7/pdf2txt
mv build/scripts-2.7/latin2ascii.py build/scripts-2.7/latin2ascii

3.) The initial release number should be >= 1.

Release numbers < 1 are reserved to pre-release snapshots.

Release:0%{?dist}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-18 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Lubomir Rintel  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 Blocks|177841 (FE-NEEDSPONSOR) |
   Assignee|nob...@fedoraproject.org|lkund...@v3.sk
  Flags||fedora-review?




Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=177841
[Bug 177841] Tracker: Review requests from new Fedora packagers who need a
sponsor
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-16 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679
Bug 823679 depends on bug 859246, which changed state.

Bug 859246 Summary: Review Request: cmap - Adobe pdf character mapping data
https://bugzilla.redhat.com/show_bug.cgi?id=859246

   What|Removed |Added

 Status|NEW |CLOSED
 Resolution|--- |NOTABUG



-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-16 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679



--- Comment #9 from Ben Rosser  ---
Hmm, yes, the version should probably no longer be in the
/usr/share/cmap/cmap-* path. That's an artifact of when "1.6" was the version,
rather than the file modification date. I think it should probably become
/usr/share/cmap/cmap-japan1-6/ (for example).

I'll push updates to the other packages, but for now, here's an updated spec.

Spec: http://mars.arosser.com/fedora/pdfminer/python-pdfminer.spec
SRPM:
http://mars.arosser.com/fedora/pdfminer/python-pdfminer-20140328-0.fc20.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-08-11 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Lubomir Rintel  changed:

   What|Removed |Added

 CC||lkund...@v3.sk



--- Comment #8 from Lubomir Rintel  ---
I guess you'd want to update the SPEC file for newly packaged cmap files;
something along the lines of

BuildRequires: cmap-japan1-6
BuildRequires: cmap-korean1-2
BuildRequires: cmap-gb1-5
BuildRequires: cmap-cns1-6
...
cp %{_datadir}/cmap/cmap-japan*/cid2code.txt cmaprsrc/cid2code_Adobe_Japan1.txt
cp %{_datadir}/cmap/cmap-korea*/cid2code.txt cmaprsrc/cid2code_Adobe_Korea1.txt
cp %{_datadir}/cmap/cmap-gb*/cid2code.txt cmaprsrc/cid2code_Adobe_GB1.txt
cp %{_datadir}/cmap/cmap-cns*/cid2code.txt cmaprsrc/cid2code_Adobe_CNS1.txt

(Maybe cmap-* packaging could be changed to avoid use of wildcards above?)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2014-07-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679



--- Comment #7 from Ben Rosser  ---
Additional update: these are now the valid URLs.

Spec: http://mars.arosser.com/fedora/pdfminer/python-pdfminer.spec
SRPM:
http://mars.arosser.com/fedora/pdfminer/python-pdfminer-20110515-3.fc17.src.rpm

I'll need to update this spec to the latest version of pdfminer, and make it
depend on the right cmap packages too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2013-05-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Jason Tibbitts  changed:

   What|Removed |Added

 Depends On||859246

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=aG7tVJBcZ8&a=cc_unsubscribe
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2012-09-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

--- Comment #6 from Ben Rosser  ---
Update: effectively removed cmap bundling (by creating a separate cmap package
here: https://bugzilla.redhat.com/show_bug.cgi?id=859246).

Spec: http://venus.arosser.com/fedora/pdfminer/python-pdfminer.spec
SRPM:
http://venus.arosser.com/fedora/pdfminer/python-pdfminer-20110515-3.fc17.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2012-07-05 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

--- Comment #5 from Ben Rosser  ---
Update, with RHEL 5 legacy stuff removed and license modified to reflect the
cmap content.

Spec: http://venus.arosser.com/fedora/pdfminer/python-pdfminer.spec
SRPM:
http://venus.arosser.com/fedora/pdfminer/python-pdfminer-20110515-2.fc17.src.rpm

(In reply to comment #4)
> Just a note that this code appears to bundle some data from Adobe that is
> not under the MIT license.  According to cmapsrc/README.txt it appears to be
> under the 3-clause BSD license.
> 
> So there are two issues:
> 
> The License: tag is wrong; it needs to be something like "MIT and BSD" and
> then indicate which parts of the final package are under which license. 
> (And looking at the built package that's not immediately clear to me.)
> 
> The bundling may or may not run afoul of the general bundling prohibition:
> https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries.  Since,
> again, it's not immediately clear to me what happens to that cmap data, I
> can't really say what should happen here.

So... it looks like, because I was calling "make cmap" *after* "python setup.py
build", the cmap data is not being installed into the package. I've fixed this,
and now the cmap data is being stored in:
"/usr/lib/python2.7/site-packages/pdfminer/cmap". So this folder would be under
the BSD license, then- I've updated the License tag and put a comment there
explaining this.

I'm not sure about the bundling though. One option would be for me to simply
remove it, as it's not a vital component of the package. The maintainer marks
it as an optional step for CJK language support here-
http://www.unixuser.org/~euske/python/pdfminer/index.html#install.

So, if the bundling of the cmap data does violate the bundling prohibition, it
can just be removed.

> Also, if you do not intend to package this for RHEL5, you can remove
> BuildRoot:, the entire %clean section, and the first line of %install.

Ah, okay. Yeah, I have no intention of packaging for RHEL5, so I've removed all
that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2012-07-05 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Jason Tibbitts  changed:

   What|Removed |Added

 CC||ti...@math.uh.edu

--- Comment #4 from Jason Tibbitts  ---
Just a note that this code appears to bundle some data from Adobe that is not
under the MIT license.  According to cmapsrc/README.txt it appears to be under
the 3-clause BSD license.

So there are two issues:

The License: tag is wrong; it needs to be something like "MIT and BSD" and then
indicate which parts of the final package are under which license.  (And
looking at the built package that's not immediately clear to me.)

The bundling may or may not run afoul of the general bundling prohibition:
https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries.  Since, again,
it's not immediately clear to me what happens to that cmap data, I can't really
say what should happen here.

Also, if you do not intend to package this for RHEL5, you can remove
BuildRoot:, the entire %clean section, and the first line of %install.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2012-05-29 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

--- Comment #3 from Ben Rosser  ---
As I realized I completely forgot to increment the release tag with these
changes (thus changing the version number to 20110515-1).. I've now reuploaded
the spec and a new SRPM:

Spec: http://venus.arosser.com/fedora/pdfminer/python-pdfminer.spec
SRPM:
http://venus.arosser.com/fedora/pdfminer/python-pdfminer-20110515-1.fc16.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2012-05-22 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

--- Comment #2 from Ben Rosser  ---
Fixed the unowned directories problem, and moved the chmod and mv commands to
%install.

Got rid of the %defattr (I guess I pulled that from an older RPM reference
somewhere), the export, the CFLAGS, and the man mkdir- none of these were
needed.

Reposted spec file and SRPM; they're at the same URLs:
Spec URL: http://venus.arosser.com/fedora/pdfminer/python-pdfminer.spec
SRPM URL:
http://venus.arosser.com/fedora/pdfminer/python-pdfminer-20110515-0.fc16.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2012-05-22 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

--- Comment #1 from Michael Schwendt  ---
Just a brief look. There are a few eyebrow raisers in the spec file:

> %prep
> %setup -q -n %{srcname}-%{version}
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig

What's the purpose of this export? Nonarch pkgconfig files are stored in
/usr/share/pkgconfig/, so there should not be any reason to alter the search
path like that.


> %build
> CFLAGS="$RPM_OPT_FLAGS"

This isn't needed at all, is it? If any C code/data files were compiled in this
Python based package, that would deserve a comment in the spec file and would
ask for a closer look during review.


> %{__python} setup.py build
> make cmap
> chmod +x build/lib/pdfminer/*
> mv build/scripts-2.7/dumppdf.py build/scripts-2.7/dumppdf
> mv build/scripts-2.7/pdf2txt.py build/scripts-2.7/pdf2txt
> mv build/scripts-2.7/latin2ascii.py build/scripts-2.7/latin2ascii

I would move the "chmod" line and the three "mv" lines into the %install
section. In order to distinguish between the steps, which are needed to build
the upstream software, and the additional steps, which may only be necessary to
bring into shape the files for installation/packaging.


> %install
> [...]
> mkdir -p %{buildroot}%{_mandir}/man1/

No manual pages are available, however.


> %files
> [...]
> %{python_sitelib}/%{srcname}-20110515-py2.7.egg-info
> %{python_sitelib}/%{srcname}/*

https://fedoraproject.org/wiki/Packaging:UnownedDirectories


> %defattr(-,root,root,-)
> %doc docs/*

https://fedoraproject.org/wiki/Packaging:Guidelines#File_Permissions

If there's a special/secret reason for putting the %defattr there, please
document it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 823679] Review Request: python-pdfminer - PDF data parsing library and tool

2012-05-21 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=823679

Ben Rosser  changed:

   What|Removed |Added

 Blocks||177841

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review