rpms/twlog/devel import.log, NONE, 1.1 twlog-2.7.configure.patch, NONE, 1.1 twlog-2.7.desktop.patch, NONE, 1.1 twlog-2.7.makefiles.patch, NONE, 1.1 twlog.sh.in, NONE, 1.1 twlog.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Randall 'Randy' Berry
dp67 at fedoraproject.org
Wed Jul 21 14:14:58 UTC 2010
- Previous message: rpms/nautilus/F-13 nautilus-gconf-correct-type.patch, NONE, 1.1 nautilus-gconf-default-value.patch, NONE, 1.1 nautilus.spec, 1.314, 1.315
- Next message: rpms/twlog/F-13 import.log, NONE, 1.1 twlog-2.7.configure.patch, NONE, 1.1 twlog-2.7.desktop.patch, NONE, 1.1 twlog-2.7.makefiles.patch, NONE, 1.1 twlog.sh.in, NONE, 1.1 twlog.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dp67
Update of /cvs/pkgs/rpms/twlog/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv15878/devel
Modified Files:
.cvsignore sources
Added Files:
import.log twlog-2.7.configure.patch twlog-2.7.desktop.patch
twlog-2.7.makefiles.patch twlog.sh.in twlog.spec
Log Message:
New package first commit
--- NEW FILE import.log ---
twlog-2_7-2_fc13:HEAD:twlog-2.7-2.fc13.src.rpm:1279721660
twlog-2.7.configure.patch:
configure | 2 ++
1 file changed, 2 insertions(+)
--- NEW FILE twlog-2.7.configure.patch ---
diff -up ./configure.diff ./configure
--- ./configure.diff 2010-06-19 15:16:52.000000000 -0400
+++ ./configure 2010-07-19 17:23:50.698318130 -0400
@@ -5805,7 +5805,9 @@ then
tw_save_LDFLAGS="$LDFLAGS"
for i in \
/usr/lib \
+ /usr/lib64 \
/usr/lib/X11 \
+ /usr/lib64/X11 \
/usr/X11R6/lib \
/usr/X11/lib
do
twlog-2.7.desktop.patch:
twlog.desktop | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--- NEW FILE twlog-2.7.desktop.patch ---
diff -up ./twlog.desktop.old ./twlog.desktop
--- ./twlog.desktop.old 2008-01-29 14:33:47.000000000 -0500
+++ ./twlog.desktop 2010-07-17 16:02:18.246326198 -0400
@@ -1,10 +1,10 @@
[Desktop Entry]
Name=twlog
-Name[en_US]=twlog
-Comment=A logging program for Ham Operators
-Comment[en_US]=A logging program for Ham Operators
+GenericName=twlog
+Comment=A logging program for Ham Radio Operators
Exec=twlog
-Icon=twlog.png
+Icon=twlog
Terminal=false
Type=Application
-Categories=Hamradio
+Categories=Network;HamRadio;
+Version=1.0
twlog-2.7.makefiles.patch:
Makefile.am | 3 ---
Makefile.in | 3 ---
2 files changed, 6 deletions(-)
--- NEW FILE twlog-2.7.makefiles.patch ---
diff -up ./Makefile.am.orig ./Makefile.am
--- ./Makefile.am.orig 2008-02-01 00:58:06.000000000 -0500
+++ ./Makefile.am 2010-07-17 15:55:51.848322673 -0400
@@ -22,9 +22,6 @@ install-data-local:
$(INSTALL) -d $(DESTDIR)@APP_DEFAULTS_PATH@
$(INSTALL_DATA) src/Twlog $(DESTDIR)@APP_DEFAULTS_PATH@
- $(INSTALL) -d $(DESTDIR)@docdir@
- $(INSTALL_DATA) THANKS ChangeLog README $(DESTDIR)@docdir@
-
uninstall-local:
echo "Removing $(DESTDIR)@APP_DEFAULTS_PATH@/Twlog"
rm -rf $(DESTDIR)@APP_DEFAULTS_PATH@/Twlog
diff -up ./Makefile.in.orig ./Makefile.in
--- ./Makefile.in.orig 2010-07-05 17:39:07.000000000 -0400
+++ ./Makefile.in 2010-07-17 15:55:36.780322815 -0400
@@ -778,9 +778,6 @@ install-data-local:
$(INSTALL) -d $(DESTDIR)@APP_DEFAULTS_PATH@
$(INSTALL_DATA) src/Twlog $(DESTDIR)@APP_DEFAULTS_PATH@
- $(INSTALL) -d $(DESTDIR)@docdir@
- $(INSTALL_DATA) THANKS ChangeLog README $(DESTDIR)@docdir@
-
uninstall-local:
echo "Removing $(DESTDIR)@APP_DEFAULTS_PATH@/Twlog"
rm -rf $(DESTDIR)@APP_DEFAULTS_PATH@/Twlog
--- NEW FILE twlog.sh.in ---
#!/bin/sh
# *****************************************************************************
# twlog.sh.in - Install wrapper script for twlog
# -------------------
# begin : July 12 2010
# copyright : (C) 2010 by Randall J. Berry N3LRX
# email : dp67 at fedoraproject.org
# *****************************************************************************
# *****************************************************************************
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU General Public License as published by *
# * the Free Software Foundation; either GPL version 2 of the License, or *
# * (at your option) any later version. *
# * *
# * 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, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
# * *
# *****************************************************************************
# Wrapper script for twlog to ensure that configuration is present
twlogbin="/usr/libexec/twlog-bin"
# Check if user configuration is present
# Removed log directory, twlog already checks and if not installed it installs.
# if [ ! -e ~/.twlogDir ]
# then
# mkdir ~/.twlogDir
# fi
# Check if config file is present, if not copy user config file to ~/. If present ignore.
if [ ! -e ~/Twlog ]
then
cp /usr/share/X11/app-defaults/Twlog ~/Twlog
fi
# Launch twlog
$twlogbin
--- NEW FILE twlog.spec ---
Name: twlog
Version: 2.7
Release: 2%{?dist}
Summary: Records basic ham radio log information
Group: Applications/Communications
License: GPLv2+
URL: http://wa0eir.home.mchsi.com/%{name}.html
# .desktop patch
Patch0: %{name}-%{version}.desktop.patch
# Makefile patch
Patch1: %{name}-%{version}.makefiles.patch
# configure patch
Patch2: %{name}-%{version}.configure.patch
Source0: http://wa0eir.home.mchsi.com/src/%{name}-%{version}.src.tar.gz
# Wrapper script to install user defaults
Source1: %{name}.sh.in
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xbae-devel
BuildRequires: desktop-file-utils
%description
Twlog records basic Ham log information. It was written
for day to day logging, not contesting. There are no dupe
checks or contest related features.
%prep
%setup -q
%patch0 -p1 -b %{name}-%{version}.desktop.patch
%patch1 -p1 -b %{name}-%{version}.makefiles.patch
%patch2 -p1 -b %{name}-%{version}.configure.patch
# Set perms on source file
chmod 644 ./src/adif.c
%build
%configure
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# Install provided icon
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps/
install -p -D -m 0644 ./src/icons/%{name}_14x32.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.png
desktop-file-install \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \
$RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
# Move original binary to libexecdir
mkdir -p $RPM_BUILD_ROOT/%{_libexecdir}/
mv $RPM_BUILD_ROOT/%{_bindir}/%{name} $RPM_BUILD_ROOT/%{_libexecdir}/%{name}-bin
# Install wrapper script installs needed files in users home directory.
install -p -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/%{name}
# Twlog default settings
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/X11/app-defaults/
install -p -D -m 0644 ./src/Twlog $RPM_BUILD_ROOT/%{_datadir}/X11/app-defaults/Twlog
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README TODO ChangeLog THANKS
%{_bindir}/%{name}
%{_libexecdir}/%{name}-bin
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/X11/app-defaults/Twlog
%{_datadir}/applications/%{name}.desktop
%changelog
* Mon Jul 19 2010 Randall "Randy" Berry, N3LRX <dp67 at fedoraprojecct.org> - 2.7-2
- Apply configure patch to search proper library directories on x86_64
* Sat Jul 17 2010 Randall "Randy" Berry, N3LRX <dp67 at fedoraprojecct.org> - 2.7-1
- New upstream release
- Edit spec per review
- Added desktop-file-install to verify .desktop file
* Thu Jul 15 2010 Randall "Randy" Berry, N3LRX <dp67 at fedoraprojecct.org> - 2.6-3
- Tweek install wrapper
- Twlog already checks for log directory. Creates it if not exists.
- Commented routine from wrapper.
* Mon Jul 12 2010 Randall "Randy" Berry, N3LRX <dp67 at fedoraprojecct.org> - 2.6-2
- Tweek install wrapper
* Mon Jul 12 2010 Randall "Randy" Berry, N3LRX <dp67 at fedoraprojecct.org> - 2.6-1
- Initial spec build
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/twlog/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 21 Jul 2010 05:23:03 -0000 1.1
+++ .cvsignore 21 Jul 2010 14:14:58 -0000 1.2
@@ -0,0 +1 @@
+twlog-2.7.src.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/twlog/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 21 Jul 2010 05:23:03 -0000 1.1
+++ sources 21 Jul 2010 14:14:58 -0000 1.2
@@ -0,0 +1 @@
+89c3ba7a3650a8cb118935595fe264ce twlog-2.7.src.tar.gz
- Previous message: rpms/nautilus/F-13 nautilus-gconf-correct-type.patch, NONE, 1.1 nautilus-gconf-default-value.patch, NONE, 1.1 nautilus.spec, 1.314, 1.315
- Next message: rpms/twlog/F-13 import.log, NONE, 1.1 twlog-2.7.configure.patch, NONE, 1.1 twlog-2.7.desktop.patch, NONE, 1.1 twlog-2.7.makefiles.patch, NONE, 1.1 twlog.sh.in, NONE, 1.1 twlog.spec, 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