diff options
author | LAN-TW <lantw44@gmail.com> | 2014-01-28 17:46:41 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2014-01-28 17:46:41 +0800 |
commit | e8c763366a19e8c027bbf7f99fb6f8ff0de967d3 (patch) | |
tree | e9cdadd01e7a2751c9b58eb8fe8ed95791993cc2 /addpkgs | |
parent | a15208043fd801c4d8c0178e8b03d68860ba6760 (diff) | |
download | copr-rpm-spec-e8c763366a19e8c027bbf7f99fb6f8ff0de967d3.tar copr-rpm-spec-e8c763366a19e8c027bbf7f99fb6f8ff0de967d3.tar.gz copr-rpm-spec-e8c763366a19e8c027bbf7f99fb6f8ff0de967d3.tar.bz2 copr-rpm-spec-e8c763366a19e8c027bbf7f99fb6f8ff0de967d3.tar.lz copr-rpm-spec-e8c763366a19e8c027bbf7f99fb6f8ff0de967d3.tar.xz copr-rpm-spec-e8c763366a19e8c027bbf7f99fb6f8ff0de967d3.tar.zst copr-rpm-spec-e8c763366a19e8c027bbf7f99fb6f8ff0de967d3.zip |
Move all packages into addpkgs directory
Diffstat (limited to 'addpkgs')
-rw-r--r-- | addpkgs/guix/guix.spec | 92 | ||||
-rw-r--r-- | addpkgs/qelly/qelly.spec | 50 | ||||
-rw-r--r-- | addpkgs/tcc/tcc.spec | 86 |
3 files changed, 228 insertions, 0 deletions
diff --git a/addpkgs/guix/guix.spec b/addpkgs/guix/guix.spec new file mode 100644 index 0000000..4bed391 --- /dev/null +++ b/addpkgs/guix/guix.spec @@ -0,0 +1,92 @@ +Name: guix +Version: 0.5 +Release: 1%{?dist} +Summary: a purely functional package manager for the GNU system + +Group: System Environment/Base +License: GPLv3+ +URL: https://www.gnu.org/software/guix +Source0: ftp://alpha.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz + +%global guile_required 2.0.5 +%global sqlite_required 3.6.19 +%global guix_user guix-builder +%global guix_group guix-builder + +BuildRequires: guile-devel >= %{guile_required} +BuildRequires: sqlite-devel >= %{sqlite_required} +BuildRequires: bzip2-devel, libgcrypt-devel + +Requires: guile >= %{guile_required} +Requires: sqlite >= %{sqlite_required} +Requires: bzip2, libgcrypt +Requires(post): /sbin/useradd +Requires(post): /sbin/groupadd +Requires(post): /usr/bin/gpasswd +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info + + +%description +GNU Guix is a purely functional package manager for the GNU system. In addition +to standard package management features, Guix supports transactional upgrades +and roll-backs, unprivileged package management, per-user profiles, and garbage +collection. It provides Guile Scheme APIs, including high-level embedded +domain-specific languages (EDSLs), to describe how packages are to be built and +composed. + +%prep +%setup -q + +%build +%configure --disable-rpath +make %{?_smp_mflags} + + +%install +make install DESTDIR=%{buildroot} +mkdir -p %{buildroot}/nix/store +mkdir -p %{buildroot}%{_localstatedir}/log/nix +mkdir -p %{buildroot}%{_localstatedir}/nix +%find_lang %{name} + +%post +/sbin/install-info %{_infodir}/guix.info.gz %{_infodir}/dir || : +if [ "$1" = 1 ]; then + /sbin/groupadd -r %{guix_group} + /sbin/useradd -M -N -g %{guix_group} -d /nix/store -s /sbin/nologin \ + -c "Guix build user" %{guix_user} + /usr/bin/gpasswd -a %{guix_user} %{guix_group} >/dev/null + chgrp %{guix_user} /nix/store + chmod 1775 /nix/store +fi + +%preun +if [ "$1" = 0 ]; then + /sbin/install-info --del %{_infodir}/guix.info.gz %{_infodir}/dir || : +fi + +%files -f %{name}.lang +%{_bindir}/guix +%{_bindir}/guix-daemon +%{_sbindir}/guix-register +%{_libexecdir}/guix/list-runtime-roots +%{_libexecdir}/guix/substitute-binary +%attr(4755,root,root) %{_libexecdir}/nix-setuid-helper +%{_datadir}/guile/site/2.0/gnu/* +%{_datadir}/guile/site/2.0/guix/* +%{_datadir}/guile/site/2.0/guix.scm +%{_datadir}/guile/site/2.0/guix.go +%dir /nix/store +%dir %{_localstatedir}/log/nix +%dir %{_localstatedir}/nix +%{_infodir}/%{name}.info* +%{_infodir}/images/bootstrap-graph.png.gz +%exclude %{_infodir}/dir + +%changelog +* Tue Dec 17 2013 Ting-Wei Lan <lantw44@gmail.com> +- Update to 0.5 + +* Mon Sep 30 2013 Ting-Wei Lan <lantw44@gmail.com> +- Initial packaging diff --git a/addpkgs/qelly/qelly.spec b/addpkgs/qelly/qelly.spec new file mode 100644 index 0000000..8f8ceb9 --- /dev/null +++ b/addpkgs/qelly/qelly.spec @@ -0,0 +1,50 @@ +Name: qelly +Version: 1.0 +Release: 0.1.beta%{?dist} +Summary: Qelly is a Qt port of Nally + +%global real_name Qelly +%global real_version 1.0b + +Group: Applications/Internet +License: GPLv3 +URL: https://github.com/uranusjr/Qelly +Source0: https://github.com/uranusjr/Qelly/archive/v%{real_version}.tar.gz + +BuildRequires: qt-devel, libqxt-devel +Requires: qt, libqxt + +%description +Qelly (pronounced as the English name "Kelly") is a Qt port of Nally, the +open-source Telnet/SSH client for Mac OS X. Qt is chosen to be the underlying +framework of this application bacause it enables us to build a GUI-based +application with a native-looking interface for every operating system with +minimal effort. The project is currently only a Qt version of Nally (hence the +name), but more features from other Telnet/SSH clients are also planned. + +%prep +%setup -q -n %{real_name}-%{real_version} + +%build +qmake-qt4 +make %{?_smp_mflags} + + +%install +mkdir -p %{buildroot}/usr/bin +install -m 755 "bin/Qelly" "%{buildroot}/usr/bin" + +%files +%defattr(-,root,root,-) +%{_bindir}/Qelly +%doc AUTHORS CHANGES LICENSE README.md + +%changelog +* Tue Dec 17 2013 Ting-Wei Lan <lantw44@gmail.com> +- Update to 1.0b (https://github.com/uranusjr/Qelly/releases/tag/v1.0b) + +* Mon Oct 21 2013 Ting-Wei Lan <lantw44@gmail.com> +- Update to 1.0a3 (https://github.com/uranusjr/Qelly/releases/tag/v1.0a3) + +* Thu Oct 17 2013 Ting-Wei Lan <lantw44@gmail.com> +- Initial packaging diff --git a/addpkgs/tcc/tcc.spec b/addpkgs/tcc/tcc.spec new file mode 100644 index 0000000..877b7c8 --- /dev/null +++ b/addpkgs/tcc/tcc.spec @@ -0,0 +1,86 @@ +%global use_gcc 1 +%global pkg_name tcc + +%if %{use_gcc} +%global use_cc gcc +%global pkg_fullname %{pkg_name} +%else +%global use_cc tcc +%global pkg_fullname %{pkg_name}-self +%global debug_package %{nil} +%endif + +Name: %{pkg_fullname} +Version: 0.9.26 +Release: 4%{?dist} +Summary: Tiny C Compiler + +Group: Development/Languages +License: LGPL +URL: http://bellard.org/tcc +Source0: http://download.savannah.gnu.org/releases/tinycc/%{pkg_name}-%{version}.tar.bz2 + +BuildRequires: %{use_cc}, glibc-devel, texinfo, perl-podlators + +%description +Tiny C Compiler is a small C compiler, which can already compile itself. +It can also run C source code as a script. + +%prep +%setup -q -n %{pkg_name}-%{version} + +%build +./configure --prefix=%{_prefix} --libdir=%{_libdir} \ + --cc=%{use_cc} --enable-cross +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} +rm -f %{buildroot}%{_datadir}/doc/tcc/tcc-doc.html + +%post +/sbin/install-info %{_infodir}/tcc-doc.info.gz %{_infodir}/dir || : + +%preun +if [ "$1" = 0 ]; then + /sbin/install-info --del %{_infodir}/tcc-doc.info.gz %{_infodir}/dir || : +fi + +%files +%{_bindir}/arm-eabi-tcc +%{_bindir}/arm-fpa-ld-tcc +%{_bindir}/arm-fpa-tcc +%{_bindir}/arm-vfp-tcc +%{_bindir}/c67-tcc +%ifnarch i386 i486 i586 i686 +%{_bindir}/i386-tcc +%endif +%{_bindir}/i386-win32-tcc +%{_bindir}/tcc +%ifnarch x86_64 amd64 +%{_bindir}/x86_64-tcc +%endif +%{_bindir}/x86_64-win32-tcc +%{_includedir}/libtcc.h +%{_libdir}/libtcc.a +%{_libdir}/tcc/include/*.h +%{_libdir}/tcc/libtcc1.a +%ifnarch i386 i486 i586 i686 +%{_libdir}/tcc/i386/include/*.h +%{_libdir}/tcc/i386/libtcc1.a +%endif +%{_libdir}/tcc/win32/include/*.h +%{_libdir}/tcc/win32/include/sec_api/*.h +%{_libdir}/tcc/win32/include/sec_api/sys/*.h +%{_libdir}/tcc/win32/include/sys/*.h +%{_libdir}/tcc/win32/include/winapi/*.h +%{_libdir}/tcc/win32/lib/32/libtcc1.a +%{_libdir}/tcc/win32/lib/64/libtcc1.a +%{_libdir}/tcc/win32/lib/*.def +%{_mandir}/man1/tcc.1.gz +%{_infodir}/tcc-doc.info.gz +%doc Changelog COPYING README TODO VERSION tcc-doc.html + +%changelog +* Mon Nov 04 2013 Ting-Wei Lan <lantw44@gmail.com> +- Initial packaging |