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