Author: tpg
Date: Fri Feb 9 06:28:32 2007
New Revision: 118317
Added:
packages/cooker/gaim-tlen/current/SOURCES/gaim-tlen-20070203.tar.gz
(contents, props changed)
Removed:
packages/cooker/gaim-tlen/current/SOURCES/gaim-tlen-20061112.tar.gz
Modified:
packages/cooker/gaim-tlen/current/SPECS/gaim-tlen.spec
Log:
- new version
- fix versioning
- fix url
- spec file clean
Added: packages/cooker/gaim-tlen/current/SOURCES/gaim-tlen-20070203.tar.gz
==============================================================================
Binary file. No diff available.
Modified: packages/cooker/gaim-tlen/current/SPECS/gaim-tlen.spec
==============================================================================
--- packages/cooker/gaim-tlen/current/SPECS/gaim-tlen.spec (original)
+++ packages/cooker/gaim-tlen/current/SPECS/gaim-tlen.spec Fri Feb 9
06:28:32 2007
@@ -1,33 +1,38 @@
+%define _prel 20070203
+
Summary: Tlen.pl protocol plugin for Gaim
Name: gaim-tlen
-Version: 20061112
-Release: %mkrel 1
+Version: 0.0
+Release: %mkrel 0.%{_prel}.1
License: GPL
Group: Networking/Instant messaging
-Url: http://nic.com.pl/~alek/gaim-tlen/
-Source0: http://nic.com.pl/~alek/gaim-tlen/gaim-tlen-%{version}.tar.gz
+Url: http://nic.com.pl/~alek/
+Source0: http://nic.com.pl/~alek/gaim-tlen/%{name}-%{_prel}.tar.gz
Patch0: %{name}-makefile.patch
BuildRequires: libgaim-devel
#BuildRequires: libtlen-devel
-Requires: gaim >= 2.0.0-2.beta5
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Requires: gaim >= 2.0.0-2.beta6
+BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
Tlen.pl is a popular IM protocol in Poland, this plugin provides it's
port into Gaim.
%prep
-%setup -qn %{name}-%{version}
+%setup -qn %{name}-%{_prel}
%patch0 -p1 -b .%{name}-makefile
%build
%make
+
%install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}%{_libdir}/gaim/
-mkdir -p %{buildroot}%{_datadir}/pixmaps/gaim/status/default/
+[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
+
+mkdir -p %{buildroot}%{_libdir}/gaim
+mkdir -p %{buildroot}%{_datadir}/pixmaps/gaim/status/default
install libtlen.so %{buildroot}%{_libdir}/gaim/
install tlen.png %{buildroot}%{_datadir}/pixmaps/gaim/status/default/
+
%makeinstall
%clean