Stephan Kulow 2015-02-16 20:09:56 +00:00 committed by Git OBS Bridge
parent 1cebad9dfd
commit 1edc1eff06
4 changed files with 32 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63672fdf819d8a2c60b3ab21841a830702624d33565352af2850ef7cba9b5f16
size 164284

3
pcmanfm-qt-0.9.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2df0f0a0c092f9ee6e7311255ab2aed66c8ea897b3399affb96732c46421e2df
size 189184

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 9 23:46:52 UTC 2015 - sfalken@opensuse.org
- New upstream version 0.9.0
- Added -lang subpackage
-------------------------------------------------------------------
Mon Jan 26 00:50:16 UTC 2015 - sfalken@opensuse.org

View File

@ -17,14 +17,15 @@
Name: pcmanfm-qt
Version: 0.8.0
Version: 0.9.0
Release: 0
Summary: File manager and desktop icon manager
License: GPL-2.0+
Group: System/GUI/LXDE
Url: http://www.lxqt.org
Source: %{name}-%{version}.tar.xz
Source: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: pkgconfig(Qt5Core)
@ -45,22 +46,30 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
PCManFM-Qt is the Qt port of the LXDE file manager PCManFM
%package -n libfm-qt5-1
%package -n libfm-qt5-2
Summary: Libfm-Qt libraries
Group: System/Libraries
%description -n libfm-qt5-1
%description -n libfm-qt5-2
Libfm-Qt is a companion library providing components to build desktop file managers
%package -n libfm-qt5-devel
Summary: Development files for libfm-qt
Group: Development/Libraries/C and C++
Requires: libfm-qt5-1 >= %{version}
Requires: libfm-qt5-2 >= %{version}
Requires: pkg-config
%description -n libfm-qt5-devel
Libfm-Qt libraries for development
%package -n %{name}-lang
Summary: Translations for pcmanfm-qt
Group: System/GUI/LXDE-Qt
Requires: %{name} = %{version}
%description -n %{name}-lang
Translation files for pcmanfm-qt
%prep
%setup -q
@ -68,7 +77,6 @@ Libfm-Qt libraries for development
mkdir build
pushd build
cmake \
-DUSE_QT5=ON \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
..
%__make %{?_smp_mflags}
@ -78,26 +86,26 @@ popd
pushd build
make DESTDIR=$RPM_BUILD_ROOT install
popd
%fdupes -s %{buildroot}%{_datadir}
%post
%desktop_database_post
%postun
%desktop_database_postun
%post -n libfm-qt5-1 -p /sbin/ldconfig
%post -n libfm-qt5-2 -p /sbin/ldconfig
%postun -n libfm-qt5-1 -p /sbin/ldconfig
%postun -n libfm-qt5-2 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING
%dir %{_datadir}/pcmanfm-qt
%{_bindir}/pcmanfm-qt
%{_datadir}/applications/*.desktop
%{_datadir}/pcmanfm-qt
%{_datadir}/man/man1/pcmanfm-qt.1.gz
%files -n libfm-qt5-1
%files -n libfm-qt5-2
%defattr(-,root,root)
%{_libdir}/libfm-qt5.so.*
%{_datadir}/libfm-qt
@ -108,4 +116,8 @@ popd
%{_libdir}/pkgconfig/libfm-qt5.pc
%{_libdir}/libfm-qt5.so
%files -n %{name}-lang
%defattr(-,root,root)
%{_datadir}/pcmanfm-qt/translations
%changelog