source: projects/specs/trunk/p/printoxx/printoxx-vl.spec @ 521

Revision 521, 3.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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