]> git.pld-linux.org Git - packages/biblos.git/blobdiff - biblos.spec
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[packages/biblos.git] / biblos.spec
index 16aa5d6c5f844800174791f784c3bf6e30a27049..f02e17b216c41964467c768f0e9e50ff54b18ee2 100644 (file)
@@ -10,16 +10,17 @@ Source0:    http://biblos.f2g.net/%{name}-%{version}.tar.gz
 Source1:       %{name}.desktop
 Patch0:                %{name}-qt_mt.patch
 URL:           http://biblos.f2g.net/
-BuildRequires: qt-devel >= 3.0.5
 BuildRequires: expat-devel
+BuildRequires: qmake
 BuildRequires: libstdc++-devel
+BuildRequires: qt-devel >= 3.0.5
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Biblos is intended to be an easy to use file indexing tool that
-can manage your mp3 collection, your cds collection and even
-local directories. It is distributed under GNU Public License
+can manage your MP3 collection, your cds collection and even
+local directories. It is distributed under GNU General Public License
 and Q Public License and it is a work in progress. The following
 things are not implemented:
 
@@ -30,7 +31,7 @@ things are not implemented:
 
 %description -l pl
 Biblos ma byæ ³atwym w u¿yciu narzêdziem do indeksowania plików,
-mog±cym zarz±dzaæ kolekcj± plików mp3, p³yt CD lub nawet lokalnymi
+mog±cym zarz±dzaæ kolekcj± plików MP3, p³yt CD lub nawet lokalnymi
 katalogami. Jest rozpowszechniany na Powszechnej Licencji Publicznej
 GNU (GPL) oraz Licencji Publicznej Q (QPL, Q Public License) i jest
 w trakcie tworzenia. Nastêpuj±ce rzeczy jeszcze nie zosta³y
@@ -43,21 +44,22 @@ zaimplementowane:
 
 %prep
 %setup -qcT
-tar xzf %{SOURCE0} -C ..
-chmod +x . images mc help
-%patch0 -p1
+tar xzf %{SOURCE0} -C . 
+chmod -R +x %{name}-%{version}
+%patch0 -p0
 
 %build
+mv %{name}-%{version}/* .
 qmake biblos.pro
 %{__make} QTDIR="/usr" CFLAGS="%{rpmcflags}" CXXFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_applnkdir}/Utilities}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}}
 
 install %{name} $RPM_BUILD_ROOT%{_bindir}
 install images/logo.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}-logo.png
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -67,4 +69,4 @@ rm -rf $RPM_BUILD_ROOT
 %doc doc/{AUTHORS,HISTORY,TODO,WARNING,WHATIS}
 %attr(755,root,root) %{_bindir}/*
 %{_pixmapsdir}/*
-%{_applnkdir}/Utilities/*
+%{_desktopdir}/*.desktop
This page took 0.084155 seconds and 4 git commands to generate.