]> git.pld-linux.org Git - packages/tellico.git/blobdiff - tellico.spec
- up to 1.1.4
[packages/tellico.git] / tellico.spec
index 84d8287de706510b87d9742a3bb646ab2bad8a2b..a082fadddd82c04df105fec6da6bb013aabed7b9 100644 (file)
@@ -1,26 +1,27 @@
 Summary:       A collection manager
 Summary(pl):   Zarz±dca zbiorów wideo, audio i ksi±¿ek
-Name:          bookcase
-Version:       0.9.3
+Name:          tellico
+Version:       1.1.4
 Release:       1
 License:       GPL v2
 Group:         X11/Applications
-Source0:       http://www.periapsis.org/bookcase/download/%{name}-%{version}.tar.gz
-# Source0-md5: ccb7035054fbbba18f47c24929881205
-Patch0:                %{name}-gcc34.patch
-URL:           http://www.periapsis.org/bookcase/
+Source0:       http://www.periapsis.org/tellico/download/%{name}-%{version}.tar.gz
+# Source0-md5: f2ca0b4d63463327e74d2330d392aec2
+URL:           http://www.periapsis.org/tellico/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: kdelibs-devel >= 3.1
-BuildRequires: libxslt-devel >= 1.0.19
+BuildRequires: kdelibs-devel >= 3.2
+BuildRequires: kdemultimedia-devel
+BuildRequires: kdepim-devel
 BuildRequires: libxml2-devel
 BuildRequires: libxml2-progs
-BuildRequires: qt-devel > 3.1
-BuildRequires: pcre-devel
+BuildRequires: libxslt-devel >= 1.0.19
 BuildRequires: rpmbuild(macros) >= 1.129
-BuildRequires: unsermake >= 040805-1
-Requires:      kdebase-core >= 3.1
+BuildRequires: taglib-devel
+BuildRequires: yaz-devel
+Requires:      kdebase-core >= 3.2
 Requires:      libxslt >= 1.0.19
+Obsoletes:     bookcase
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,13 +34,14 @@ ksi
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 cp -f /usr/share/automake/config.sub admin
-export UNSERMAKE=/usr/share/unsermake/unsermake
-%{__make} -f admin/Makefile.common cvs
-
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%{__perl} admin/am_edit
 %configure \
        --enable-final \
        --with-qt-libraries=%{_libdir}
@@ -47,7 +49,7 @@ export UNSERMAKE=/usr/share/unsermake/unsermake
 %{__make}
 
 %install
-rm -rf $RPM_BUILD_ROOT *.lang
+rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_desktopdir}
 
 %{__make} install \
@@ -55,17 +57,26 @@ install -d $RPM_BUILD_ROOT%{_desktopdir}
        kde_htmldir=%{_kdedocdir} \
        kde_libs_htmldir=%{_kdedocdir}
 
-%find_lang %{name}  --with-kde
-mv -f $RPM_BUILD_ROOT{%{_datadir}/applnk/*/*.desktop,%{_desktopdir}}
+%find_lang %{name} --with-kde
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f bookcase.lang
+%post
+umask 022
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+
+%postun
+umask 022
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/mimelnk/application/x-bookcase.desktop
-%{_iconsdir}/*/*/*/bookcase.png
+%{_datadir}/mimelnk/application/x-%{name}.desktop
+%{_datadir}/apps/kconf_update/%{name}-rename.upd
+%{_datadir}/apps/kconf_update/tellico.upd
+%{_iconsdir}/*/*/*/%{name}.png
 %{_datadir}/apps/%{name}
-%{_desktopdir}/bookcase.desktop
+%{_desktopdir}/kde/%{name}.desktop
This page took 0.108173 seconds and 4 git commands to generate.