From 359b8270d1aebe325ccea345c59564d70158e9dd Mon Sep 17 00:00:00 2001
From: llea <llea>
Date: Tue, 18 Jan 2005 21:59:02 +0000
Subject: [PATCH] Add .spec file to build rpm

---
 sflphone.spec | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 sflphone.spec

diff --git a/sflphone.spec b/sflphone.spec
new file mode 100644
index 0000000000..62a838684d
--- /dev/null
+++ b/sflphone.spec
@@ -0,0 +1,40 @@
+%define name sflphone
+%define version 0.1
+%define release 1
+%define prefix /usr
+Autoreq: 0
+
+Name:		%name
+Summary:	An other VoIP client
+Version:	%version
+Release:	%release
+Copyright:	GPL
+Group:		Networking/Utilities
+URL:		http://www.sflphone.org
+Packager:	Cyrille Béraud <cyrille.beraud@savoirfairelinux.com>
+Source:		http://www.sflphone.org/sflphone-0.1.tar.gz
+BuildRoot:	/tmp/sflphone-%{version}-%{release}
+
+%description
+SFLPhone is a VoIP client for a X11 environment.
+%prep
+%setup
+CXXFLAGS="$RPM_OPT_FLAGS" ./configure -prefix %{prefix}
+
+%build
+make
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-, root, root)
+%{prefix}/bin/sflphone
+%dir %{prefix}/share/sflphone/skins
+%{prefix}/share/sflphone/skins/*
+%dir %{prefix}/share/sflphone/pixmaps
+%{prefix}/share/sflphone/pixmaps/*
+
-- 
GitLab