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

Revision 10581, 4.5 KB checked in by Takemikaduchi, 8 years ago (diff)

xlockmore: new upstream release
others: rebuild with gcc-5.4.0

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:        2%{?_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* Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 15.03.1-2
101- rebuild with gcc-5.4.0
102
103* Tue Mar 10 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 15.03.1-1
104- new upstream release including fotoxx-maps-1.1
105- updated desktop file (SOURCE2)
106- rebuilt with libtiff 4.0.3 
107- added Vendor and Distribution tag
108
109* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 10.11.1-1
110- updated to 10.11.1
111- built with new toolchains
112
113* Thu Jun 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.0-1
114- initial build for Vine Linux
115
116* Wed Feb 25 2009 Dennis Gilmore <dennis@ausil.us> - 6.0-3
117- add patch to dynamically link to libfreeimage
118
119* Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 6.0-2
120- Forgot patch
121
122* Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 6.0-1
123- New version 6.0
124- Adjust Source0 url (inspired by Kevin Fenzi in fedora-devel-list: https://www.redhat.com/archives/fedora-devel-list/2009-February/msg01622.html ).
125
126* Wed Feb 25 2009 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 5.8-2
127- Add patch0 fotoxx-5.8.constchar.patch
128- Reformat spec with tabs, remove trailing spaces.
129
130* Sun Jan  4 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.8-1
131- Rebuild for 5.8
132* Mon Dec  1 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.7-1
133- Rebuild for 5.7
134* Sun Nov 16 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.6-1
135- Rebuild for 5.6
136* Tue Nov  4 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.5-1
137- Rebuild for 5.5
138* Thu Oct  9 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.4-1
139- Rebuild for 5.4
140* Thu Sep 18 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.3-1
141- Rebuild for 5.3
142* Sun Aug 31 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.2-1
143- Rebuild for 5.2
144* Sun Aug 24 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.1-1
145- Rebuild for 5.1
146* Fri Aug  8 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.0.1-1
147- Rebuild for 5.0.1
148* Sat Aug  2 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 5.0-1
149- Rebuild for 5.0
150* Tue Jul 22 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.9-1
151- Initial build
Note: See TracBrowser for help on using the repository browser.