source: projects/specs/branches/6/f/fotoxx/fotoxx-vl.spec @ 521

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

import VineSeed package specs

Line 
1Summary:        Digital Photo editor
2Summary(ja):    デジタル写真編集ソフトウェア
3
4Name:           fotoxx
5Version:        6.0
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
17BuildRequires:  freeimage-devel
18Requires:       exiv2
19Requires:       printoxx
20
21Patch0:         fotoxx-5.8.constchar.patch
22Patch1:         fotoxx-dynamically-link.patch
23
24%description
25Fotoxx is a free open source Linux program for editing image files
26from a digital camera. The goal of fotoxx is to meet most image editing
27needs while remaining easy to use.
28
29%prep
30%setup -q -n %{name}
31rm libfreeimage.a
32%patch0 -p1 -b .constchar
33%patch1 -p1 -b .dynamic
34
35# To use our CFLAGS (exported)
36sed -i -e "s/CFLAGS =/CFLAGS +=/" Makefile
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}/icons/
64%{_datadir}/%{name}/locales/
65%{_datadir}/applications/%{name}.desktop
66%{_datadir}/pixmaps/%{name}.png
67
68%changelog
69* Thu Jun 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.0-1
70- initial build for Vine Linux
71
72* Wed Feb 25 2009 Dennis Gilmore <dennis@ausil.us> - 6.0-3
73- add patch to dynamically link to libfreeimage
74
75* Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 6.0-2
76- Forgot patch
77
78* Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 6.0-1
79- New version 6.0
80- Adjust Source0 url (inspired by Kevin Fenzi in fedora-devel-list: https://www.redhat.com/archives/fedora-devel-list/2009-February/msg01622.html ).
81
82* Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 5.8-2
83- Add patch0 fotoxx-5.8.constchar.patch
84- Reformat spec with tabs, remove trailing spaces.
85
86* Sun Jan  4 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.8-1
87- Rebuild for 5.8
88* Mon Dec  1 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.7-1
89- Rebuild for 5.7
90* Sun Nov 16 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.6-1
91- Rebuild for 5.6
92* Tue Nov  4 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.5-1
93- Rebuild for 5.5
94* Thu Oct  9 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.4-1
95- Rebuild for 5.4
96* Thu Sep 18 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.3-1
97- Rebuild for 5.3
98* Sun Aug 31 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.2-1
99- Rebuild for 5.2
100* Sun Aug 24 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.1-1
101- Rebuild for 5.1
102* Fri Aug  8 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.0.1-1
103- Rebuild for 5.0.1
104* Sat Aug  2 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.0-1
105- Rebuild for 5.0
106* Tue Jul 22 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.9-1
107- Initial build
Note: See TracBrowser for help on using the repository browser.