spec: added rpm build. tested on tizen.

This commit is contained in:
Daniel Juyung Seo 2013-02-01 14:36:07 +09:00
parent 6216cf5465
commit 5b11446514
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,2 @@
<manifest>
</manifest>

View File

@ -0,0 +1,42 @@
Name: elm-theme-viewer
Summary: elementary theme previewer
Version: 0.1
Release: 1
Group: Utility
License: BSD
URL: https://github.com/seoz/elm-theme-viewer
Source0: %{name}-%{version}.tar.gz
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(eina)
BuildRequires: pkgconfig(ecore)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(edje)
BuildRequires: pkgconfig(elementary)
BuildRequires: edje-tools
%description
Elm Theme Viewer - EFL(Enlightenment Foundation Libraries) elementary widget preview program.
%prep
%setup -q
%build
export CFLAGS+=" -fPIC -Wall -g"
export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
%autogen
%configure
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
%files
%defattr(-,root,root,-)
%manifest %{name}.manifest
/usr/bin/elm_theme_viewer
/usr/share/elm-theme-viewer/images
/usr/share/elm-theme-viewer/themes