rpms/txt2rss/F-9 import.log, NONE, 1.1 txt2rss-conf-path.patch, NONE, 1.1 txt2rss-license-block.patch, NONE, 1.1 txt2rss.1, NONE, 1.1 txt2rss.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Rakesh Pandit
rakesh at fedoraproject.org
Sat Sep 6 07:08:57 UTC 2008
- Previous message: rpms/coredumper/F-8 coredumper-remove_linux_dirent_h.patch, NONE, 1.1 coredumper.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/coredumper/F-9 coredumper-remove_linux_dirent_h.patch, NONE, 1.1 coredumper.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rakesh
Update of /cvs/pkgs/rpms/txt2rss/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21716/F-9
Modified Files:
.cvsignore sources
Added Files:
import.log txt2rss-conf-path.patch txt2rss-license-block.patch
txt2rss.1 txt2rss.spec
Log Message:
initial package import
--- NEW FILE import.log ---
txt2rss-0_1-3_fc9:F-9:txt2rss-0.1-3.fc9.src.rpm:1220684212
txt2rss-conf-path.patch:
--- NEW FILE txt2rss-conf-path.patch ---
--- txt2rss.org 2008-09-02 19:58:34.000000000 +0530
+++ txt2rss 2008-09-02 20:08:50.000000000 +0530
@@ -82,8 +82,8 @@
### MAIN ###
# if configfile exist, export variables, else exit!
# Reading configuration file
-if [ -e "txt2rss.conf" ]; then
- . txt2rss.conf
+if [ -e "/etc/txt2rss/txt2rss.conf" ]; then
+ . /etc/txt2rss/txt2rss.conf
export TITLE=$TITLE
export LINK=$LINK
export DESCRIPTION=$DESCRIPTION
txt2rss-license-block.patch:
--- NEW FILE txt2rss-license-block.patch ---
--- txt2rss.org 2008-08-28 00:25:39.000000000 +0530
+++ txt2rss 2008-08-28 00:41:00.000000000 +0530
@@ -1,11 +1,21 @@
#!/bin/bash
-
-#############################################################
-# txt2rss - convert a simple txt file to a rss feed file #
-# Authors: #
-# Carlos Roberto do Nascimento Costa (crncosta at gmail.com) #
-# Paulo Ricardo Paz Vital (pvital at gmail.com #
-#############################################################
+#
+# txt2rss - convert a simple txt file to a rss feed file
+# Authors:
+# Carlos Roberto do Nascimento Costa (crncosta at gmail.com)
+# Paulo Ricardo Paz Vital (pvital at gmail.com)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
genDescription(){
LINES=$@
--- NEW FILE txt2rss.1 ---
.TH "txt2rss" 1
.SH NAME
txt2rss \- convert a simple txt file to a rss feed file
.SH SYNOPSIS
.B txt2rss
\fItxt-file \fIoutput-file
.SH DESCRIPTION
txt2rss is a shell script that parses a simple txt file (in a simple
format) and convert it to RSS feed file. Simple to use and intuitive,
You need to set up a config file (/etc/txt2rss/txt2rss.conf)
with parameter like webmaster's name, link of the site and others,
after you just call the script with txt-file and output-file.
.SH "AUTHORS"
Carlos Roberto do Nascimento Costa <crncosta AT gmail.com> &
.br
Paulo Ricardo Paz Vital <pvital AT gmail.com>
.SH REPORTING BUGS
Bugs should be reported to http://code.google.com/p/txt2rss/issues/list
--- NEW FILE txt2rss.spec ---
Name: txt2rss
Version: 0.1
Release: 3%{?dist}
Summary: Convert from txt to rss
Group: Applications/Internet
License: GPLv3
URL: http://code.google.com/p/%{name}/
Source0: http://%{name}.googlecode.com/files/%{name}-01.tar.bz2
Source1: txt2rss.1
Patch0: txt2rss-license-block.patch
Patch1: txt2rss-conf-path.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
txt2rss is a shell script that parses a simple txt file (in a simple
format) and convert it to RSS feed file. Simple to use and intuitive,
you need to set up a config file with parameter like webmaster's name,
link of the site and others, after you just call the script with
options like <input file> and a <output file>.
%prep
%setup -q -c %{name}
%patch0 -p0 -b .license-block
%patch1 -p0 -b .conf-path
%build
# Empty build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
install -m 644 feed.css $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
install -m 644 news.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
install -m 644 %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc news.txt feed.css
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%changelog
* Tue Sep 02 2008 Rakesh Pandit <rakesh at fedoraproject.org> 0.1-3
- man page, fixed conf file path
* Thu Aug 14 2008 Rakesh Pandit <rakesh at fedoraproject.org> 0.1-2
- applied license block patch
* Thu Aug 14 2008 Rakesh Pandit <rakesh at fedoraproject.org> 0.1-1
- Initial build
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/txt2rss/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 5 Sep 2008 16:38:55 -0000 1.1
+++ .cvsignore 6 Sep 2008 07:08:27 -0000 1.2
@@ -0,0 +1 @@
+txt2rss-01.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/txt2rss/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 5 Sep 2008 16:38:55 -0000 1.1
+++ sources 6 Sep 2008 07:08:27 -0000 1.2
@@ -0,0 +1 @@
+2dfc9784b25d6a481bc48aaab3644b5a txt2rss-01.tar.bz2
- Previous message: rpms/coredumper/F-8 coredumper-remove_linux_dirent_h.patch, NONE, 1.1 coredumper.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/coredumper/F-9 coredumper-remove_linux_dirent_h.patch, NONE, 1.1 coredumper.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list