]> git.pld-linux.org Git - packages/shotwell.git/blame_incremental - shotwell.spec
- updated to 0.26.2
[packages/shotwell.git] / shotwell.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with unity # Ubuntu Unity integration
4#
5Summary: Photo manager for GNOME
6Summary(pl.UTF-8): Zarządca zdjęć dla GNOME
7Name: shotwell
8Version: 0.26.2
9Release: 1
10License: LGPL v2+ and CC-BY-SA
11Group: X11/Applications
12Source0: http://ftp.gnome.org/pub/GNOME/sources/shotwell/0.26/%{name}-%{version}.tar.xz
13# Source0-md5: 37a7b1c54242a8cbd00b85785b5941bd
14Patch0: %{name}-link.patch
15Patch1: %{name}-gitversion.patch
16URL: https://wiki.gnome.org/Apps/Shotwell
17BuildRequires: appstream-glib-devel
18BuildRequires: atk-devel
19BuildRequires: autoconf >= 2.69
20BuildRequires: automake >= 1:1.11
21BuildRequires: cairo-devel
22BuildRequires: gcr-devel
23BuildRequires: gcr-ui-devel
24BuildRequires: gdk-pixbuf2-devel
25BuildRequires: gettext-tools >= 0.19.7
26BuildRequires: gexiv2-devel >= 0.10.4
27BuildRequires: glib2-devel >= 1:2.40.0
28BuildRequires: gnome-doc-utils
29BuildRequires: gstreamer-devel >= 1.0.0
30BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
31BuildRequires: gtk+3-devel >= 3.14.0
32BuildRequires: gtk-webkit4-devel
33BuildRequires: json-glib-devel >= 0.6.16
34BuildRequires: libexif-devel >= 1:0.6.16
35BuildRequires: libgdata-devel
36BuildRequires: libgee-devel >= 0.8.5
37BuildRequires: libgphoto2-devel >= 2.5.0
38BuildRequires: libraw-devel >= 0.14.7-2
39BuildRequires: libsoup-devel >= 2.26.0
40BuildRequires: libtool >= 2:2.2
41%{?with_unity:BuildRequires: libunity-devel}
42BuildRequires: libxml2-devel >= 1:2.6.32
43BuildRequires: pkgconfig >= 1:0.22
44BuildRequires: rest-devel >= 0.7
45BuildRequires: rpmbuild(macros) >= 1.311
46BuildRequires: sqlite3-devel >= 3.5.9
47BuildRequires: udev-glib-devel >= 1:145
48BuildRequires: vala >= 2:0.28.0
49BuildRequires: vala-gexiv2 >= 0.4.90
50BuildRequires: vala-libgee >= 0.8.5
51BuildRequires: yelp-tools
52Requires(post,postun): desktop-file-utils
53Requires(post,postun): glib2 >= 1:2.32.0
54Requires(post,postun): gtk-update-icon-cache
55Requires(post,postun): hicolor-icon-theme
56Requires: gexiv2 >= 0.10.4
57Requires: glib2 >= 1:2.40.0
58Requires: gtk+3 >= 3.14.0
59Requires: gtk-webkit4
60Requires: hicolor-icon-theme
61Requires: libexif >= 1:0.6.16
62Requires: libgphoto2 >= 2.5.0
63Requires: libraw >= 0.14.7-2
64Requires: libsoup >= 2.26.0
65Requires: libxml2 >= 1:2.6.32
66Requires: sqlite3 >= 3.5.9
67Requires: udev-glib >= 1:145
68BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69
70%description
71Shotwell is a digital photo organizer designed for the GNOME desktop
72environment. It allows you to import photos from disk or camera,
73organize them in various ways, view them in full-window or fullscreen
74mode, and export them to share with others.
75
76%description -l pl.UTF-8
77Shotwell to organizator zdjęć cyfrowych, zaprojektowany dla środowiska
78graficznego GNOME. Pozwala importować zdjęcia z dysku lub aparatu,
79organizować je na różne sposoby, przeglądać w trybie okienkowym lub
80pełnoekranowym oraz eksportować, aby podzielić się nimi z innymi.
81
82%prep
83%setup -q
84%patch0 -p1
85%patch1 -p1
86
87# force rebuild without _GITVERSION
88%{__rm} src/Resources.c
89
90%build
91%{__libtoolize}
92%{__aclocal} -I m4
93%{__autoconf}
94%{__autoheader}
95%{__automake}
96%configure \
97 --disable-schemas-compile \
98 --disable-silent-rules \
99 %{?with_unity:--enable-unity-support}
100%{__make}
101
102%install
103rm -rf $RPM_BUILD_ROOT
104
105%{__make} install \
106 DESTDIR=$RPM_BUILD_ROOT
107
108%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
109%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/builtin/*.la
110
111%find_lang shotwell --with-gnome
112
113%clean
114rm -rf $RPM_BUILD_ROOT
115
116%post
117%update_icon_cache hicolor
118%update_desktop_database
119%glib_compile_schemas
120
121%postun
122%update_icon_cache hicolor
123%update_desktop_database_postun
124%glib_compile_schemas
125
126%files -f shotwell.lang
127%defattr(644,root,root,755)
128%doc AUTHORS COPYING NEWS README THANKS
129%attr(755,root,root) %{_bindir}/shotwell
130%attr(755,root,root) %{_libdir}/libshotwell-authenticator.so*
131%attr(755,root,root) %{_libdir}/libshotwell-plugin-common.so*
132%{_desktopdir}/%{name}-viewer.desktop
133%{_desktopdir}/%{name}.desktop
134%dir %{_libdir}/%{name}
135%attr(755,root,root) %{_libdir}/shotwell/shotwell-settings-migrator
136%attr(755,root,root) %{_libdir}/shotwell/shotwell-video-thumbnailer
137%{_datadir}/appdata/shotwell.appdata.xml
138%{_datadir}/glib-2.0/schemas/org.yorba.shotwell.gschema.xml
139%{_datadir}/glib-2.0/schemas/org.yorba.shotwell-extras.gschema.xml
140%dir %{_libdir}/%{name}/plugins
141%dir %{_libdir}/%{name}/plugins/builtin
142%attr(755,root,root) %{_libdir}/%{name}/plugins/builtin/*.so
143%{_iconsdir}/hicolor/*x*/apps/shotwell.png
144%{_iconsdir}/hicolor/symbolic/apps/shotwell-symbolic.svg
145%{_mandir}/man1/shotwell.1*
This page took 0.137655 seconds and 4 git commands to generate.