BuildRequires: pkgconfig(xdgmime)
BuildRequires: pkgconfig(libtzplatform-config)
Provides: libail = %{version}-%{release}
-Requires: libcap-tools
+Requires(post): libcap-tools
%description
Application Information Library package
Summary: Application Information Library Development files
Requires: libail = %{version}-%{release}
Requires: pkgconfig(libtzplatform-config)
-Requires: pkgconfig(libsmack)
+Requires: pkgconfig(libsmack)
%description devel
Application Information Library Development files package
cp %{SOURCE1001} .
%build
-CFLAGS+=" -fpic"
+CFLAGS="$CFLAGS -fpic"
%if 0%{?tizen_build_binary_release_type_eng}
export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
%endif
%cmake . -DTZ_SYS_RW_DESKTOP_APP=%TZ_SYS_RW_DESKTOP_APP \
- -DBUILD_PKGTYPE=rpm \
- -DSMACK=Off
+ -DBUILD_PKGTYPE=rpm
%__make %{?_smp_mflags}
# Create tizenglobalapp user needed for global installation
useradd -d %TZ_SYS_RW_APP -m %TZ_SYS_GLOBALAPP_USER -r -c "system user for common applications" -g root
-#mkdir -p %TZ_SYS_RW_APP/.config/xwalk-service/applications
-#cd %TZ_SYS_RW_APP/
+#mkdir -p %%TZ_SYS_RW_APP/.config/xwalk-service/applications
+#cd %%TZ_SYS_RW_APP/
#ln -s .config/xwalk-service/applications/
vconftool set -t string db/ail/ail_info "0" -f -s system::vconf_inhouse
mkdir -p %{TZ_SYS_RW_DESKTOP_APP}
mkdir -p %{TZ_SYS_RW_APP}
mkdir -p %{TZ_SYS_DB}
+mkdir -p %{TZ_SYS_RW_ICONS}/default/small
chsmack -a '*' %{TZ_SYS_DB}
chsmack -a '*' %{TZ_SYS_RW_APP}
chsmack -a '*' %{TZ_SYS_RW_DESKTOP_APP}
chsmack -a '*' %{TZ_SYS_RO_DESKTOP_APP}
+chsmack -a '*' %{TZ_SYS_RW_ICONS}
+chsmack -a '*' %{TZ_SYS_RW_ICONS}/default
+chsmack -a '*' %{TZ_SYS_RW_ICONS}/default/small/
chmod g+w %{TZ_SYS_RW_DESKTOP_APP}
chmod g+w %{TZ_SYS_RO_DESKTOP_APP}
chown %TZ_SYS_GLOBALAPP_USER:root %{TZ_SYS_RO_DESKTOP_APP}
chown %TZ_SYS_GLOBALAPP_USER:root %{TZ_SYS_RW_APP}
chown %TZ_SYS_GLOBALAPP_USER:root %{TZ_SYS_DB}
+chown %TZ_SYS_GLOBALAPP_USER:root %{TZ_SYS_DB}
+chown %TZ_SYS_GLOBALAPP_USER:root -R %{TZ_SYS_RW_ICONS}
ail_initdb 2>/dev/null
chsmack -a '*' %{TZ_SYS_DB}/.app_info.db*
-%define baseline 3.12
+%bcond_with introspection
+
+%define baseline 3.11
%define USE_EVOLDAP 0
-%define with_introspection 1
%define enable_goa no
%define enable_uoa no
%define enable_gtk no
%define enable_email no
# should match configure.ac
-%define so_edataserver 18
-%define so_ecal 16
-%define so_edata_cal 23
-%define so_edata_book 20
+%define so_edataserver 17
+%define so_ecal 15
+%define so_edata_cal 20
+%define so_edata_book 17
%define so_ebook 14
-%define so_camel 49
-%define so_ebackend 7
-%define _evo_version 3.12
+%define so_camel 43
+%define so_ebackend 6
+%define _evo_version 3.11
Name: evolution-data-server
-Version: 3.12.2
+Version: 3.11.93
Release: 0
Summary: Evolution Data Server
License: LGPL-2.0+
Url: http://www.gnome.org
Source0: http://download.gnome.org/sources/evolution-data-server/%{baseline}/%{name}-%{version}.tar.xz
Source98: baselibs.conf
+Source1001: evolution-data-server.manifest
+
BuildRequires: db4-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
%if %{?enable_goa} != no
BuildRequires: pkgconfig(goa-1.0) >= 3.2
%endif
+%if %{with introspection}
BuildRequires: pkgconfig(gobject-introspection-1.0)
+%endif
%if %{?enable_gtk} != no
BuildRequires: pkgconfig(gtk+-3.0)
%endif
%endif
BuildRequires: pkgconfig(libical) >= 0.43
BuildRequires: pkgconfig(libsecret-unstable) >= 0.5
-BuildRequires: pkgconfig(libsoup-2.4) >= 2.42
+BuildRequires: pkgconfig(libsoup-2.4) >= 2.40.3
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(python-2.7)
BuildRequires: pkgconfig(sqlite3) >= 3.5
This package contains a shared system library to access address books.
-%if %{?with_introspection}
+%if %{with introspection}
%package -n typelib-EBookContacts
Summary: Evolution Data Server - Address Book Backend Library, Introspection bindings
This package contains a shared system library for address book backends.
-%if %{?with_introspection}
+%if %{with introspection}
%package -n typelib-EBook
Summary: Evolution Data Server - Address Book Backend Library, Introspection bindings
This package contains a shared system library.
-%if %{?with_introspection}
+%if %{with introspection}
%package -n typelib-EDataServer
Summary: Evolution Data Server - Utilities Library, Introspection bindings
Requires: libedata-book = %{version}
Requires: libedata-cal = %{version}
Requires: libedataserver = %{version}
-%if %{?with_introspection}
+%if %{with introspection}
Requires: typelib-EBook = %{version}
Requires: typelib-EDataServer = %{version}
%endif
%prep
%setup -q
+cp %{SOURCE1001} .
%build
# for packaging, so disable it.
%autogen \
- --libexecdir=%{_libexecdir}/evolution-data-server \
- --disable-maintainer-mode \
- --enable-ipv6=%{?enable_ipv6} \
- --enable-smime=%{?enable_smime} \
- --enable-nntp=%{?enable_nntp} \
- --disable-static \
- --disable-uoa \
- --enable-goa=%{?enable_goa} \
- --enable-weather=%{?enable_weather} \
- --enable-gtk=%{?enable_gtk} \
- --enable-google=%{?enable_gdata} \
-%if %{?with_introspection}
- --enable-vala-bindings \
- --enable-introspection \
+ --libexecdir=%{_libexecdir}/evolution-data-server \
+ --disable-maintainer-mode \
+ --enable-ipv6=%{?enable_ipv6} \
+ --enable-smime=%{?enable_smime} \
+ --enable-nntp=%{?enable_nntp} \
+ --disable-static \
+ --disable-uoa \
+ --enable-goa=%{?enable_goa} \
+ --enable-weather=%{?enable_weather} \
+ --enable-gtk=%{?enable_gtk} \
+ --enable-google=%{?enable_gdata} \
+%if %{with introspection}
+ --enable-vala-bindings \
+ --enable-introspection \
%else
- --disable-vala-bindings \
- --disable-introspection \
+ --disable-vala-bindings \
+ --disable-introspection \
%endif
- --disable-examples \
- # end of configure line
+ --disable-examples
-make %{?_smp_mflags} V=1
+%__make %{?_smp_mflags} V=1
%install
%make_install
mkdir -p %{buildroot}/%{_datadir}/help
-%find_lang evolution-data-server-%{_evo_version}
-mv evolution-data-server-%{_evo_version}.lang evolution-data-server.lang
+find %{buildroot} -name evolution-data-server-%{_evo_version}.mo -execdir mv {} evolution-data-server.mo \;
+%find_lang evolution-data-server
%fdupes %{buildroot}
%lang_package
%files
%defattr(-,root,root)
+%manifest %{name}.manifest
%license COPYING
%{_datadir}/GConf/gsettings/evolution-data-server.convert
+%{_datadir}/GConf/gsettings/libedataserver.convert
%{_datadir}/glib-2.0/schemas/org.gnome.Evolution.DefaultSources.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.eds-shell.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.shell.network-config.gschema.xml
%files -n libcamel
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_libdir}/libcamel-1.2.so.%{so_camel}*
%files -n libebackend
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_libdir}/libebackend-1.2.so.%{so_ebackend}*
%files -n libebook
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_libdir}/libebook-1.2.so.%{so_ebook}*
-%if %{?with_introspection}
+%if %{with introspection}
%files -n typelib-EBook
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_libdir}/girepository-1.0/EBook-1.2.typelib
%endif
%files -n libebook-contacts
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_libdir}/libebook-contacts-1.2.so.0*
-%if %{?with_introspection}
+%if %{with introspection}
%files -n typelib-EBookContacts
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_libdir}/girepository-1.0/EBookContacts-1.2.typelib
%endif
%files -n libecal
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_libdir}/libecal-1.2.so.%{so_ecal}*
%files -n libedata-book
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_libdir}/libedata-book-1.2.so.%{so_edata_book}*
%files -n libedata-cal
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_libdir}/libedata-cal-1.2.so.%{so_edata_cal}*
%files -n libedataserver
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_libdir}/libedataserver-1.2.so.%{so_edataserver}*
-%if %{?with_introspection}
+%if %{with introspection}
%files -n typelib-EDataServer
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_libdir}/girepository-1.0/EDataServer-1.2.typelib
%endif
%files devel
%defattr(-, root, root)
+%manifest %{name}.manifest
%{_includedir}/evolution-data-server/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
-%if %{?with_introspection}
+%if %{with introspection}
%{_datadir}/gir-1.0/*.gir
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
Group: Security/Certificate Management
Source: gnupg-%{version}.tar.bz2
Source1001: gpg2.manifest
+
BuildRequires: automake
BuildRequires: expect
BuildRequires: fdupes
PIE="-fpie"
export CFLAGS="%{optflags} ${PIE}"
export LDFLAGS=-pie
+
%reconfigure \
--libexecdir=%{_libdir} \
--docdir=%{_docdir}/%{name} \
--with-scdaemon-pgm=%{_bindir}/scdaemon \
--enable-gpgsm=yes \
--enable-gpg \
- --with-gnu-ld
+ --with-gnu-ld \
+ --disable-doc
%__make %{?_smp_mflags}
-%check
-%if ! 0%{?qemu_user_space_build}
-%__make check
-%{buildroot}%{_bindir}/gpgsplit -v -p pubsplit- --uncompress <tests/openpgp/pubring.gpg
-%{buildroot}%{_bindir}/gpgsplit -v -p secsplit- --secret-to-public --uncompress <tests/openpgp/secring.gpg
-%endif
-
%install
%make_install
mkdir -p %{buildroot}%{_sysconfdir}/gnupg/
ln -sf gpg2 %{buildroot}%{_bindir}/gpg
ln -sf gpgv2 %{buildroot}%{_bindir}/gpgv
-ln -sf gpg2.1 %{buildroot}%{_mandir}/man1/gpg.1
-ln -sf gpgv2.1 %{buildroot}%{_mandir}/man1/gpgv.1
rm -rf %{buildroot}/%{_datadir}/locale/en@{bold,}quot
+rm -rf %{buildroot}/%{_datadir}/locale/en@{bold,}quot
+rm -fr %{buildroot}/%{_datadir}/doc
%find_lang gnupg2
%fdupes %{buildroot}
-
%files -f gnupg2.lang
%manifest %{name}.manifest
%defattr(-,root,root)
%license COPYING.LIB COPYING
-%doc %{_infodir}/gnupg*
-%doc %{_docdir}/%{name}
-%{_mandir}/man*/*
%{_bindir}/*
%{_libdir}/[^d]*
%{_sbindir}/addgnupghome
License: LGPL-2.1
URL: http://git.warmcat.com/cgi-bin/cgit/libwebsockets/
Source0: %{name}-%{version}.tar.bz2
+Source1001: %{name}.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: zlib-devel
%prep
%setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+
%build
%files
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_bindir}/libwebsockets*
%{_libdir}/libwebsockets*.so.*
%{_datadir}/libwebsockets-test-server/*
%files devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/libwebsockets.h
%{_libdir}/libwebsockets.so
%{_libdir}/pkgconfig/*
%define build_tests 1
%define use_session_bus 0
%define systemddir /lib/systemd
+%define daemon_user messageport
+%define daemon_group messageport
+
Name: message-port
Summary: Message port daemon
%post
+getent group %{daemon_group} >/dev/null || %{_sbindir}/groupadd -r -o %{daemon_group}
+getent passwd %{daemon_user} >/dev/null || %{_sbindir}/useradd -r -g %{daemon_group} -s /bin/false -d /run/%{daemon_user} -c "Message Port daemon" %{daemon_user}
+
/bin/systemctl enable messageportd.service
%postun
--- /dev/null
+%define baseline 0.24
+%define vala_version 0.24
+%define vala_libversion 0_24
+%define vala_priority 24
+
+
+Name: vala
+Version: 0.24.0
+Release: 0
+Summary: Programming language for GNOME
+License: LGPL-2.0
+Group: Development/Gnome
+Url: http://live.gnome.org/Vala
+Source0: http://download.gnome.org/sources/vala/%{baseline}/%{name}-%{version}.tar.xz
+BuildRequires: bison
+BuildRequires: fdupes
+BuildRequires: flex
+BuildRequires: glib2-devel >= 2.18.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+BuildRequires: xz
+
+
+%description
+Vala is a new programming language that aims to bring modern
+programming language features to GNOME developers without imposing any
+additional runtime requirements and without using a different ABI
+compared to applications and libraries written in C.
+
+
+%package -n libvala
+Summary: Programming language for GNOME
+Group: System/Libraries
+
+%description -n libvala
+Vala is a new programming language that aims to bring modern
+programming language features to GNOME developers without imposing any
+additional runtime requirements and without using a different ABI
+compared to applications and libraries written in C.
+
+
+%package -n libvala-devel
+Summary: Programming language for GNOME
+Group: Development/Gnome
+Requires: libvala = %{version}
+
+%description -n libvala-devel
+Vala is a new programming language that aims to bring modern
+programming language features to GNOME developers without imposing any
+additional runtime requirements and without using a different ABI
+compared to applications and libraries written in C.
+
+%prep
+%setup -q
+
+%build
+%configure --with-pic --enable-vapigen
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+%fdupes %{buildroot}%{_datadir}
+
+%clean
+rm -rf %{buildroot}
+
+%post
+update-alternatives \
+ --install %{_bindir}/vala vala %{_bindir}/vala-%{vala_version} \
+ %{vala_priority} \
+ --slave %{_bindir}/valac valac %{_bindir}/valac-%{vala_version} \
+ --slave %{_bindir}/vala-gen-introspect vala-gen-introspect %{_bindir}/vala-gen-introspect-%{vala_version} \
+ --slave %{_bindir}/vapicheck vapicheck %{_bindir}/vapicheck-%{vala_version} \
+ --slave %{_bindir}/vapigen vapigen %{_bindir}/vapigen-%{vala_version} \
+ --slave %{_mandir}/man1/valac.1.gz valac.1.gz %{_mandir}/man1/valac-%{vala_version}.1.gz \
+ --slave %{_mandir}/man1/vala-gen-introspect.1.gz vala-gen-introspect.1.gz %{_mandir}/man1/vala-gen-introspect-%{vala_version}.1.gz \
+ --slave %{_mandir}/man1/vapigen.1.gz vapigen.1.gz %{_mandir}/man1/vapigen-%{vala_version}.1.gz \
+ --slave %{_datadir}/pkgconfig/vapigen.pc vapigen.pc %{_datadir}/pkgconfig/vapigen-%{vala_version}.pc
+
+%postun
+# Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed
+if [ ! -f %{_bindir}/vala-%{vala_version} ]; then
+ update-alternatives --remove vala %{_bindir}/vala-%{vala_version}
+fi
+
+%post -n libvala -p /sbin/ldconfig
+
+%postun -n libvala -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%license COPYING
+%ghost %{_bindir}/vala
+%ghost %{_bindir}/valac
+%ghost %{_bindir}/vala-gen-introspect
+%ghost %{_bindir}/vapicheck
+%ghost %{_bindir}/vapigen
+%ghost %{_mandir}/man1/valac.1*
+%ghost %{_mandir}/man1/vala-gen-introspect.1*
+%ghost %{_mandir}/man1/vapigen.1*
+%ghost %{_datadir}/pkgconfig/vapigen.pc
+%{_bindir}/vala-%{vala_version}
+%{_bindir}/valac-%{vala_version}
+%{_bindir}/vala-gen-introspect-%{vala_version}
+%{_bindir}/vapicheck-%{vala_version}
+%{_bindir}/vapigen-%{vala_version}
+%{_mandir}/man1/valac-%{vala_version}.1*
+%{_mandir}/man1/vala-gen-introspect-%{vala_version}.1*
+%{_mandir}/man1/vapigen-%{vala_version}.1*
+%{_datadir}/aclocal/vala.m4
+%{_datadir}/aclocal/vapigen.m4
+%{_datadir}/pkgconfig/vapigen-%{vala_version}.pc
+%dir %{_datadir}/vala
+%{_datadir}/vala/Makefile.vapigen
+%{_datadir}/vala-%{vala_version}/
+%{_libdir}/vala-%{vala_version}/
+
+%files -n libvala
+%defattr(-,root,root,-)
+%{_libdir}/libvala-%{vala_version}.so.*
+
+%files -n libvala-devel
+%doc AUTHORS ChangeLog NEWS README
+%defattr(-,root,root,-)
+%{_includedir}/vala-%{vala_version}/
+%{_libdir}/libvala-%{vala_version}.so
+%{_libdir}/pkgconfig/libvala-%{vala_version}.pc