forked from perl/perl-PDF-API2
		
	update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PDF-API2?expand=0&rev=27
This commit is contained in:
		
				
					committed by
					
						 Git OBS Bridge
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							8de89507a5
						
					
				
				
					commit
					99270026e0
				
			| @@ -1,3 +0,0 @@ | |||||||
| version https://git-lfs.github.com/spec/v1 |  | ||||||
| oid sha256:57dbf738a50382bea487e977c8360bebb06d8d8f3076178c4a12e7dcdac320fb |  | ||||||
| size 3518746 |  | ||||||
							
								
								
									
										3
									
								
								PDF-API2-2.022.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								PDF-API2-2.022.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | version https://git-lfs.github.com/spec/v1 | ||||||
|  | oid sha256:1f0aadd8ef937ed83619af20b88fc80b6477a4c07b5d69357b4cd291462f3fb0 | ||||||
|  | size 3520618 | ||||||
| @@ -1,3 +0,0 @@ | |||||||
| version https://git-lfs.github.com/spec/v1 |  | ||||||
| oid sha256:0b4b03725d313f0cc1056b80a4ea6d30a3b0a959316228c60b7a05e958d90486 |  | ||||||
| size 159460 |  | ||||||
| @@ -1,3 +1,46 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Fri Jul 25 09:32:42 UTC 2014 - coolo@suse.com | ||||||
|  |  | ||||||
|  | - updated to 2.022 | ||||||
|  |      - Added $pdf->version() get/set method.  When opening an existing | ||||||
|  |        PDF, the existing version number will now be retained. | ||||||
|  |   | ||||||
|  |      - Renamed the following in PDF::API2: | ||||||
|  |          - importpage to import_page | ||||||
|  |          - openScalar to open_scalar | ||||||
|  |   | ||||||
|  |        The old names are deprecated. | ||||||
|  |   | ||||||
|  |      - [RT #69503] Fix the -firstpage option to $pdf->preferences() so | ||||||
|  |        that it doesn't always lead to a crash (reported by Dietrich | ||||||
|  |        Streifert). | ||||||
|  |   | ||||||
|  |      - [RT #47974] Accept malformed xref subsections (with a warning) | ||||||
|  |        that have extraneous spaces on the first line (reported by | ||||||
|  |        Abhinav Kaushik). | ||||||
|  |   | ||||||
|  |      - [RT #94505] For Code128 barcodes, the initial character set is | ||||||
|  |        now optional (defaults to B or C depending on the content to be | ||||||
|  |        encoded).  The initial character set can be passed as a capital | ||||||
|  |        letter, and the program will die if an invalid character set is | ||||||
|  |        requested (requested by Andrea Nall). | ||||||
|  |   | ||||||
|  |      - Interleaved 2 of 5 barcodes now prepend a zero when an odd | ||||||
|  |        number of digits is specified, which is standard behavior. | ||||||
|  |        Previously, a zero was appended instead. | ||||||
|  |   | ||||||
|  |      - $page->rotate(0) now sets rotation to 0 degrees rather than | ||||||
|  |        deleting an existing page rotation command.  Page rotation is | ||||||
|  |        inherited, so this is necessary to undo any inherited page | ||||||
|  |        rotation. | ||||||
|  |   | ||||||
|  |      - Fix: Attempts to use EAN-128 barcodes resulted in an error. | ||||||
|  |   | ||||||
|  |      - Add a more informative error when text() is called without first | ||||||
|  |        setting a font(), and when font() is called without including a | ||||||
|  |        font size. | ||||||
|  | - remove work around only applied on 11.3 and 11.4 | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Mon Mar 17 13:13:14 UTC 2014 - coolo@suse.com | Mon Mar 17 13:13:14 UTC 2014 - coolo@suse.com | ||||||
|  |  | ||||||
|   | |||||||
| @@ -17,33 +17,30 @@ | |||||||
|  |  | ||||||
|  |  | ||||||
| Name:           perl-PDF-API2 | Name:           perl-PDF-API2 | ||||||
|  | Version:        2.022 | ||||||
|  | Release:        0 | ||||||
| %define cpan_name PDF-API2 | %define cpan_name PDF-API2 | ||||||
| Summary:        Facilitates the creation and modification of PDF files | Summary:        Facilitates the creation and modification of PDF files | ||||||
| License:        LGPL-2.1+ | License:        LGPL-2.1+ | ||||||
| Group:          Development/Libraries/Perl | Group:          Development/Libraries/Perl | ||||||
| Version:        2.021 |  | ||||||
| Release:        0 |  | ||||||
| Url:            http://search.cpan.org/dist/PDF-API2/ | Url:            http://search.cpan.org/dist/PDF-API2/ | ||||||
| Source:         http://www.cpan.org/authors/id/S/SS/SSIMMS/PDF-API2-%{version}.tar.gz | Source:         http://www.cpan.org/authors/id/S/SS/SSIMMS/%{cpan_name}-%{version}.tar.gz | ||||||
| Source1:        UnicodeData.txt.bz2 |  | ||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build | BuildRoot:      %{_tmppath}/%{name}-%{version}-build | ||||||
| BuildRequires:  perl | BuildRequires:  perl | ||||||
| BuildRequires:  perl-macros | BuildRequires:  perl-macros | ||||||
|  | BuildRequires:  perl(Compress::Zlib) >= 1.0 | ||||||
| BuildRequires:  perl(Font::TTF) | BuildRequires:  perl(Font::TTF) | ||||||
|  | Requires:       perl(Compress::Zlib) >= 1.0 | ||||||
| Requires:       perl(Font::TTF) | Requires:       perl(Font::TTF) | ||||||
| %{perl_requires} | %{perl_requires} | ||||||
|  |  | ||||||
| %description | %description | ||||||
| This module facilitates the creation and modification of PDF files. | Facilitates the creation and modification of PDF files | ||||||
|  |  | ||||||
| %prep | %prep | ||||||
| %setup -q -n %{cpan_name}-%{version} | %setup -q -n %{cpan_name}-%{version} | ||||||
| %if 0%{?suse_version} == 1140 || 0%{?suse_version} == 1130 | find . -type f -print0 | xargs -0 chmod 644 | ||||||
| # workaround for broken Unicode::UCD needed by t/00-all-usable.t |  | ||||||
| mkdir unicore |  | ||||||
| bzip2 -dc < %{S:1} > unicore/UnicodeData.txt |  | ||||||
| %endif |  | ||||||
|  |  | ||||||
| %build | %build | ||||||
| %{__perl} Makefile.PL INSTALLDIRS=vendor | %{__perl} Makefile.PL INSTALLDIRS=vendor | ||||||
| @@ -57,11 +54,8 @@ bzip2 -dc < %{S:1} > unicore/UnicodeData.txt | |||||||
| %perl_process_packlist | %perl_process_packlist | ||||||
| %perl_gen_filelist | %perl_gen_filelist | ||||||
|  |  | ||||||
| %clean |  | ||||||
| %{__rm} -rf %{buildroot} |  | ||||||
|  |  | ||||||
| %files -f %{name}.files | %files -f %{name}.files | ||||||
| %defattr(644,root,root,755) | %defattr(-,root,root,755) | ||||||
| %doc Changes CONTACT contrib examples LICENSE PATENTS README | %doc barcode.pl~ Changes contrib examples LICENSE PATENTS README | ||||||
|  |  | ||||||
| %changelog | %changelog | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user