diff options
author | Javier <maemo@javispedro.com> | 2014-05-12 16:10:27 +0200 |
---|---|---|
committer | Javier <maemo@javispedro.com> | 2014-05-12 16:10:27 +0200 |
commit | 20cbd1f5e6e459336c7f00299b9f43c3e1c5b581 (patch) | |
tree | c5d67164eb78a06fcf31945966241bfb1f64c8ab /rpm | |
parent | c43c64e85b0f6d08d29d3afa38033483d4dd7697 (diff) | |
download | libgato-20cbd1f5e6e459336c7f00299b9f43c3e1c5b581.tar.gz libgato-20cbd1f5e6e459336c7f00299b9f43c3e1c5b581.zip |
add rpm/sailfish packaging
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/libgato.spec | 79 | ||||
-rw-r--r-- | rpm/libgato.yaml | 20 |
2 files changed, 99 insertions, 0 deletions
diff --git a/rpm/libgato.spec b/rpm/libgato.spec new file mode 100644 index 0000000..bf1add9 --- /dev/null +++ b/rpm/libgato.spec @@ -0,0 +1,79 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.27 +# + +Name: libgato + +# >> macros +# << macros + +%{!?qtc_qmake:%define qtc_qmake %qmake} +%{!?qtc_qmake5:%define qtc_qmake5 %qmake5} +%{!?qtc_make:%define qtc_make make} +%{?qtc_builddir:%define _builddir %qtc_builddir} +Summary: A GATT library to connect with Bluetooth Smart devices +Version: 0.1 +Release: 1 +Group: Qt/Qt +License: GPL2 +URL: https://gitorious.org/gato/ +Source0: %{name}-%{version}.tar.bz2 +Source100: libgato.yaml +BuildRequires: pkgconfig(sailfishapp) >= 0.0.10 +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(bluez) + +%description +Gato is a library implementing a GATT/ATT client (central) designed to connect +Qt programs with Bluetooth Smart (also known as Low Energy) devices. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development files for %{name}. + +%prep +%setup -q -n %{name}-%{version} + +# >> setup +# << setup + +%build +# >> build pre +# << build pre + +%qtc_qmake5 + +%qtc_make %{?_smp_mflags} + +# >> build post +# << build post + +%install +rm -rf %{buildroot} +# >> install pre +# << install pre +%qmake5_install + +# >> install post +# << install post + +%files +%defattr(-,root,root,-) +# >> files +%{_libdir}/libgato.so.1 +%{_libdir}/libgato.so.1.0 +%{_libdir}/libgato.so.1.0.0 +# << files + +%files devel +%defattr(-,root,root,-) +# >> files devel +%{_includedir}/gato +%{_libdir}/libgato.so +# << files devel diff --git a/rpm/libgato.yaml b/rpm/libgato.yaml new file mode 100644 index 0000000..d861992 --- /dev/null +++ b/rpm/libgato.yaml @@ -0,0 +1,20 @@ +Name: libgato +Summary: A GATT library to connect with Bluetooth Smart devices +Version: 0.1 +Release: 1 +Group: Qt/Qt +URL: https://gitorious.org/gato/ +License: GPL2 +Sources: +- '%{name}-%{version}.tar.bz2' +Description: | + Gato is a library implementing a GATT/ATT client (central) designed to connect + Qt programs with Bluetooth Smart (also known as Low Energy) devices. +Configure: none +Builder: qtc5 +PkgConfigBR: +- sailfishapp >= 0.0.10 +- Qt5Core +- bluez +AutoSubPackages: +- devel |