Compare commits
No commits in common. "rawhide" and "f23" have entirely different histories.
4 changed files with 85 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
/v0.5.1.tar.gz
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Orphaned for 6+ weeks
|
|
||||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
e2336ce701efac5afa7b537d7b9c0644 v0.5.1.tar.gz
|
||||||
83
xtuple-csvimp.spec
Normal file
83
xtuple-csvimp.spec
Normal file
|
|
@ -0,0 +1,83 @@
|
||||||
|
Name: xtuple-csvimp
|
||||||
|
Version: 0.5.1
|
||||||
|
Release: 4%{?dist}
|
||||||
|
Summary: xTuple data import utility
|
||||||
|
License: CPAL
|
||||||
|
Url: http://www.xtuple.org/DataImportTool
|
||||||
|
Source: https://github.com/xtuple/csvimp/archive/v%version.tar.gz
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: qt-devel
|
||||||
|
BuildRequires: xtuple-openrpt-devel
|
||||||
|
|
||||||
|
%global _docdir_fmt %{name}
|
||||||
|
|
||||||
|
%description
|
||||||
|
A tool designed to import Comma Separated Value (CSV) files into the
|
||||||
|
database for the xTuple Applications (PostBooks and OpenMFG).
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: CSVImp development files
|
||||||
|
Requires: qt-devel
|
||||||
|
Requires: libdmtx-devel
|
||||||
|
Requires: xtuple-openrpt-devel
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
A tool designed to import Comma Separated Value (CSV) files into the
|
||||||
|
database for the xTuple Applications (PostBooks and OpenMFG).
|
||||||
|
This package provides the header files used by developers.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n csvimp-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
export HARDCODE_APPLICATION_DIR=%{_libdir}/csvimp
|
||||||
|
export USE_SHARED_OPENRPT=1
|
||||||
|
export OPENRPT_HEADERS=/usr/include/openrpt
|
||||||
|
export OPENRPT_LIBDIR=%{_libdir}
|
||||||
|
#lrelease-qt4 */*/*.ts */*.ts
|
||||||
|
qmake-qt4 .
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
# make install doesn't do anything for this qmake project so we do
|
||||||
|
# the installs manually
|
||||||
|
#make INSTALL_ROOT=%{buildroot} install
|
||||||
|
#rm -f %{buildroot}%{_libdir}/lib*.a
|
||||||
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
install csvimp %{buildroot}%{_bindir}
|
||||||
|
mkdir -p %{buildroot}%{_libdir}/csvimp/plugins
|
||||||
|
install -m 0755 plugins/libcsvimpplugin.so %{buildroot}%{_libdir}/csvimp/plugins
|
||||||
|
mkdir -p %{buildroot}%{_includedir}/csvimp
|
||||||
|
find . -name '*.h' -exec install -m 0644 -D {} %{buildroot}%{_includedir}/csvimp/{} \;
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/csvimp/images
|
||||||
|
cp -r csvimpcommon/images/* %{buildroot}%{_datadir}/csvimp/images
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/applications
|
||||||
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications *.desktop
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/*
|
||||||
|
%dir %{_libdir}/csvimp
|
||||||
|
%dir %{_libdir}/csvimp/plugins
|
||||||
|
%{_libdir}/csvimp/plugins/libcsvimpplugin.so
|
||||||
|
%{_datadir}/applications/*.desktop
|
||||||
|
%dir %{_datadir}/csvimp
|
||||||
|
%dir %{_datadir}/csvimp/images
|
||||||
|
%{_datadir}/csvimp/images/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%dir %{_includedir}/csvimp/
|
||||||
|
%{_includedir}/csvimp/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Sep 04 2015 Daniel Pocock <daniel@pocock.pro> - 0.5.1-4
|
||||||
|
- Rebuild.
|
||||||
|
|
||||||
|
* Thu Sep 3 2015 Daniel Pocock <daniel@pocock.pro> - 0.5.1-3
|
||||||
|
- Rebuild.
|
||||||
|
|
||||||
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 25 2015 Daniel Pocock <daniel@pocock.pro> - 0.5.0-1
|
||||||
|
- Initial RPM packaging.
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue