source: projects/specs/trunk/u/ufraw/ufraw-vl.spec @ 8056

Revision 8056, 5.5 KB checked in by Takemikaduchi, 10 years ago (diff)

KDE-4.11.4
exiv2-0.24
wireshark-1.10.5, etc...

Line 
1Summary:        Utility for digital camera raw images
2Summary(ja):    デジタルカメラの raw イメージ用ユーティリティ
3Name:           ufraw
4Version:        0.18
5Release:        4%{?_dist_release}
6
7License:        GPL
8Group:          Applications/Graphics
9URL:            http://ufraw.sourceforge.net/
10
11Source0:        %{name}-%{version}.tar.gz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  cfitsio-devel
15BuildRequires:  exiv2-devel
16BuildRequires:  gimp-devel
17BuildRequires:  gtk2-devel >= 2.6
18BuildRequires:  gtkimageview-devel >= 1.3.0
19BuildRequires:  lcms-devel
20BuildRequires:  libexif-devel
21BuildRequires:  libjpeg-devel
22BuildRequires:  libpng-devel
23BuildRequires:  libtiff-devel
24BuildRequires:  zlib-devel
25Requires(post): GConf2, shared-mime-info, desktop-file-utils
26Requires(postun): shared-mime-info, desktop-file-utils
27Requires(pre): GConf2
28Requires(preun): GConf2
29
30%description
31Application allowed to read and manipulate raw images from digital
32cameras. Takes care of the color management, handles the Nikon curve
33formats and has editor for the tone curves. It allows easy process more
34images in a batch on command-line.
35
36%description -l ja
37デジタルカメラの raw イメージを読み込み、操作するためのアプリケーション
38です。カラーマネージメント機能を持ち、Nikon のカーブフォーマットの読み
39込みやトーンカーブの編集が可能です。また大量のファイルをコマンドライン
40から簡単にバッチ処理できます。
41
42#---------------------------------------------------------------------------
43
44%package gimp
45Summary:        Raw image loader plugin for The GIMP
46Summary(ja):    GIMP 用の raw イメージ読み込み用プラグイン
47Group:          Applications/Graphics
48Requires:       gimp
49
50%description gimp
51ufraw-gimp is a GIMP plug-in to read and manipulate raw images from
52digital cameras.
53
54%description gimp -l ja
55ufraw-gimp はデジタルカメラの raw イメージを読み込み、操作するための
56GIMP 用の plug-in です。
57
58#---------------------------------------------------------------------------
59
60       
61%prep
62%setup -q
63
64%build
65%configure --enable-gimp --enable-extras --with-libexif --with-exiv2 DESTDIR=$RPM_BUILD_ROOT
66%{__make}
67
68%install
69%{__rm} -rf $RPM_BUILD_ROOT
70
71export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
72%{__make} install DESTDIR=${RPM_BUILD_ROOT}
73unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
74
75# install schemas to sysconfdir manually.
76%{__install} -d ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas
77./generate_schemas.sh %{_prefix} $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/ufraw.schemas
78#{__mv} ${RPM_BUILD_ROOT}/%{_datadir}/gconf/schemas/ufraw.schemas ${RPM_BUILD_ROOT}/%{_sysconfdir}/gconf/schemas
79#{__rm} -rf ${RPM_BUILD_ROOT}/%{_datadir}/gconf/schemas
80
81# install .desktop manually.
82%{__install} -d $RPM_BUILD_ROOT/%{_datadir}/applications
83%{__install} -m 644 ufraw.desktop $RPM_BUILD_ROOT/%{_datadir}/applications
84
85# install mime-info manually. (But this has been included in shared-mime-info >= 0.21)
86%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/mime/packages
87%{__install} -m 644 ufraw-mime.xml ${RPM_BUILD_ROOT}/%{_datadir}/mime/packages
88
89%find_lang %{name}
90
91
92%clean
93%{__rm} -rf ${RPM_BUILD_ROOT}
94
95
96%post
97update-mime-database %{_datadir}/mime >& /dev/null ||:
98export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
99gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/ufraw.schemas > /dev/null ||:
100update-desktop-database %{_datadir}/applications >& /dev/null ||:
101
102%pre
103if [ "$1" -gt 1 ]; then
104    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
105    gconftool-2 --makefile-uninstall-rule \
106        %{_sysconfdir}/gconf/schemas/ufraw.schemas > /dev/null ||:
107fi
108
109%preun
110if [ "$1" -eq 0 ]; then
111    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
112    gconftool-2 --makefile-uninstall-rule \
113        %{_sysconfdir}/gconf/schemas/ufraw.schemas > /dev/null ||:
114fi
115
116%postun
117update-mime-database %{_datadir}/mime >& /dev/null ||:
118update-desktop-database %{_datadir}/applications >& /dev/null ||:
119
120
121%files -f %{name}.lang
122%defattr(-,root,root)
123%doc COPYING MANIFEST README TODO
124%{_bindir}/ufraw
125%{_bindir}/ufraw-batch
126%{_bindir}/dcraw
127%{_bindir}/nikon-curve
128%{_sysconfdir}/gconf/schemas/ufraw.schemas
129%{_datadir}/applications/ufraw.desktop
130%{_datadir}/mime/packages/ufraw-mime.xml
131%{_datadir}/pixmaps/ufraw.png
132%{_mandir}/man1/ufraw.1*
133
134%files gimp
135%defattr(-,root,root)
136%{_libdir}/gimp/2.0/plug-ins/ufraw-gimp
137
138%changelog
139* Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-4
140- rebuild with exiv2-0.23
141
142* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-3
143- rebuild with exiv2-0.23
144
145* Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-2
146- rebuild with exiv2-0.22
147
148* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18-1
149- new upstream release
150- built with exiv2-0.21.1
151- added BR: cfitsio-devel, libtiff-devel
152
153* Wed May  5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-1
154- new upstream release
155- built with exiv2-0.19
156
157* Sun Apr 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-1
158- new upstream release
159
160* Sun Oct  5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.13-1vl5
161- new upstream release
162
163* Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 0.12.1-1vl5
164- applied new versioning policy, spec in utf-8
165- built with exiv2
166
167* Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.1-0vl1
168- new upstream release.
169- add Requires(post, postun)
170
171* Tue Aug 07 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12-0vl1
172- new upstream release.
173- add BuildRequires gtkimageview-devel >= 1.3.0
174
175* Mon Jun 11 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.11-0vl1
176- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.