rpms/xlog/F-9 xlog-1.7-doc.patch, NONE, 1.1 xlog.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lucian Langa (lucilanga) fedora-extras-commits at redhat.com
Sun Aug 3 15:27:49 UTC 2008


Author: lucilanga

Update of /cvs/pkgs/rpms/xlog/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19997

Modified Files:
	.cvsignore sources 
Added Files:
	xlog-1.7-doc.patch xlog.spec 
Log Message:
initial import

xlog-1.7-doc.patch:

--- NEW FILE xlog-1.7-doc.patch ---
--- xlog-1.7/data/Makefile.am	2007-03-29 18:29:40.000000000 +0300
+++ xlog-1.7-mod/data/Makefile.am	2008-07-17 16:15:39.000000000 +0300
@@ -1 +1 @@
-SUBDIRS = desktop doc dxcc glabels images man mime pixmaps remote utils
+SUBDIRS = desktop dxcc images man mime pixmaps remote utils
--- xlog-1.7/Makefile.am	2007-12-08 15:28:59.000000000 +0200
+++ xlog-1.7-mod/Makefile.am	2008-07-17 16:22:59.000000000 +0300
@@ -11,13 +11,9 @@
 
 install-data-local:
 	@$(NORMAL_INSTALL)
-	$(INSTALL_DATA) AUTHORS $(DESTDIR)$(pkgdatadir)
-	$(INSTALL_DATA) ChangeLog $(DESTDIR)$(pkgdatadir)
-	$(INSTALL_DATA) BUGS $(DESTDIR)$(pkgdatadir)
 
 rpm: Makefile
 	make dist
 	$(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz
 	rm $(PACKAGE)-$(VERSION).tar.gz
 
-ACLOCAL_AMFLAGS = -I m4


--- NEW FILE xlog.spec ---
Name:           xlog
Version:        1.7
Release:        2%{?dist}
Summary:        Logging program for Hamradio Operators

Group:          Applications/Communications
License:        GPLv3
URL:            http://pg4i.chronos.org.uk/linux/%{name}.html
Source0:        http://pg4i.chronos.org.uk/download/%{name}-%{version}.tar.gz
Patch0:         xlog-1.7-doc.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires: pkgconfig
BuildRequires: gtk2-devel
BuildRequires: libgnomeprint22-devel
BuildRequires: hamlib-devel
BuildRequires: shared-mime-info
BuildRequires: gettext-devel

%description
xlog is a logging program for amateur radio operators. The log is stored
into a text file. QSO's are presented in a list. Items in the list can be
added, deleted or updated. For each contact, dxcc information is displayed
and bearings and distance is calculated, both short and long path.
xlog supports trlog, adif, cabrillo, edit, twlog and editest files.

%prep
%setup -q
%patch0 -p1 -b doc
#fix bogus .desktop file
sed -i -e "s/ApplicationHamRadio/Application/g" $RPM_BUILD_DIR/%{name}-%{version}/data/desktop/xlog.desktop
sed -i -e "s/.png//g" $RPM_BUILD_DIR/%{name}-%{version}/data/desktop/xlog.desktop

%build
#missing directory from package
mkdir m4
autoreconf -i -f
%configure --enable-hamlib
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

%find_lang %{name}

desktop-file-install --vendor fedora --delete-original  \
        --dir $RPM_BUILD_ROOT%{_datadir}/applications   \
        --remove-category Application \
        $RPM_BUILD_ROOT%{_datadir}/applications/xlog.desktop

%post
update-mime-database %{_datadir}/mime &> /dev/null || :

%postun
update-mime-database %{_datadir}/mime &> /dev/null || :



%clean
rm -rf $RPM_BUILD_ROOT



%files -f %{name}.lang 
%defattr(-,root,root,-)
%doc AUTHORS BUGS ChangeLog COPYING NEWS README data/doc/manual data/doc/manual.tex data/glabels/qsllabels.glabels
%{_bindir}/%{name}
%{_datadir}/%{name}/dxcc
%{_datadir}/pixmaps/*
%{_datadir}/icons/gnome-mime-text-x-%{name}.png
%{_datadir}/icons/%{name}-icon.png
%{_datadir}/applications/mimeinfo.cache
%{_datadir}/applications/*.desktop
%{_datadir}/mime/packages/*
%{_mandir}/man?/*


%changelog
* Wed Jul 16 2008 Lucian Langa <cooly at gnome.eu.org> - 1.7-2
- Proper documentation packing
- Misc cleanups

* Thu Feb 28 2008 Robert 'Bob' Jensen 1.7-1
- Upstream Version bump
- Submit for review

* Mon Dec 10 2007 Robert 'Bob' Jensen 1.6.2-2
- SPEC file clean up

* Mon Dec 10 2007 Robert 'Bob' Jensen 1.6.2-1
- Upstream Version bump

* Thu Nov 28 2007 Robert 'Bob' Jensen 1.6.1-2
- License update

* Thu Nov 28 2007 Robert 'Bob' Jensen 1.6.1-1
- Upstream Version bump to solve License issue in wwl.c

* Thu Nov 22 2007 Sindre Pedersen Bjørdal <foolish at guezz.net> 1.6-3
- Fix mimeinfo scriptlet
- Add desktop-file-utils shebang
- Fix .desktop file
- Update files list
- Update license
- Add gettext and shared-mime-info BRs

* Thu Nov 22 2007 Robert 'Bob' Jensen 1.6-2
- Fix BRs

* Mon Nov 19 2007 Robert 'Bob' Jensen 1.6-1
- Current xlog 1.6 requires gtk+-2.0 >= 2.12.0
- Build xlog 1.5 for F7

* Mon Nov 19 2007 Robert 'Bob' Jensen 1.3.1-1
- Initial Fedora spec
- use Joop's spec from version 1.3.1 as a base


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/xlog/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Aug 2008 04:05:00 -0000	1.1
+++ .cvsignore	3 Aug 2008 15:27:19 -0000	1.2
@@ -0,0 +1 @@
+xlog-1.7.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xlog/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Aug 2008 04:05:00 -0000	1.1
+++ sources	3 Aug 2008 15:27:19 -0000	1.2
@@ -0,0 +1 @@
+f7d52236715f8ce30f251209dc3753d2  xlog-1.7.tar.gz




More information about the fedora-extras-commits mailing list