-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Name: Chroma | ||
Summary: An application for controlling Philips hue lights | ||
Version: 1.0 | ||
Release: 1%{?dist} | ||
Group: Applications/Web Applications | ||
License: GPL-3.0 | ||
URL: http://www.tizen.org2 | ||
Source: %{name}-%{version}.tar.gz | ||
|
||
BuildRequires: xmllint | ||
BuildRequires: zip | ||
|
||
%global wgtdir %{_datadir}/wgt | ||
|
||
%description | ||
Chroma is a Tizen web application that allows for controlling features of the | ||
Philips hue light collection. | ||
|
||
%prep | ||
%autosetup | ||
|
||
%build | ||
./autogen.sh | ||
%configure | ||
make %{?_smp_mflags} | ||
|
||
%install | ||
%make_install | ||
|
||
%post | ||
su app -c "pkgcmd -i -t wgt -p %{_wgtdir}/Chroma.wgt -q" | ||
|
||
%preun | ||
su app -c "pkgcmd -u -n Chroma -q" | ||
|
||
%files | ||
%defattr(-,root,root,-) | ||
%doc README.md | ||
%license COPYING | ||
%{_wgtdir}/Chroma.wgt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters