]> git.pld-linux.org Git - packages/acerhkgui.git/commitdiff
- initial PLD release (0.7x got nothing valuable and are redistributed in packages...
authorTomasz Pala <gotar@pld-linux.org>
Sat, 11 Jun 2011 20:42:35 +0000 (20:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acerhkgui.spec -> 1.1

acerhkgui.spec [new file with mode: 0644]

diff --git a/acerhkgui.spec b/acerhkgui.spec
new file mode 100644 (file)
index 0000000..294cd9d
--- /dev/null
@@ -0,0 +1,41 @@
+Summary:       Wifi and Bluetooth hardware switch GUI
+Name:          acerhkgui
+Version:       0.6
+Release:       1
+License:       GPL v2
+Group:         Networking
+Source0:       http://dl.sourceforge.net/acerhkgui/%{name}-%{version}.zip
+# Source0-md5: 1aeb6918fb5c1583bc1585538f797234
+URL:           http://sourceforge.net/projects/acerhkgui/
+BuildRequires: rpm-pythonprov
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+AcerHK GUI enables the user to pass commands to the wireless
+and bluetooth radios on Acer (TM) tablets that utilize the
+AcerHK driver. It requires the acerhk.ko modules to be
+installed.
+
+%prep
+%setup -q -n %{name}
+sed -e -e '1s|env python|python|' -e "s|~/bin/acerhkgui/|%{_datadir}/%{name}/|" -i acerhkgui
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
+
+install acerhkgui $RPM_BUILD_ROOT%{_bindir}
+cp -a *.glade *.png $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a acerhkgui.desktop $RPM_BUILD_ROOT%{_desktopdir}
+cp -a AcerHK.png $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.txt
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/*.png
This page took 0.06415 seconds and 4 git commands to generate.