source: projects/specs/trunk/f/fotoxx/fotoxx-vl.spec @ 9427

Revision 9427, 4.4 KB checked in by inagaki, 9 years ago (diff)

2015-03-10 Ryoichi INAGAKI <ryo1@…>

  • dcraw, fotoxx, ufraw: updated


Line 
1%define mapname fotoxx-maps
2%define mapver  1.1
3%define mapsrc  %{mapname}-%{mapver}
4
5Summary:        Digital Photo editor
6Summary(ja):    デジタル写真編集ソフトウェア
7
8Name:           fotoxx
9Version:        15.03.1
10Release:        1%{?_dist_release}
11
12Group:          Applications/Multimedia
13License:        GPLv3+
14URL:            http://www.kornelix.com/fotoxx.html
15
16Source0:        http://www.kornelix.com/uploads/1/3/0/3/13035936/%{name}-%{version}.tar.gz
17Source1:        http://www.kornelix.com/uploads/1/3/0/3/13035936/%{mapsrc}.tar.gz
18Source2:        %{name}.desktop
19
20BuildRoot:      %{_tmppath}/%{name}-%{version}-root
21BuildRequires:  desktop-file-utils
22BuildRequires:  freeimage-devel
23BuildRequires:  gtk3-devel
24BuildRequires:  libtiff-devel
25BuildRequires:  perl-Image-ExifTool
26BuildRequires:  ufraw
27BuildRequires:  xdg-utils
28BuildRequires:  lcms2-devel
29
30Requires:       dcraw
31Requires:       ufraw
32Requires:       perl-Image-ExifTool
33Requires:       xdg-utils
34
35Vendor:         Project Vine
36Distribution:   Vine Linux
37
38%description
39Fotoxx is a free open source Linux program for editing image files
40from a digital camera. The goal of fotoxx is to meet most image editing
41needs while remaining easy to use.
42
43%prep
44%setup -q -a 1
45
46%build
47# This package's Makefile is bizarre
48# Misc. environment tweaks to let Makefile honor %%{optflags}
49make %{?_smp_mflags} PREFIX=%{_prefix} \
50  CXXFLAGS="%{optflags}" \
51  LDFLAGS="%{optflags}"
52
53%install
54rm -rf $RPM_BUILD_ROOT
55make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version}
56install -Dm 644 -p icons/%{name}.png  $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
57
58pushd %{mapsrc}
59make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version}
60popd
61
62desktop-file-install \
63    --vendor="" \
64    --mode 644 \
65    --remove-category="Application" \
66    --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
67    %{SOURCE2}
68
69mkdir -p $RPM_BUILD_ROOT/%{_datadir}/appdata/
70install -m 644 appdata/%{name}.appdata.xml $RPM_BUILD_ROOT/%{_datadir}/appdata/%{name}.appdata.xml
71
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76
77%posttrans
78update-desktop-database -q &> /dev/null ||:
79
80%postun
81if [ $1 -eq 0 ] ; then
82    update-desktop-database -q &> /dev/null ||:
83fi
84
85
86%files
87%defattr(-,root,root,-)
88%doc doc/*
89%dir %{_datadir}/%{name}
90%dir %{_datadir}/%{mapname}
91%{_bindir}/%{name}
92%{_datadir}/%{name}/*
93%{_datadir}/%{mapname}/*
94%{_datadir}/appdata/%{name}.appdata.xml
95%{_datadir}/applications/%{name}.desktop
96%{_datadir}/pixmaps/%{name}.png
97%{_mandir}/man1/*
98
99%changelog
100* Tue Mar 10 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 15.03.1-1
101- new upstream release including fotoxx-maps-1.1
102- updated desktop file (SOURCE2)
103- rebuilt with libtiff 4.0.3 
104- added Vendor and Distribution tag
105
106* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 10.11.1-1
107- updated to 10.11.1
108- built with new toolchains
109
110* Thu Jun 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.0-1
111- initial build for Vine Linux
112
113* Wed Feb 25 2009 Dennis Gilmore <dennis@ausil.us> - 6.0-3
114- add patch to dynamically link to libfreeimage
115
116* Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 6.0-2
117- Forgot patch
118
119* Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 6.0-1
120- New version 6.0
121- Adjust Source0 url (inspired by Kevin Fenzi in fedora-devel-list: https://www.redhat.com/archives/fedora-devel-list/2009-February/msg01622.html ).
122
123* Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 5.8-2
124- Add patch0 fotoxx-5.8.constchar.patch
125- Reformat spec with tabs, remove trailing spaces.
126
127* Sun Jan  4 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.8-1
128- Rebuild for 5.8
129* Mon Dec  1 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.7-1
130- Rebuild for 5.7
131* Sun Nov 16 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.6-1
132- Rebuild for 5.6
133* Tue Nov  4 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.5-1
134- Rebuild for 5.5
135* Thu Oct  9 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.4-1
136- Rebuild for 5.4
137* Thu Sep 18 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.3-1
138- Rebuild for 5.3
139* Sun Aug 31 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.2-1
140- Rebuild for 5.2
141* Sun Aug 24 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.1-1
142- Rebuild for 5.1
143* Fri Aug  8 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.0.1-1
144- Rebuild for 5.0.1
145* Sat Aug  2 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.0-1
146- Rebuild for 5.0
147* Tue Jul 22 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.9-1
148- Initial build
Note: See TracBrowser for help on using the repository browser.