diff --git a/README.md b/README.md index 99bd28b..51f65c6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # freepops +FreePOPs is an easily extensible program, which allows access to the most varied resources through the POP3 protocol. Mainly, it can be used to download mail from the most famous webmails, but it could also be used as an aggregator for RSS feeds and much more. This way it is possible to get all your messages in your favorite email client. + diff --git a/freepops-0.2.9-curl_authopt-meta.patch b/freepops-0.2.9-curl_authopt-meta.patch new file mode 100644 index 0000000..54d8f47 --- /dev/null +++ b/freepops-0.2.9-curl_authopt-meta.patch @@ -0,0 +1,36 @@ +--- freepops-0.2.9/modules/src/luacurl/lua-curl-0.3.0.diff.orig 2011-08-20 22:45:15.625466196 +0300 ++++ freepops-0.2.9/modules/src/luacurl/lua-curl-0.3.0.diff 2011-08-20 22:45:20.838472182 +0300 +@@ -1,6 +1,5 @@ +-diff -ruN lua-curl-0.3.0-orig/find_curl.sh lua-curl-0.3.0/find_curl.sh +---- lua-curl-0.3.0-orig/find_curl.sh 1970-01-01 01:00:00.000000000 +0100 +-+++ lua-curl-0.3.0/find_curl.sh 2008-10-25 17:27:40.000000000 +0200 ++--- lua-curl-0.3.0/find_curl.sh.orig 2011-08-20 22:43:25.824339763 +0300 +++++ lua-curl-0.3.0/find_curl.sh 2011-08-20 22:43:25.824339763 +0300 + @@ -0,0 +1,31 @@ + +#!/bin/bash + + +@@ -33,9 +32,8 @@ + + fi + + + +fi +-diff -ruN lua-curl-0.3.0-orig/Makefile lua-curl-0.3.0/Makefile +---- lua-curl-0.3.0-orig/Makefile 2008-10-25 17:26:26.000000000 +0200 +-+++ lua-curl-0.3.0/Makefile 2008-10-25 17:27:48.000000000 +0200 ++--- lua-curl-0.3.0/Makefile.orig 2008-10-25 17:26:26.000000000 +0200 +++++ lua-curl-0.3.0/Makefile 2011-08-20 22:44:12.739393860 +0300 + @@ -1,110 +1,35 @@ + -# TODO: support for abi&libtool, installation of lua-curl.h + +include $(CONFIG) +@@ -177,3 +175,12 @@ + + # Constants genereated starting from the cURL headers: + ++@@ -120,7 +45,7 @@ ++ ++ curl_authopt.h:$(HEADER) ++ $(H)cat $(HEADER) | grep "CURLAUTH_" | \ ++- sed "s/#define *CURL/{\"/" | sed "s/ *\/\*.*\*\///" | \ +++ sed "s/#define *CURL/{\"/" | sed "s/ *\/\*.*\*\///" | sed "s/ *\/\*.*//" | \ ++ sed "s/ /\",/" | sed "s/$$/},/" > curl_authopt.h ++ ++ curl_ftpauthopt.h:$(HEADER) diff --git a/freepops-0.2.9-lua-curl.patch b/freepops-0.2.9-lua-curl.patch new file mode 100644 index 0000000..8d5b359 --- /dev/null +++ b/freepops-0.2.9-lua-curl.patch @@ -0,0 +1,13 @@ +diff -Nru freepops-0.2.9.orig/modules/src/luacurl/lua-curl-0.3.0.diff freepops-0.2.9/modules/src/luacurl/lua-curl-0.3.0.diff +--- freepops-0.2.9.orig/modules/src/luacurl/lua-curl-0.3.0.diff 2013-07-12 09:14:01.823190389 +0200 ++++ freepops-0.2.9/modules/src/luacurl/lua-curl-0.3.0.diff 2013-07-12 11:48:38.611825045 +0200 +@@ -178,7 +178,8 @@ + @@ -120,7 +45,7 @@ + + curl_authopt.h:$(HEADER) +- $(H)cat $(HEADER) | grep "CURLAUTH_" | \ ++- $(H)cat $(HEADER) | grep "CURLAUTH_" | \ +++ $(H)cat $(HEADER) | grep "define *CURLAUTH_" | \ + - sed "s/#define *CURL/{\"/" | sed "s/ *\/\*.*\*\///" | \ + + sed "s/#define *CURL/{\"/" | sed "s/ *\/\*.*\*\///" | sed "s/ *\/\*.*//" | \ + sed "s/ /\",/" | sed "s/$$/},/" > curl_authopt.h diff --git a/freepops.spec b/freepops.spec new file mode 100644 index 0000000..0317857 --- /dev/null +++ b/freepops.spec @@ -0,0 +1,67 @@ +Name: freepops +Version: 0.2.9 +Release: 2mamba +Summary: FreePOPs is a POP3 fetcher for variuos webmail services +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: http://www.freepops.org +Source: http://downloads.sourceforge.net/sourceforge/freepops/freepops-%{version}.tar.gz +Patch0: freepops-0.2.9-curl_authopt-meta.patch +Patch1: freepops-0.2.9-lua-curl.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libcurl-devel +BuildRequires: libexpat-devel +BuildRequires: liblua51-devel +BuildRequires: libopenssl-devel +BuildRequires: libreadline-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +FreePOPs is an easily extensible program, which allows access to the most varied resources through the POP3 protocol. Mainly, it can be used to download mail from the most famous webmails, but it could also be used as an aggregator for RSS feeds and much more. This way it is possible to get all your messages in your favorite email client. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 + +%build +./configure.sh linux-slack -lua +make all + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +#%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/freepops-updater-dialog +%{_bindir}/freepops-updater-zenity +%{_bindir}/freepopsd +%{_docdir}/freepops/MANUAL.txt +%{_datadir}/freepops/lua/*.lua +%{_datadir}/freepops/lua/browser/*.lua +%{_datadir}/freepops/lua/soap/*.lua +%{_datadir}/freepops/lua/lxp/*.lua +%{_mandir}/man1/*.gz +%doc AUTHORS COPYING +#%doc ChangeLog README README.modules TODO + +%changelog +* Fri Jul 12 2013 Automatic Build System 0.2.9-2mamba +- automatic rebuild by autodist + +* Tue Jan 20 2009 Silvan Calarco 0.2.9-1mamba +- update to 0.2.9 + +* Fri Jul 18 2008 Ercole 'ercolinux' Carpanetto 0.2.7-1mamba +- package created by autospec