upload tizen1.0 source
[profile/ivi/obexd.git] / packaging / obexd.spec
index 245f399..0e37697 100644 (file)
@@ -1,10 +1,9 @@
-
 Name:       obexd
 Summary:    OBEX Server A basic OBEX server implementation
-Version:    0.40
+Version:    0.44
 Release:    1
 Group:      TO_BE/FILLED_IN
-License:    TO BE FILLED IN
+License:    GPL-2.0
 Source0:    obexd-%{version}.tar.gz
 BuildRequires:  pkgconfig(bluez) 
 BuildRequires:  pkgconfig(dbus-1)
@@ -16,14 +15,12 @@ BuildRequires:  pkgconfig(dbus-glib-1)
 OBEX Server A basic OBEX server implementation.
 
 
-
-
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
 
 
 %build
-export CFLAGS+="   -DDEBUG -DTIZEN_PATCH"
+export CFLAGS+=" -DDEBUG -DTIZEN_PATCH -DOPENSOURCE_PATCH"
 chmod +x bootstrap
 ./bootstrap && \
     ./configure \
@@ -34,17 +31,16 @@ chmod +x bootstrap
                 --mandir=/usr/share/man \
                 --sysconfdir=/etc \
                --with-phonebook=tizen \
-               --with-message=tizen
+               --with-messages=tizen
 make %{?jobs:-j%jobs}
 
+
 %install
-rm -rf %{buildroot}
 %make_install
 
+
 %files
 /usr/lib/obex/obex-client
 /usr/lib/obex/obexd
 /usr/share/dbus-1/services/obex-client.service
 /usr/share/dbus-1/services/obexd.service
-
-