From 49f310a3bab0168310d99a23cfcd4a7d9da289b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Tue, 13 May 2003 14:11:05 +0000 Subject: [PATCH] - initial release - graphical administration interface for asterisk Changed files: gastman.spec -> 1.1 --- gastman.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 gastman.spec diff --git a/gastman.spec b/gastman.spec new file mode 100644 index 0000000..25d98e0 --- /dev/null +++ b/gastman.spec @@ -0,0 +1,43 @@ +# TODO: +# - desktop file (vfolder? how to make it?) +Summary: Gtk ASTerisk MANager +Name: gastman +Version: 0.2.1 +Release: 1 +License: GPL +Group: X11/Applications +Source0: ftp://ftp.asterisk.org/pub/telephony/%{name}/%{name}-%{version}.tar.gz +Patch0: %{name}-DESTDIR.patch +URL: http://www.asterisk.org/ +BuildRequires: gtk+-devel >= 1.0.6 +Requires: asterisk +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _gastmandir /usr/share/gastman + +%description +Gtk ASTerisk MANager + +%prep +%setup -q +%patch0 -p1 + +%build +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + SBINDIR=%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/%{name} +%dir %{_gastmandir} +%dir %{_gastmandir}/icons +%{_gastmandir}/icons/*.xpm -- 2.44.0