From 6f0340f3c0bc86d8fee1cd77c432ad241d78ab35 Mon Sep 17 00:00:00 2001 From: Alexey Lubimov Date: Jun 06 2008 16:04:15 +0000 Subject: init rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..120115d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +tktray1.1.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..3f556fc --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +tktray-1_1-4_fc9:HEAD:tktray-1.1-4.fc9.src.rpm:1212768273 diff --git a/sources b/sources index e69de29..e9f559f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d033dd0cf47cb6205364868455e01394 tktray1.1.tar.gz diff --git a/tktray.spec b/tktray.spec new file mode 100644 index 0000000..3c130e4 --- /dev/null +++ b/tktray.spec @@ -0,0 +1,58 @@ +%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)} +%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}} + +Summary: System Tray Icon Support for Tk on X11 +Name: tktray +Version: 1.1 +Release: 4%{?dist} +URL: http://www.sw4me.com/wiki/Tktray +Source0: http://www.sw4me.com/%{name}%{version}.tar.gz +License: MIT +Group: Applications/System +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: tk-devel,tcl-devel +BuildRequires: libXext-devel, libX11-devel + +Requires: tk,tcl +Requires: tcl(abi) = 8.5 + +%description +Tktray is an extension that is able to create system tray icons. +It follows http://www.freedesktop.org specifications when looking +up the system tray manager. + +%prep + +%setup -q -n %{name}%{version} + +chmod 0644 ChangeLog license.terms doc/* + +%build + +%configure --libdir=%{tcl_sitearch} \ + --with-tcl=%{_libdir} \ + --with-tk=%{_libdir} + +make %{?_smp_mflags} CFLAGS_DEFAULT="" CFLAGS_WARNING="-Wall" + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install + + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc ChangeLog license.terms doc/tktray.html +%{tcl_sitearch}/%{name}%{version} +%{_mandir}/*/* + +%changelog +* Thu Jun 5 2008 Alexey Lubimov - 1.1-4 +- fix spec follow https://bugzilla.redhat.com/show_bug.cgi?id=446978 + +* Fri May 16 2008 Alexey Lubimov - 1.1-1 +- init rpm +