rpms/ksig/devel ksig-1.1-svn-cmakelists.patch, NONE, 1.1 ksig-1.1-svn-docsdir.patch, NONE, 1.1 ksig.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Sebastian Vahl (svahl) fedora-extras-commits at redhat.com
Fri Feb 15 22:37:19 UTC 2008


Author: svahl

Update of /cvs/extras/rpms/ksig/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15289/devel

Modified Files:
	.cvsignore sources 
Added Files:
	ksig-1.1-svn-cmakelists.patch ksig-1.1-svn-docsdir.patch 
	ksig.spec 
Log Message:


ksig-1.1-svn-cmakelists.patch:

--- NEW FILE ksig-1.1-svn-cmakelists.patch ---
diff -Naur ksig-4.0.1/CMakeLists.txt ksig-4.0.1.new/CMakeLists.txt
--- ksig-4.0.1/CMakeLists.txt	2008-02-13 21:45:39.000000000 +0100
+++ ksig-4.0.1.new/CMakeLists.txt	2008-02-13 22:00:13.000000000 +0100
@@ -1,4 +1,9 @@
 project(ksig)
+
+find_package(KDE4 REQUIRED)
+include (KDE4Defaults)
+include_directories (${KDE4_INCLUDES})
+
 add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
 set(ksig_SRCS 
    siggenerator.cpp 

ksig-1.1-svn-docsdir.patch:

--- NEW FILE ksig-1.1-svn-docsdir.patch ---
diff -Naur ksig-4.0.1/doc/CMakeLists.txt ksig-4.0.1.new/doc/CMakeLists.txt
--- ksig-4.0.1/doc/CMakeLists.txt	2008-02-13 21:44:27.000000000 +0100
+++ ksig-4.0.1.new/doc/CMakeLists.txt	2008-02-13 22:07:46.000000000 +0100
@@ -1 +1 @@
-kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en)
+kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR ksig)


--- NEW FILE ksig.spec ---
%define    svn_date 20080213

Name:           ksig
Version:        1.1      
Release:        0.1.%{svn_date}%{?dist}
Summary:        A graphical application to manage multiple email signatures

# FIXME: Right group?
Group:          Applications/Productivity
License:        GPLv2+
URL:            http://extragear.kde.org

# Creation of tarball from svn
#
# Kevin Kofler enhanced the create_tarball.rb script from upstream to also support ksig
# This script also download the translations and docs
# To use it you will need the script itself and a config.ini in the same directory
#
# http://repo.calcforge.org/f9/kde4-tarballs/create_tarball.rb
# http://repo.calcforge.org/f9/kde4-tarballs/config.ini
#
# To create a new checkout use it with anonymous svn access
# ./create_tarball.rb -n
# At the prompt you have to enter "ksig" (without brackets)

Source0:        %{name}-%{version}-svn.tar.bz2
# fix CMakeLists.txt so this builds as a standalone directory (without all of extragear-pim)
Patch0:         ksig-1.1-svn-cmakelists.patch
# Install documentation into the correct subdir
Patch1:         ksig-1.1-svn-docsdir.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  kdelibs4-devel >= 4
BuildRequires:  kde-filesystem >= 4
BuildRequires:  cmake
BuildRequires:  gettext

%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
Requires:       kdelibs >= 4
Requires:       oxygen-icon-theme

%description
KSig is a graphical tool for keeping track of many different email signatures.
The signatures themselves can be edited through KSig's graphical user 
interface. A command-line interface is then available for generating random 
or daily signatures from a list. The command-line interface makes a suitable 
plugin for generating signatures in external mail clients such as KMail.

%prep
%setup -qn %{name}-%{version}-svn
%patch0 -p1 -b .cmakelists
%patch1 -p1 -b .docsdir

%build

mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} ..
popd

make %{?_smp_mflags} -C %{_target_platform}


%install
rm -rf %{buildroot}
mkdir %{buildroot}
make install DESTDIR=%{buildroot} -C %{_target_platform}

# validate desktop file
desktop-file-install --vendor ""                          \
        --dir %{buildroot}%{_datadir}/applications/kde4   \
        %{buildroot}%{_datadir}/applications/kde4/%{name}.desktop


%find_lang %{name}

%clean
rm -rf %{buildroot}

%post
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :

%postun
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc COPYING COPYING.DOC
%{_docdir}/HTML/en/ksig/
%{_kde4_bindir}/ksig
%{_kde4_appsdir}/ksig/
%{_kde4_iconsdir}/hicolor/*/apps/ksig.png
%{_datadir}/applications/kde4/ksig.desktop

%changelog
* Wed Feb 13 2008 Sebastian Vahl <fedora at deadbabylon.de> - 1.1-0.1.20080213
- initial version

Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ksig/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Feb 2008 22:22:26 -0000	1.1
+++ .cvsignore	15 Feb 2008 22:36:43 -0000	1.2
@@ -0,0 +1 @@
+ksig-1.1-svn.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ksig/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Feb 2008 22:22:26 -0000	1.1
+++ sources	15 Feb 2008 22:36:43 -0000	1.2
@@ -0,0 +1 @@
+b2ecb5bd331e0557bed03904f2fbbd17  ksig-1.1-svn.tar.bz2




More information about the fedora-extras-commits mailing list