rpms/kreetingkard/F-8 kreetingkard-0.7.1-fix-build-gcc411.patch, NONE, 1.1 kreetingkard.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Mamoru Tasaka (mtasaka)
fedora-extras-commits at redhat.com
Sun Oct 21 17:02:42 UTC 2007
- Previous message (by thread): rpms/kreetingkard/F-7 kreetingkard-0.7.1-fix-build-gcc411.patch, NONE, 1.1 kreetingkard.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/kreetingkard/devel kreetingkard-0.7.1-fix-build-gcc411.patch, NONE, 1.1 kreetingkard.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mtasaka
Update of /cvs/extras/rpms/kreetingkard/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11482/kreetingkard/F-8
Modified Files:
.cvsignore sources
Added Files:
kreetingkard-0.7.1-fix-build-gcc411.patch kreetingkard.spec
Log Message:
kreetingkard initial commit
kreetingkard-0.7.1-fix-build-gcc411.patch:
--- NEW FILE kreetingkard-0.7.1-fix-build-gcc411.patch ---
--- kreetingkard-0.7.1/src/kktemplate/kktthumbnailview.h~ 2005-08-11 15:17:27.000000000 +0200
+++ kreetingkard-0.7.1/src/kktemplate/kktthumbnailview.h 2006-07-02 20:48:42.000000000 +0200
@@ -28,7 +28,7 @@
{
Q_OBJECT
public:
- KKTThumbnailView::KKTThumbnailView( QWidget* parent = 0, const char* name = 0 );
+ KKTThumbnailView( QWidget* parent = 0, const char* name = 0 );
virtual ~KKTThumbnailView();
public slots:
--- NEW FILE kreetingkard.spec ---
%define mainver 0.7.1
%define vendorrel 2
%define repoid 18105
Name: kreetingkard
Version: %{mainver}
Release: %{vendorrel}%{?dist}
Summary: Japanese greeting card writing software for KDE
Group: Applications/Productivity
License: GPLv2+
URL: http://linux-life.net/program/cc/kde/app/kreetingkard/
Source0: http://downloads.sourceforge.jp/%{name}/%{repoid}/%{name}-%{mainver}.tar.gz
# From Mandriva
Patch0: kreetingkard-0.7.1-fix-build-gcc411.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: gettext
%if 0%{fedora} >= 8
BuildRequires: kdelibs3-devel
%else
BuildRequires: kdelibs-devel
%endif
%description
KreetingKard is a tool for making Japanese greeting cards. It allows you to
make greeting cards easily by choosing a template and changing the words.
%prep
%setup -q
%patch0 -p1 -b .gcc41
%build
%configure
# Don't call autoheader
touch config.h.in config.h
# Remove rpath
for f in `find . -name Makefile` ; do
%{__sed} -i.rpath -e 's|^\([A-Z][A-Z]*_RPATH = \).*|\1|' $f
done
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
INSTALL="%{__install} -c -p"
# Fixing up
# 1. Desktop file treatment
%{__sed} -i -e '/^Pattern/d' \
$RPM_BUILD_ROOT%{_datadir}/applnk/Office/%{name}.desktop
desktop-file-install \
--dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
--add-category Office \
--vendor fedora \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applnk/Office/%{name}.desktop
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/applnk/
# 2 KDE common symlink to relative
unlink $RPM_BUILD_ROOT%{_defaultdocdir}/HTML/en/%{name}/common
%{__ln_s} -f '../common' $RPM_BUILD_ROOT%{_defaultdocdir}/HTML/en/%{name}/common
# 3 Install icons
for s in 16 32 ; do
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/
%{__install} -cp -m 644 src/cr${s}-app-%{name}.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/%{name}.png
done
# 4. gettext .mo file
%{find_lang} %{name}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
update-desktop-database &> /dev/null
exit 0
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
update-desktop-database &> /dev/null
exit 0
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS
%doc COPYING
%doc README
%{_bindir}/%{name}
%{_datadir}/apps/%{name}/
%{_datadir}/icons/crystalsvg/??x??/*/*.png
%{_datadir}/mimelnk/application/x-%{name}.desktop
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/??x??/apps/%{name}.png
%{_defaultdocdir}/HTML/en/%{name}/
%changelog
* Mon Oct 22 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.7.1-2
- Fix typo.
* Thu Oct 18 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.7.1-1
- Initial spec file
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/kreetingkard/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 21 Oct 2007 16:34:40 -0000 1.1
+++ .cvsignore 21 Oct 2007 17:02:09 -0000 1.2
@@ -0,0 +1 @@
+kreetingkard-0.7.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/kreetingkard/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 21 Oct 2007 16:34:40 -0000 1.1
+++ sources 21 Oct 2007 17:02:09 -0000 1.2
@@ -0,0 +1 @@
+3f45b5f536575b0a3f2dbd2a7291447e kreetingkard-0.7.1.tar.gz
- Previous message (by thread): rpms/kreetingkard/F-7 kreetingkard-0.7.1-fix-build-gcc411.patch, NONE, 1.1 kreetingkard.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/kreetingkard/devel kreetingkard-0.7.1-fix-build-gcc411.patch, NONE, 1.1 kreetingkard.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 fedora-extras-commits
mailing list