- 2.2
authorZsolt Udvari <uzsolt@pld-linux.org>
Sun, 30 May 2010 11:12:09 +0000 (11:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- cmake
- small fixes

Changed files:
    tellico.spec -> 1.61

tellico.spec

index aad523f..659dd58 100644 (file)
@@ -5,21 +5,18 @@
 Summary:       A collection manager
 Summary(pl.UTF-8):     Zarządca zbiorów wideo, audio i książek
 Name:          tellico
-Version:       1.3.5
-Release:       2
-License:       GPL v2
+Version:       2.2
+Release:       0.1
+License:       GPL v3
 Group:         X11/Applications
-Source0:       http://www.periapsis.org/tellico/download/%{name}-%{version}.tar.gz
-# Source0-md5: ca5d9db11fa1dd33dfe317ffe095435c
-Patch0:                %{name}-u64.patch
+Source0:       http://www.periapsis.org/tellico/download/%{name}-%{version}.tar.bz2
+# Source0-md5: 204cc66527f0ba8f8bda48b1f21a3dcd
 Patch1:                %{name}-desktop.patch
-Patch2:                gcc44.patch
 URL:           http://www.periapsis.org/tellico/
-BuildRequires: automake
 BuildRequires: exempi-devel
-BuildRequires: kdelibs-devel >= 9:3.3.1
-BuildRequires: kdemultimedia-devel
-BuildRequires: kdepim-devel
+BuildRequires: cmake
+BuildRequires: kde4-kdemultimedia-devel
+BuildRequires: kde4-kdepim-devel
 BuildRequires: libxml2-devel
 BuildRequires: libxml2-progs
 BuildRequires: libxslt-devel >= 1.0.19
@@ -42,16 +39,10 @@ księgozbiorów, archiwów wideo i audio.
 
 %prep
 %setup -q
-%patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
-cp -f /usr/share/automake/config.sub admin
-%configure \
-       %{?with_webcam:--enable-webcam} \
-       --with-qt-libraries=%{_libdir}
-
+%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
 %{__make}
 
 %install
@@ -63,7 +54,7 @@ install -d $RPM_BUILD_ROOT%{_desktopdir}
        kde_htmldir=%{_kdedocdir} \
        kde_libs_htmldir=%{_kdedocdir}
 
-mv $RPM_BUILD_ROOT%{_datadir}/locale/{ee,et}
+rm -rf $RPM_BUILD_ROOT/nogo
 
 %find_lang %{name} --with-kde
 
@@ -80,15 +71,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
+%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/mimelnk/application/x-%{name}.desktop
 %{_datadir}/apps/kconf_update/%{name}-rename.upd
 %{_datadir}/apps/kconf_update/tellico.upd
 %{_datadir}/apps/kconf_update/tellico-1-3-update.pl
 %{_datadir}/apps/%{name}
 %{_datadir}/config/tellicorc
+%{_datadir}/config/tellico-script.knsrc
+%{_datadir}/config/tellico-template.knsrc
 %{_datadir}/config.kcfg/tellico_config.kcfg
 %{_datadir}/mime/packages/*.xml
-%{_desktopdir}/kde/%{name}.desktop
+%{_desktopdir}/kde4/%{name}.desktop
 %{_iconsdir}/*/*/*/*.png
This page took 0.261546 seconds and 4 git commands to generate.