Changed folder structure

This commit is contained in:
Xian Nox
2013-12-16 10:34:48 +01:00
parent e89e636a72
commit efced3781c
69 changed files with 83 additions and 80 deletions

5
build/debian/changelog Normal file
View File

@@ -0,0 +1,5 @@
qcma (0.1-1) unstable; urgency=low
* Initial release
-- codestation <codestation404@gmail.com> Mon, 02 Sep 2013 15:47:09 -0000

1
build/debian/compat Normal file
View File

@@ -0,0 +1 @@
8

14
build/debian/control Normal file
View File

@@ -0,0 +1,14 @@
Source: qcma
Section: utils
Priority: extra
Maintainer: codestation <codestation404@gmail.com>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.4
Homepage: http://github.com/codestation/qcma
Vcs-Git: git://github.com/codestation/qcma.git
Package: qcma
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Content Manager Assistant for the PS Vita

31
build/debian/copyright Normal file
View File

@@ -0,0 +1,31 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: qcma
Source: <http://github.com/codestation/qcma>
Files: *
Copyright: 2013 codestation <codestation404@gmail.com>
License: GPL-3.0
Files: debian/*
Copyright: 2013 codestation <codestation404@gmail.com>
License: GPL-3.0
License: GPL-3.0
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.

1
build/debian/docs Normal file
View File

@@ -0,0 +1 @@
README.md

9
build/debian/rules Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/qmake.mk
DEB_QMAKE_ARGS += PREFIX=/usr
pre-build::
lrelease-qt4 resources/translations/*.ts

View File

@@ -0,0 +1 @@
3.0 (quilt)

View File

@@ -0,0 +1,68 @@
#
# VitaMTP spec file
#
Name: libvitamtp2
Summary: Low-level Vita communication library
License: GPL-3.0
Release: 2
Version: 2.1.0
URL: https://github.com/codestation/VitaMTP
Source: https://github.com/codestation/VitaMTP.git
Prefix: /usr
Group: System/Libraries
%package devel
Summary: Low-level Vita communication library - development files
Group: Development/Libraries/C and C++
Requires: libvitamtp2 == 2.1.0
%description
libVitaMTP is a library based off of libMTP that does low level USB
communications with the Vita. It can read and receive MTP commands that
the Vita sends, which are a proprietary set of commands that is based on
the MTP open standard.
%description devel
libVitaMTP is a library based off of libMTP that does low level USB
communications with the Vita. It can read and receive MTP commands that
the Vita sends, which are a proprietary set of commands that is based on
the MTP open standard.
This package contains only the files necessary for development.
%changelog
* Tue Nov 05 2013 codestation <codestation> - 2.1.0
- Added new CMA version.
%prep
rm -rf $RPM_SOURCE_DIR/libvitamtp2
git clone https://github.com/codestation/VitaMTP.git $RPM_SOURCE_DIR/libvitamtp2
cp -r $RPM_SOURCE_DIR/libvitamtp2 $RPM_BUILD_DIR/libvitamtp2
%setup -n libvitamtp2 -DT
%build
./autogen.sh
./configure --prefix=/usr --disable-opencma
make
%install
make DESTDIR=%{buildroot} install
mkdir -p %{buildroot}/lib/udev/rules.d
cp debian/vitamtp1.udev %{buildroot}/lib/udev/rules.d/80-psvita.rules
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
/lib/udev/rules.d/80-psvita.rules
/usr/lib/libvitamtp.la
/usr/lib/libvitamtp.so.2
/usr/lib/libvitamtp.so.2.0.0
%files devel
%defattr(-,root,root,-)
/usr/include/vitamtp.h
/usr/lib/libvitamtp.a
/usr/lib/libvitamtp.so
/usr/lib/pkgconfig/libvitamtp.pc

View File

@@ -0,0 +1,68 @@
#
# VitaMTP spec file
#
Name: libvitamtp2
Summary: Low-level Vita communication library
License: GPL-3.0
Release: 2
Version: 2.1.0
URL: https://github.com/codestation/VitaMTP
Source: https://github.com/codestation/VitaMTP.git
Prefix: /usr
Group: System/Libraries
%package devel
Summary: Low-level Vita communication library - development files
Group: Development/Libraries/C and C++
Requires: libvitamtp2 == 2.1.0
%description
libVitaMTP is a library based off of libMTP that does low level USB
communications with the Vita. It can read and receive MTP commands that
the Vita sends, which are a proprietary set of commands that is based on
the MTP open standard.
%description devel
libVitaMTP is a library based off of libMTP that does low level USB
communications with the Vita. It can read and receive MTP commands that
the Vita sends, which are a proprietary set of commands that is based on
the MTP open standard.
This package contains only the files necessary for development.
%changelog
* Tue Nov 05 2013 codestation <codestation> - 2.1.0
- Added new CMA version.
%prep
rm -rf $RPM_SOURCE_DIR/libvitamtp2
git clone https://github.com/codestation/VitaMTP.git $RPM_SOURCE_DIR/libvitamtp2
cp -r $RPM_SOURCE_DIR/libvitamtp2 $RPM_BUILD_DIR/libvitamtp2
%setup -n libvitamtp2 -DT
%build
./autogen.sh
./configure --prefix=/usr --disable-opencma
make
%install
make DESTDIR=%{buildroot} install
mkdir -p %{buildroot}/lib/udev/rules.d
cp debian/vitamtp1.udev %{buildroot}/lib/udev/rules.d/80-psvita.rules
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
/lib/udev/rules.d/80-psvita.rules
/usr/lib64/libvitamtp.la
/usr/lib64/libvitamtp.so.2
/usr/lib64/libvitamtp.so.2.0.0
%files devel
%defattr(-,root,root,-)
/usr/include/vitamtp.h
/usr/lib64/libvitamtp.a
/usr/lib64/libvitamtp.so
/usr/lib64/pkgconfig/libvitamtp.pc

42
build/rpmbuild/qcma.spec Normal file
View File

@@ -0,0 +1,42 @@
#
# qcma spec file
#
Name: qcma
Summary: PSVita Content Manager Assistant
License: GPL-3.0
Release: 1
Version: 0.2.4
URL: https://github.com/codestation/qcma
Source: https://github.com/codestation/qcma.git
Prefix: /usr
Group: Productivity/File utilities
%description
QCMA is an cross-platform application to provide a Open Source implementation
of the original Content Manager Assistant that comes with the PS Vita. QCMA
is meant to be compatible with Linux, Windows and MAC OS X.
%changelog
* Tue Nov 06 2013 codestation <codestation> - 0.2.4
- QCMA in WiFi mode is compatible with FW 3.00.
%prep
rm -rf $RPM_SOURCE_DIR/qcma
git clone https://github.com/codestation/qcma.git $RPM_SOURCE_DIR/qcma
cp -r $RPM_SOURCE_DIR/qcma $RPM_BUILD_DIR/qcma
%setup -n qcma -DT
%build
lrelease qcma.pro
qmake PREFIX=/usr
make
%install
make INSTALL_ROOT=%{buildroot} install
%files
%defattr(-,root,root,-)
/usr/bin/qcma
/usr/share/applications/qcma/qcma.desktop
/usr/share/icons/hicolor/64x64/apps/qcma.png

View File

@@ -0,0 +1,42 @@
#
# qcma spec file
#
Name: qcma
Summary: PSVita Content Manager Assistant
License: GPL-3.0
Release: 1
Version: 0.2.4
URL: https://github.com/codestation/qcma
Source: https://github.com/codestation/qcma.git
Prefix: /usr
Group: Productivity/File utilities
%description
QCMA is an cross-platform application to provide a Open Source implementation
of the original Content Manager Assistant that comes with the PS Vita. QCMA
is meant to be compatible with Linux, Windows and MAC OS X.
%changelog
* Tue Nov 06 2013 codestation <codestation> - 0.2.4
- QCMA in WiFi mode is compatible with FW 3.00.
%prep
rm -rf $RPM_SOURCE_DIR/qcma
git clone https://github.com/codestation/qcma.git $RPM_SOURCE_DIR/qcma
cp -r $RPM_SOURCE_DIR/qcma $RPM_BUILD_DIR/qcma
%setup -n qcma -DT
%build
lrelease qcma.pro
qmake PREFIX=/usr
make
%install
make INSTALL_ROOT=%{buildroot} install
%files
%defattr(-,root,root,-)
/usr/bin/qcma
/usr/share/applications/qcma/qcma.desktop
/usr/share/icons/hicolor/64x64/apps/qcma.png