]> git.pld-linux.org Git - packages/gphoto2.git/blame_incremental - gphoto2.spec
- release 3 (by relup.sh)
[packages/gphoto2.git] / gphoto2.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without aalib # AAlib support
4#
5Summary: Command-line frontend to libgphoto2
6Summary(es.UTF-8): Foto GNU (gphoto) Release 2
7Summary(pl.UTF-8): Działający z linii poleceń program obsługujący libgphoto2
8Summary(pt_BR.UTF-8): GNU Photo - programa GNU para câmeras digitais
9Summary(zh_CN.UTF-8): gPhoto - Linux下的使用数码相机的程序
10Name: gphoto2
11Version: 2.5.23
12Release: 3
13License: LGPL v2+
14Group: Applications/Graphics
15Source0: http://downloads.sourceforge.net/gphoto/%{name}-%{version}.tar.bz2
16# Source0-md5: 0abd5ae8315109ae66bf06ac37902678
17Patch0: %{name}-manpage_addon.patch
18Patch1: automake-1.12.patch
19Patch2: %{name}-ac.patch
20Patch3: %{name}-cdk.patch
21Patch4: %{name}-pl.po-update.patch
22URL: http://www.gphoto.org/
23%{?with_aalib:BuildRequires: aalib-devel}
24BuildRequires: autoconf >= 2.59
25BuildRequires: automake >= 1:1.9
26BuildRequires: cdk-devel >= 5.0_td20010421
27BuildRequires: gettext-tools >= 0.14.1
28BuildRequires: libexif-devel >= 1:0.6.9
29BuildRequires: libgphoto2-devel >= 2.5.17
30BuildRequires: libjpeg-devel
31BuildRequires: libtool
32BuildRequires: pkgconfig
33BuildRequires: popt-devel
34BuildRequires: readline-devel
35Requires: libexif >= 1:0.6.9
36Requires: libgphoto2 >= 2.5.17
37Obsoletes: gphoto2-progs
38# these are not true (renamed to libgphoto2-{devel,static}) - we must have
39# the way to just rename package which is not required by anything installed
40Obsoletes: gphoto2-devel
41Obsoletes: gphoto2-static
42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44%description
45gphoto2 is a command-line frontend to libgphoto2.
46
47%description -l pl.UTF-8
48gphoto2 to działający z linii poleceń program będący interfejsem
49użytkownika do libgphoto2.
50
51%description -l pt_BR.UTF-8
52O programa gphoto faz parte do projeto GNOME e é uma interface para
53uma grande variedade de câmeras fotográficas digitais.
54
55%prep
56%setup -q
57%patch0 -p1
58%patch1 -p1
59%patch2 -p1
60%patch3 -p1
61%patch4 -p1
62
63%{__rm} po/stamp-po
64
65%build
66%{__libtoolize}
67%{__aclocal} -I auto-m4 -I gphoto-m4
68%{__autoconf}
69%{__autoheader}
70%{__automake}
71CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
72%configure \
73 %{?with_aalib:--with-aalib}
74%{__make}
75
76%install
77rm -rf $RPM_BUILD_ROOT
78
79%{__make} install \
80 DESTDIR=$RPM_BUILD_ROOT
81
82%find_lang %{name}
83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
87%post -p /sbin/ldconfig
88%postun -p /sbin/ldconfig
89
90%files -f %{name}.lang
91%defattr(644,root,root,755)
92%doc AUTHORS ChangeLog NEWS README TODO
93%attr(755,root,root) %{_bindir}/gphoto2
94%{_mandir}/man1/gphoto2.1*
This page took 0.025636 seconds and 4 git commands to generate.