Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d92d9951e2 | ||
|
27bb142e1c | ||
|
18551420a2 | ||
|
e7a436a50b | ||
|
0b4ad53626 | ||
|
18fb33fa8d |
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
newsbeuter-2.2.tar.gz
|
||||
/newsbeuter-2.3.tar.gz
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
||||
# Makefile for source rpm: newsbeuter
|
||||
# $Id$
|
||||
NAME := newsbeuter
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
90
newsbeuter.spec
Normal file
90
newsbeuter.spec
Normal file
@ -0,0 +1,90 @@
|
||||
Name: newsbeuter
|
||||
Version: 2.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Configurable text-based feed reader
|
||||
|
||||
Group: Applications/Internet
|
||||
License: MIT
|
||||
URL: http://newsbeuter.org/
|
||||
Source0: http://newsbeuter.org/downloads/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: pkgconfig, gettext, stfl-devel, sqlite-devel, libcurl-devel, libxml2-devel, ncurses-devel
|
||||
Requires: stfl
|
||||
|
||||
%description
|
||||
Newsbeuter is a feed reader for text terminals. Newsbeuter's great
|
||||
configurability and vast number of features make it a perfect choice for people
|
||||
that need a slick and fast feed reader that can be completely controlled via
|
||||
keyboard.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
export CXXFLAGS="%{optflags}"
|
||||
./config.sh
|
||||
make %{?_smp_mflags} prefix=%{_prefix}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot} prefix=%{_prefix}
|
||||
# %doc will be used in %files to pull in the documentation
|
||||
rm -rf %{buildroot}/%{_prefix}/share/doc/%{name}
|
||||
# remove executable permissions on man pages
|
||||
find %{buildroot}/%{_prefix}/share/man -type f -exec chmod -x {} ';'
|
||||
%find_lang %{name}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc README LICENSE doc/xhtml/newsbeuter.html doc/example-config
|
||||
%{_mandir}/man1/*
|
||||
%{_bindir}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Sep 20 2010 Thomas Janssen <thomasj@fedoraproject.org> 2.3-1
|
||||
- update to 2.3
|
||||
|
||||
* Tue May 18 2010 Thomas Janssen <thomasj@fedoraproject.org> 2.2-1
|
||||
- bugfix release
|
||||
- added google reader support
|
||||
|
||||
* Mon Jan 25 2010 Thomas Janssen <thomasj@fedoraproject.org> 2.1-1
|
||||
- New upstream source 2.1
|
||||
|
||||
* Wed Nov 11 2009 Thomas Janssen <thomasj@fedoraproject.org> 2.0-8
|
||||
- Added BR ncurses-devel
|
||||
|
||||
* Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 2.0-7
|
||||
- Minor spec changes
|
||||
|
||||
* Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 2.0-6
|
||||
- Correct changelog version numbers
|
||||
- Generate config.mk
|
||||
- Removed executable bits on manpages
|
||||
|
||||
* Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 2.0-5
|
||||
- Better summary
|
||||
|
||||
* Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 2.0-4
|
||||
- Use find_lang macro for translations
|
||||
- Remove explicit library requires
|
||||
- Use _prefix macro instead of an explicit prefix
|
||||
- Install documentation with doc
|
||||
|
||||
* Sun May 31 2009 Byron Clark <byron@theclarkfamily.name> 2.0-3
|
||||
- Add a description
|
||||
|
||||
* Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 2.0-2
|
||||
- Fix libxml2 dependency
|
||||
|
||||
* Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 2.0-1
|
||||
- Initial release
|
Loading…
Reference in New Issue
Block a user