[521] | 1 | Summary: Print image files |
---|
| 2 | Summary(ja): 画像ファイル印刷ソフトウエア |
---|
| 3 | |
---|
| 4 | Name: printoxx |
---|
[4663] | 5 | Version: 2.8.1 |
---|
[521] | 6 | Release: 1%{?_dist_release} |
---|
| 7 | |
---|
| 8 | Group: Applications/Multimedia |
---|
| 9 | License: GPLv2 |
---|
| 10 | URL: http://kornelix.squarespace.com/%{name}/ |
---|
[4663] | 11 | |
---|
[521] | 12 | Source0: http://kornelix.squarespace.com/storage/downloads/%{name}-%{version}.tar.gz |
---|
| 13 | Source1: %{name}.desktop |
---|
| 14 | |
---|
[4663] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[521] | 16 | BuildRequires: gtk2-devel |
---|
| 17 | BuildRequires: desktop-file-utils |
---|
| 18 | Requires: cups |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | Printoxx is a free open source Linux program for printing one or more image |
---|
| 22 | files with a user-defined page layout. Images can be added to a layout page |
---|
| 23 | using the mouse to select and drop. Images can be moved around and resized |
---|
| 24 | using the mouse. Adding text (titles, notes) works the same way. |
---|
| 25 | Any available font can be used. |
---|
| 26 | |
---|
| 27 | %prep |
---|
[4663] | 28 | %setup -q |
---|
[521] | 29 | |
---|
| 30 | # To use our CFLAGS (exported) |
---|
| 31 | sed -i -e "s/CFLAGS =/CFLAGS +=/" Makefile |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; |
---|
| 35 | make %{?_smp_mflags} PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version} |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %install |
---|
| 39 | rm -rf $RPM_BUILD_ROOT |
---|
[4663] | 40 | make install manpage DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version} |
---|
| 41 | install -Dm 644 -p icons/%{name}.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png |
---|
[521] | 42 | desktop-file-install --vendor="" \ |
---|
| 43 | --mode 644 \ |
---|
| 44 | --remove-category="Application" \ |
---|
| 45 | --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \ |
---|
| 46 | %{SOURCE1} |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | rm -rf $RPM_BUILD_ROOT |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-,root,root,-) |
---|
| 55 | %doc doc/* |
---|
| 56 | %dir %{_datadir}/%{name} |
---|
| 57 | %{_bindir}/%{name} |
---|
| 58 | %{_datadir}/%{name}/icons/ |
---|
| 59 | %{_datadir}/%{name}/locales/ |
---|
| 60 | %{_datadir}/applications/%{name}.desktop |
---|
| 61 | %{_datadir}/pixmaps/%{name}.png |
---|
[4663] | 62 | %{_mandir}/man1/* |
---|
[521] | 63 | |
---|
| 64 | %changelog |
---|
[4663] | 65 | * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-1 |
---|
| 66 | - updated to 2.8.1 |
---|
| 67 | - built with new toolchains |
---|
| 68 | |
---|
[521] | 69 | * Thu Jun 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.1-1 |
---|
| 70 | - initial build for Vine Linux |
---|
| 71 | |
---|
| 72 | * Tue Feb 24 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 1.8.1-2 |
---|
| 73 | - Step to version 1.8.1 |
---|
| 74 | - Adjust Source0 url. |
---|
| 75 | - Reformat header of spec with tabs. |
---|
| 76 | - Add Patch0: printoxx-1.8.1.constchar.patch to build on gcc 4.4 |
---|
| 77 | |
---|
| 78 | * Sun Jan 4 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.8-1 |
---|
| 79 | - Rebuild for 1.8 |
---|
| 80 | * Thu Dec 4 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.7-2 |
---|
| 81 | - Include unowned /usr/share/printoxx/locales directory. |
---|
| 82 | * Mon Dec 1 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.7-1 |
---|
| 83 | - Rebuild for 1.7 |
---|
| 84 | * Mon Oct 13 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.6-4 |
---|
| 85 | - Better management of documentation |
---|
| 86 | * Sun Oct 12 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.6-3 |
---|
| 87 | - Desktop file ameliorations |
---|
| 88 | - Doc files are now reachable |
---|
| 89 | * Mon Oct 6 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.6-2 |
---|
| 90 | - add escape char in prep section |
---|
| 91 | * Sun Oct 5 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.6-1 |
---|
| 92 | - Rebuild for 1.6 |
---|
| 93 | * Sat Sep 27 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.5-1 |
---|
| 94 | - Rebuild for 1.5 |
---|
| 95 | * Thu Sep 18 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.4-1 |
---|
| 96 | - Rebuild for 1.4 |
---|
| 97 | * Mon Sep 8 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.3.1-1 |
---|
| 98 | - Rebuild for 1.3.1 |
---|
| 99 | * Wed Sep 3 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.2-1 |
---|
| 100 | - Rebuild for 1.2 |
---|
| 101 | * Tue Sep 2 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.1-2 |
---|
| 102 | - Added desktop file support |
---|
| 103 | * Mon Sep 1 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 1.1-1 |
---|
| 104 | - Initital build |
---|