]> git.pld-linux.org Git - packages/mate-user-share.git/blame - mate-user-share.spec
- kab locale is supported now
[packages/mate-user-share.git] / mate-user-share.spec
CommitLineData
baa77069
JB
1#
2# Conditional build:
0a0400fe 3%bcond_with bluetooth # Bluetooth support
baa77069
JB
4%bcond_without caja # Caja (mate-file-manager) extension
5#
6Summary: User-level file sharing for MATE desktop
7Summary(pl.UTF-8): Współdzielenie plików na poziomie użytkownika dla środowiska MATE
8Name: mate-user-share
d7f57d7a 9Version: 1.22.0
f5e39718 10Release: 1
baa77069
JB
11License: GPL v2+
12Group: X11/Applications
d7f57d7a
JP
13Source0: http://pub.mate-desktop.org/releases/1.22/%{name}-%{version}.tar.xz
14# Source0-md5: dd21547d3cf248f9c3f3d79eb1bddb3b
baa77069 15URL: http://mate-desktop.org/
7851a49c 16%{?with_caja:BuildRequires: caja-devel >= 1.17.1}
baa77069
JB
17BuildRequires: dbus-glib-devel
18BuildRequires: docbook-dtd412-xml
32edb798 19BuildRequires: gettext-tools >= 0.10.40
89c73782
JP
20BuildRequires: glib2-devel >= 1:2.50.0
21BuildRequires: gtk+3-devel >= 3.22
baa77069 22BuildRequires: intltool >= 0.35.0
7851a49c 23BuildRequires: libcanberra-gtk3-devel
baa77069
JB
24BuildRequires: libnotify-devel >= 0.7.0
25BuildRequires: libselinux-devel
baa77069 26%{?with_bluetooth:BuildRequires: mate-bluetooth-devel >= 1.2.0}
baa77069
JB
27BuildRequires: pkgconfig
28BuildRequires: rpmbuild(find_lang) >= 1.36
42329b96 29BuildRequires: yelp-tools
89c73782 30Requires(post,postun): glib2 >= 1:2.50.0
baa77069
JB
31Requires(post,postun): gtk-update-icon-cache
32Requires: apache >= 2.2
33Requires: apache-mod_auth_digest >= 2.2
34Requires: apache-mod_authn_file >= 2.2
35Requires: apache-mod_authz_groupfile >= 2.2
36Requires: apache-mod_authz_user >= 2.2
37Requires: apache-mod_dav >= 2.2
38Requires: apache-mod_dnssd >= 0.6
81e06a96 39Requires: glib2 >= 1:2.50.0
89c73782 40Requires: gtk+3 >= 3.22
baa77069
JB
41Requires: libnotify >= 0.7.0
42%{?with_bluetooth:Requires: mate-bluetooth-libs >= 1.2.0}
43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45%description
46mate-user-share is a small package that binds together various free
47software projects to bring easy to use user-level file sharing to the
48masses.
49
50%description -l pl.UTF-8
51mate-user-share to mały pakiet, łączący kilka wolnodostępnych
52projektów, aby zapewnić łatwy sposób współdzielenia plików na poziomie
53użytkownika dostępny dla każdego.
54
26b971b4 55%package -n caja-extension-user-share
baa77069
JB
56Summary: Share extension for Caja (MATE file manager)
57Summary(pl.UTF-8): Rozszerzenie współdzielenia plików dla zarządcy plików Caja
58Group: X11/Applications
59Requires: %{name} = %{version}-%{release}
7851a49c 60Requires: caja >= 1.17.1
baa77069 61
26b971b4 62%description -n caja-extension-user-share
baa77069
JB
63Share (user-level file sharing) extension for Caja (MATE file
64manager).
65
26b971b4 66%description -n caja-extension-user-share -l pl.UTF-8
baa77069
JB
67Rozszerzenie share (pozwalające na współdzielenie plików na poziomie
68użytkownika) dla zarządcy plików Caja, przeznaczonego dla środowiska
69MATE.
70
71%prep
72%setup -q
73
74%build
75%configure \
76 %{!?with_bluetooth:--disable-bluetooth} \
77 --disable-schemas-compile \
78 --disable-silent-rules \
79 --with-httpd=/usr/sbin/httpd \
80 --with-modules-path=/etc/httpd/modules
81
82%{__make}
83
84%install
85rm -rf $RPM_BUILD_ROOT
86%{__make} install \
87 DESTDIR=$RPM_BUILD_ROOT
88
89%if %{with caja}
90%{__rm} $RPM_BUILD_ROOT%{_libdir}/caja/extensions-2.0/*.la
91%endif
92
2dff534d 93%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,jv,ku_IQ,nah,nqo,pms,ur_PK}
baa77069 94
42329b96 95%find_lang %{name} --with-mate
baa77069
JB
96
97%clean
98rm -rf $RPM_BUILD_ROOT
99
100%post
101%glib_compile_schemas
102%update_icon_cache hicolor
103
104%postun
105%glib_compile_schemas
106%update_icon_cache hicolor
107
108%files -f %{name}.lang
109%defattr(644,root,root,755)
110%doc ChangeLog NEWS README
111%attr(755,root,root) %{_bindir}/mate-file-share-properties
112%attr(755,root,root) %{_libexecdir}/mate-user-share
113/etc/xdg/autostart/mate-user-share-obexftp.desktop
114/etc/xdg/autostart/mate-user-share-obexpush.desktop
115/etc/xdg/autostart/mate-user-share-webdav.desktop
116%{_datadir}/glib-2.0/schemas/org.mate.FileSharing.gschema.xml
117%{_datadir}/mate-user-share
118%{_desktopdir}/mate-user-share-properties.desktop
119%{_iconsdir}/hicolor/*x*/apps/mate-obex-server.png
120%{_mandir}/man1/mate-file-share-properties.1*
121
122%if %{with caja}
26b971b4 123%files -n caja-extension-user-share
baa77069 124%defattr(644,root,root,755)
2ee73eca
JB
125%attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-user-share.so
126%{_datadir}/caja/extensions/libcaja-user-share.caja-extension
baa77069 127%endif
This page took 0.096322 seconds and 4 git commands to generate.