diff options
Diffstat (limited to 'packaging/ug-nfc-efl.spec')
-rw-r--r-- | packaging/ug-nfc-efl.spec | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/packaging/ug-nfc-efl.spec b/packaging/ug-nfc-efl.spec index 188c5a5..17dbf24 100644 --- a/packaging/ug-nfc-efl.spec +++ b/packaging/ug-nfc-efl.spec @@ -6,8 +6,8 @@ Name: ug-nfc-efl Summary: UI gadget about the nfc Version: 0.0.8 Release: 0 -Group: TO_BE/FILLED_IN -License: Flora Software License +Group: Applications/Network +License: Flora Source0: %{name}-%{version}.tar.gz Source1: libug-setting-nfc-efl.install.in Source2: libug-share-nfc-efl.install.in @@ -26,9 +26,6 @@ BuildRequires: cmake BuildRequires: edje-tools BuildRequires: gettext-tools -Requires(post): /sbin/ldconfig -Requires(post): /usr/bin/vconftool -Requires(postun): /sbin/ldconfig %description UI gadget about the nfc @@ -38,7 +35,6 @@ UI gadget about the nfc %package devel Summary: ug for nfc setting -Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel @@ -46,9 +42,6 @@ ug for nfc setting %package -n ug-share-nfc-efl Summary: ug for nfc share -Group: Development/Libraries -Requires(post): /sbin/ldconfig -Requires(post): /usr/bin/vconftool Requires: %{name} = %{version}-%{release} %description -n ug-share-nfc-efl @@ -58,43 +51,42 @@ ug for nfc share %build mkdir cmake_tmp cd cmake_tmp -cmake .. -DCMAKE_INSTALL_PREFIX=%{_ugdir} +%cmake .. -DCMAKE_INSTALL_PREFIX=%{_ugdir} make %{?jobs:-j%jobs} %install cd cmake_tmp -rm -rf %{buildroot} %make_install cd .. -mkdir -p %{buildroot}/usr/share/license mkdir -p %{buildroot}/etc/config/nfc/ -cp -af LICENSE.Flora %{buildroot}/usr/share/license/ug-nfc-efl -cp -af LICENSE.Flora %{buildroot}/usr/share/license/ug-share-nfc-efl -%post +%find_lang ug-setting-nfc-efl +%find_lang ug-share-nfc-efl -%post -n ug-share-nfc-efl +%post -p /sbin/ldconfig -%postun +%postun -p /sbin/ldconfig -%files +%post -p /sbin/ldconfig -n ug-share-nfc-efl + +%postun -p /sbin/ldconfig -n ug-share-nfc-efl + +%files -f ug-setting-nfc-efl.lang %manifest ug-nfc-efl.manifest %defattr(-,root,root,-) /usr/ug/lib/libug-setting-nfc-efl* -/usr/ug/res/locale/*/LC_MESSAGES/ug-setting-nfc-efl* /usr/ug/res/icons/* /etc/smack/accesses2.d/ug.setting-nfc-efl.include -/usr/share/license/ug-nfc-efl +%license LICENSE.Flora -%files -n ug-share-nfc-efl -%manifest ug-nfc-efl.manifest +%files -n ug-share-nfc-efl -f ug-share-nfc-efl.lang %defattr(-,root,root,-) +%manifest ug-nfc-efl.manifest +%license LICENSE.Flora /usr/ug/lib/libug-share-nfc-efl* -/usr/ug/res/locale/*/LC_MESSAGES/ug-share-nfc-efl* /usr/ug/res/images/* /usr/ug/res/edje/* -/usr/share/license/ug-share-nfc-efl /etc/smack/accesses2.d/ug.share-nfc-efl.include /etc/config/nfc/* |