]>
Commit | Line | Data |
---|---|---|
f1ecc569 | 1 | Summary: GNUstep Camera app |
2 | Name: Camera | |
3 | Version: 0.8 | |
4 | Release: 1 | |
5 | License: GPL v2+ | |
6 | Group: Applications | |
7 | Source0: http://download.gna.org/gsimageapps/Camera-0.8.tar.bz2 | |
8 | # Source0-md5: d1bdcabda19091bc846246cd21f22996 | |
9 | Patch0: %{name}-processArgs.patch | |
10 | URL: http://home.gna.org/gsimageapps/ | |
11 | BuildRequires: gnustep-base-devel >= 1.13.0 | |
12 | BuildRequires: gnustep-gui-devel >= 0.11.0 | |
13 | BuildRequires: libgphoto2-devel | |
14 | Requires: gnustep-base >= 1.13.0 | |
15 | Requires: gnustep-gui >= 0.11.0 | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | A simple tool to download photos from a digital camera (uses libgphoto) | |
20 | ||
21 | %prep | |
22 | %setup -q -n Camera | |
23 | %patch0 -p1 | |
24 | ||
25 | %build | |
26 | export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles | |
27 | export GNUSTEP_FLATTENED=yes | |
28 | %{__make} \ | |
29 | OPTFLAG="%{rpmcflags}" \ | |
30 | GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \ | |
31 | messages=yes | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles | |
36 | export GNUSTEP_FLATTENED=yes | |
37 | ||
38 | %{__make} install \ | |
39 | GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \ | |
40 | DESTDIR=$RPM_BUILD_ROOT | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %post -p /sbin/ldconfig | |
46 | %postun -p /sbin/ldconfig | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc README | |
51 | %attr(755,root,root) %{_bindir}/Camera | |
52 | %dir %{_libdir}/GNUstep/Applications/Camera.app | |
53 | %attr(755,root,root) %{_libdir}/GNUstep/Applications/Camera.app/Camera | |
54 | %dir %{_libdir}/GNUstep/Applications/Camera.app/Resources | |
55 | %{_libdir}/GNUstep/Applications/Camera.app/Resources/*.desktop | |
56 | %{_libdir}/GNUstep/Applications/Camera.app/Resources/*.png | |
57 | %{_libdir}/GNUstep/Applications/Camera.app/Resources/*.jpg | |
58 | %{_libdir}/GNUstep/Applications/Camera.app/Resources/*.gorm | |
59 | %{_libdir}/GNUstep/Applications/Camera.app/Resources/*.plist |