[ark] %doc COPYING

Rex Dieter rdieter at fedoraproject.org
Thu Dec 15 19:58:32 UTC 2011


commit 5121381fdadddd9199d21837e989a5f714297f42
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Thu Dec 15 13:58:25 2011 -0600

    %doc COPYING

 .gitignore                     |    1 +
 ark-4.7.80-namelink_skip.patch |   12 ++++
 ark.spec                       |  118 ++++++++++++++++++++++++++++++++++++++++
 sources                        |    1 +
 4 files changed, 132 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f58e087 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ark-4.7.90.tar.bz2
diff --git a/ark-4.7.80-namelink_skip.patch b/ark-4.7.80-namelink_skip.patch
new file mode 100644
index 0000000..e10b852
--- /dev/null
+++ b/ark-4.7.80-namelink_skip.patch
@@ -0,0 +1,12 @@
+diff -up ark-4.7.80/kerfuffle/CMakeLists.txt.namelink_skip ark-4.7.80/kerfuffle/CMakeLists.txt
+--- ark-4.7.80/kerfuffle/CMakeLists.txt.namelink_skip	2011-11-04 09:36:35.000000000 -0500
++++ ark-4.7.80/kerfuffle/CMakeLists.txt	2011-11-28 14:14:34.361344532 -0600
+@@ -33,7 +33,7 @@ endif (NOT WIN32)
+ 
+ set_target_properties(kerfuffle PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
+ 
+-install(TARGETS kerfuffle ${INSTALL_TARGETS_DEFAULT_ARGS})
++install(TARGETS kerfuffle ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
+ 
+ install(FILES kerfufflePlugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
+ install(FILES ark.kcfg                DESTINATION ${KCFG_INSTALL_DIR})
diff --git a/ark.spec b/ark.spec
new file mode 100644
index 0000000..c105fe2
--- /dev/null
+++ b/ark.spec
@@ -0,0 +1,118 @@
+
+Name: ark
+Summary: Archive manager
+Version: 4.7.90
+Release: 2%{?dist}
+
+License: GPLv2+
+URL: http://utils.kde.org/projects/ark 
+Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstreamable patches
+# libkerfuffle namelink_skip
+Patch50: ark-4.7.80-namelink_skip.patch
+
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: kdebase4-devel >= %{version}
+BuildRequires: libzip-devel
+BuildRequires: pkgconfig(libarchive)
+BuildRequires: pkgconfig(liblzma) 
+# need only for ark unit tests
+#BuildRequires: pkgconfig(QJson) 
+
+# when split occured
+Conflicts: kdeutils-common < 6:4.7.80
+
+Provides: ark-part = %{version}-%{release}
+
+Obsoletes: kdeutils-ark < 6:4.7.80
+Provides:  kdeutils-ark = 6:%{version}-%{release}
+
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+Requires: p7zip-plugins
+
+%description
+Ark is a program for managing various archive formats.
+
+Archives can be viewed, extracted, created and modified from within Ark.
+The program can handle various formats such as tar, gzip, bzip2, zip,
+rar and lha (if appropriate command-line programs are installed).
+
+%package libs
+Summary: Runtime libraries for %{name} 
+# libkerfuffle is BSD, plugins are mix of BSD and GPLv2+
+License: BSD and GPLv2+
+Requires: %{name} = %{version}-%{release}
+Obsoletes: kdeutils-ark-libs < 6:4.7.80
+Provides:  kdeutils-ark-libs = 6:%{version}-%{release}
+%description libs
+%{summary}.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%patch50 -p1 -b .namelink_skip
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+%find_lang ark --with-kde --without-mo
+
+
+%check
+desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/ark.desktop
+
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+update-desktop-database -q &> /dev/null ||:
+fi
+
+%files -f ark.lang
+%doc COPYING
+%{_kde4_bindir}/ark
+%{_kde4_appsdir}/ark/
+%{_kde4_datadir}/config.kcfg/ark.kcfg
+%{_kde4_datadir}/kde4/services/ark*.desktop
+%{_kde4_datadir}/kde4/services/ServiceMenus/ark*.desktop
+%{_kde4_datadir}/applications/kde4/ark.desktop
+%{_kde4_libdir}/kde4/arkpart.so
+%{_kde4_libdir}/kde4/libextracthere.so
+%{_mandir}/man1/ark.1*
+
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
+%files libs
+%{_kde4_libdir}/libkerfuffle.so.4*
+%{_kde4_libdir}/kde4/kerfuffle_*.so
+%{_kde4_datadir}/kde4/services/kerfuffle*.desktop
+%{_kde4_datadir}/kde4/servicetypes/kerfufflePlugin.desktop
+
+
+%changelog
+* Thu Dec 15 2011 Rex Dieter <rdieter at fedoraproject.org> 4.7.90-2
+- %%doc COPYING
+
+* Thu Dec 08 2011 Rex Dieter <rdieter at fedoraproject.org> 4.7.90-1
+- 4.7.90
+
+* Sat Nov 26 2011 Rex Dieter <rdieter at fedoraproject.org> 4.7.80-1
+- first try
+
diff --git a/sources b/sources
index e69de29..f8e247f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5256feebed5233490526fc5ac2775cb9  ark-4.7.90.tar.bz2


More information about the scm-commits mailing list