]>
Commit | Line | Data |
---|---|---|
b27451e9 | 1 | Summary: Tool to generate full-size image files and thumbnails |
e55a965c | 2 | Summary(pl.UTF-8): Narzędzie do generowania pełnowymiarowych plików obrazów i miniaturek |
b27451e9 MB |
3 | Name: gnome-web-photo |
4 | Version: 0.3 | |
a5160723 | 5 | Release: 7 |
b27451e9 MB |
6 | License: GPL |
7 | Group: Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-web-photo/0.3/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 1c9cdf4ce25b58641e0af16215c413a5 | |
10 | URL: http://www.gnome.org/ | |
11 | BuildRequires: GConf2-devel >= 2.18.0.1 | |
12 | BuildRequires: autoconf >= 2.59 | |
13 | BuildRequires: automake >= 1:1.9 | |
14 | BuildRequires: gnome-common >= 2.12.0 | |
a5160723 | 15 | BuildRequires: gnome-vfs2-devel >= 2.18.0 |
b27451e9 MB |
16 | BuildRequires: gtk+2-devel >= 2:2.10.9 |
17 | BuildRequires: intltool >= 0.35.5 | |
18 | BuildRequires: libjpeg-devel | |
19 | BuildRequires: libpng-devel | |
20 | BuildRequires: libtool | |
21 | BuildRequires: libxml2-devel >= 1:2.6.27 | |
7128523f | 22 | BuildRequires: pkgconfig |
b27451e9 MB |
23 | BuildRequires: rpmbuild(macros) >= 1.198 |
24 | BuildRequires: xulrunner-devel | |
25 | Requires(post,preun): GConf2 | |
26 | %requires_eq_to xulrunner xulrunner-devel | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | GNOME Web Photographer is a tool to generate full-size image files and | |
31 | thumbnails from HTML files and web pages. | |
32 | ||
e55a965c JB |
33 | %description -l pl.UTF-8 |
34 | GNOME Web Photographer to narzędzie do generowania pełnowymiarowych | |
35 | plików obrazów i miniaturek. | |
36 | ||
b27451e9 MB |
37 | %prep |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | %{__glib_gettextize} | |
42 | %{__intltoolize} | |
43 | %{__libtoolize} | |
44 | %{__aclocal} -I m4 | |
45 | %{__autoconf} | |
46 | %{__autoheader} | |
47 | %{__automake} | |
48 | %configure | |
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
57 | %find_lang %{name} | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post | |
63 | %gconf_schema_install thumbnailer.schemas | |
64 | ||
65 | %preun | |
66 | %gconf_schema_uninstall thumbnailer.schemas | |
67 | ||
68 | %files -f %{name}.lang | |
69 | %defattr(644,root,root,755) | |
70 | %doc AUTHORS ChangeLog HACKING MAINTAINERS NEWS README TODO | |
71 | %{_sysconfdir}/gconf/schemas/thumbnailer.schemas | |
72 | %attr(755,root,root) %{_bindir}/gnome-web-photo | |
73 | %dir %{_datadir}/gnome-web-photo | |
74 | %{_datadir}/gnome-web-photo/prefs.js | |
75 | %{_datadir}/gnome-web-photo/style.css |