From d8b52b9421302e62e3db22368fc191a5879b89d6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 24 Jun 2015 06:54:23 +0200 Subject: scl-utils: import from rawhide --- scl-utils.spec | 310 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 310 insertions(+) create mode 100644 scl-utils.spec (limited to 'scl-utils.spec') diff --git a/scl-utils.spec b/scl-utils.spec new file mode 100644 index 0000000..47bc8f2 --- /dev/null +++ b/scl-utils.spec @@ -0,0 +1,310 @@ +Name: scl-utils +Epoch: 1 +Version: 2.0.1 +Release: 2%{dist} +Summary: Utilities for alternative packaging + +License: GPLv2+ +Group: Applications/File +URL: https://fedorahosted.org/SoftwareCollections/ +Source0: https://fedorahosted.org/released/scl-utils/%{name}-%{version}.tar.bz2 +Source1: macros.scl-filesystem +Buildrequires: cmake +Buildrequires: rpm-devel +Requires: environment-modules + +%description +Run-time utility for alternative packaging. + +%package build +Summary: RPM build macros for alternative packaging +Group: Applications/File +Requires: iso-codes +Requires: redhat-rpm-config + +%description build +Essential RPM build macros for alternative packaging. + +%prep +%autosetup + +%build +%cmake +make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} +cat %SOURCE1 >> %{buildroot}%{_sysconfdir}/rpm/macros.scl +mkdir -p %{buildroot}%{_sysconfdir}/scl +cd %{buildroot}%{_sysconfdir}/scl +mkdir modulefiles +mkdir prefixes +ln -s prefixes conf + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%dir %{_sysconfdir}/scl/modulefiles +%dir %{_sysconfdir}/scl/prefixes +%{_sysconfdir}/scl/conf +%config %{_sysconfdir}/bash_completion.d/scl-completion.bash +%config %{_sysconfdir}/profile.d/scl-init.sh +%{_bindir}/scl +%{_bindir}/scl_enabled +%{_bindir}/scl_source +%{_mandir}/man1/scl.1.gz +%doc LICENSE + +%files build +%defattr(-,root,root,-) +%{_sysconfdir}/rpm/macros.scl +%{_rpmconfigdir}/scldeps.sh +%{_rpmconfigdir}/fileattrs/scl.attr +%{_rpmconfigdir}/fileattrs/sclbuild.attr +%{_rpmconfigdir}/brp-scl-compress +%{_rpmconfigdir}/brp-scl-python-bytecompile + +%changelog +* Wed Jan 21 2015 Lubos Kardos - 1:2.0.1-2 +- added owning of module file + +* Tue Jan 20 2015 Lubos Kardos - 1:2.0.1-1 +- rebase to scl-utils-2.0.1 +- escaped macros in changelog +- added %%config for files in /etc + +* Fri Jan 09 2015 Jan Zeleny - 1:2.0-2 +- corrected URL of Source0 + +* Thu Jan 08 2015 Lubos Kardos - 1:2.0-1 +- rebase to scl-utils-2.0 + +* Fri Dec 12 2014 Jan Zeleny - 20140815-4 +- propagate the %%nfsmountable into -build subpackage content +- use vendor prefix in the names of the packages if required + +* Fri Dec 12 2014 Jan Zeleny - 20140815-3 +- add support for register/deregister scriptlets +- add support %%nfsmountable macro +- fix some paths in %%scl_files and %%scl_install + +* Wed Aug 27 2014 Jan Zeleny - 20140815-2 +- fixed the paths in /etc/opt and /var/opt (missing /scls/) +- adjust the spec so all patches are automatically applied + +* Tue Aug 26 2014 Jan Zeleny - 20140815-1 +- rebased to 20140815 +- switched to %%autosetup in %%prep + +* Mon Aug 18 2014 Fedora Release Engineering - 20140127-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 20140127-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 07 2014 Albert Uchytil - 20140127-5 +- changed __os_install_post script paths to keep up with rpm (#1093074) + +* Fri Apr 11 2014 Albert Uchytil - 20140127-4 +- reverted "-f filelist" modification +- added %%scl_vendor macro to macros.%%{scl}-config file (#1084095) +- %%scl_prefix now accepts a parameter to improve + inter-collection dependencies (#1028953) +- modified the behavior of debuginfo generation process +- changed command description in scl man pages +- added conditional dependencies for main metapackage + +* Tue Mar 18 2014 Albert Uchytil - 20140127-3 +- added scl-runtime requirement for all subpackages + +* Wed Mar 12 2014 Albert Uchytil - 20140127-2 +- %%scl_files body moved to %%scl_install +- the "filesystem" file renamed back to "filelist" +- add automatic Provide: scl-package(%%scl) to all scl-related packages (#105290) + +* Mon Jan 27 2014 Jan Zeleny - 20140127-1 +- don't exclude provides from SCLs (#1056183) +- don't generate scl-package(%%scl) in macros.scl, it's already + handled in dependency generator +- add automatic Requires: %%scl_runtime to every SCL package (#1054711) + +* Wed Jan 08 2014 Jan Zeleny - 20140108-1 +- split _scl_prefix macro in two parts: scl_basedir and scl_vendor (#985233) +- check if temp file is created (#1032666) +- don't split command arguments containing white space (#1032666) +- rename some attr rpm macros to stop confusing rpm (#1023625) + +* Thu Oct 17 2013 Jan Zeleny - 20131017-1 +- fixed one issue in scl_source script + +* Wed Oct 16 2013 Jan Zeleny - 20131016-1 +- fixed the -- separator behavior + +* Wed Oct 09 2013 Jan Zeleny - 20131015-1 +- Correct the %%_sharedstatedir and %%_root_sharedstatedir macros +- Don't install /%%{_lib} when not necessary +- Add LICENSE file +- Add scl_source script +- Don't change directory in %%scl_install +- Don't generate provides from sonames in the SCL root +- Add the SCL prefix to virtual provides of SCL-based packages +- Implement "--" as a command separator +- Removed binary file scl from git tracking +- Fixed typo +- Added example wrapper script. + +* Mon Aug 26 2013 Jan Zeleny - 20130529-3 +- updated the file list to handle /etc/scl/conf correctly + +* Sun Aug 04 2013 Fedora Release Engineering - 20130529-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed May 29 2013 Jan Zeleny - 20130529-1 +- changed the upstream tarball location +- update to 20130529 + +* Fri Feb 01 2013 Jindrich Novy 20121110-2 +- add build compatibility fixes + +* Wed Dec 19 2012 Jindrich Novy 20121110-1 +- introduce sclbuild utility +- fix exporting of env. variables when mutiple collections are + enabled at the same time +- better bash completion +- fix changelog + +* Thu Sep 27 2012 Jindrich Novy 20120927-1 +- update to 20120927 +- better BUILDROOT processing +- bash completition for scl command +- debuginfo package now has SCL-specific provide +- non-SCL builds are without warning in build log +- improved help + +* Thu Aug 09 2012 Jindrich Novy 20120809-1 +- update to 20120809 +- processes the SCL buildroot correctly now + +* Thu Aug 02 2012 Jindrich Novy 20120802-1 +- update to 20120802 + +* Tue Jul 31 2012 Jindrich Novy 20120731-1 +- add functionality that allows to list all packages in a collection +- add dependency generators + +* Sat Jul 21 2012 Fedora Release Engineering - 20120613-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 13 2012 Jindrich Novy 20120613-1 +- Requires: iso-codes for basic filesystem in build subpackage +- add scl_require_package() macro to depend on a particular package + from the collection +- fix filesystem file list +- tighten runtime package dependency via scl_require() +- fix _localstatedir to point to the correct path according to redhat-rpm-config +- thanks to Bohuslav Kabrda for feature proposals/QA/fixes + +* Thu May 03 2012 Jindrich Novy 20120503-1 +- avoid doublefree corruption when reading commands from stdin + +* Sun Apr 22 2012 Jindrich Novy 20120423-1 +- keep filesystem macros out of the main sources as + it is distro-dependent + +* Fri Apr 13 2012 Jindrich Novy 20120413-1 +- filesystem ownership by meta package +- add man page +- fix memory leak when parsing commands from stdin +- use more descriptive error message if /etc/prefixes is missing + +* Wed Feb 29 2012 Jindrich Novy 20120229-1 +- do not prepend scl_* prefix to package names +- unify package naming to -package-version +- add scl --list functionality to list available SCLs + +* Thu Feb 09 2012 Jindrich Novy 20120209-1 +- fix minor bugs (#788194) + - clear temp files + - handle commands from stdin properly + - run command even if ran as "scl enable SCL command" from already + enabled SCL + +* Wed Jan 25 2012 Jindrich Novy 20120125-1 +- remove dsc macros +- trigger scl-utils-build BR inclusion while using scl macros + +* Wed Jan 11 2012 Jindrich Novy 20120111-1 +- add "dsc" alias to "scl" utility + +* Wed Dec 14 2011 Jindrich Novy 20111214-1 +- initial review fixes (#767556) + +* Fri Dec 9 2011 Jindrich Novy 20111209-1 +- allow to use dsc_* macros and dsc* package naming + +* Wed Nov 16 2011 Jindrich Novy 20111116-1 +- package is now named scl-utils + +* Mon Oct 17 2011 Jindrich Novy 20111017-1 +- initial packaging for upstream + +* Wed Sep 21 2011 Jindrich Novy 0.1-14 +- define %%_defaultdocdir to properly relocate docs into + a stack +- document a way how to pass command to stack via stdin + +* Wed Jun 22 2011 Jindrich Novy 0.1-13 +- fix Stack meta config configuration + +* Fri Jun 17 2011 Jindrich Novy 0.1-12 +- use own Stack path configuration mechanism + +* Fri Jun 17 2011 Jindrich Novy 0.1-11 +- avoid redefinition of %%_root* macros by multiple + occurence of %%stack_package +- make the Stack root path configurable + +* Tue Jun 14 2011 Jindrich Novy 0.1-10 +- stack utility allows to read command from stdin + +* Mon Jun 13 2011 Jindrich Novy 0.1-9 +- introduce stack enablement tracking +- introduce "stack_enabled" helper utility to let a stack + application figure out which stacks are actually enabled +- disallow running stacks recursively + +* Mon Jun 13 2011 Jindrich Novy 0.1-8 +- stack utility returns executed commands' exit value + +* Fri Jun 10 2011 Jindrich Novy 0.1-7 +- fix possible segfault in the stack utility + +* Fri Jun 10 2011 Jindrich Novy 0.1-6 +- %%stack_name: initial part of stack prefix and name of + meta package providing scriptlets +- %%stack_prefix: stack namespacing part to be prepended to + original non-stack package name, can be used for Provides + namespacing as well +- %%stack_runtime: run-time package name providing scriptlets +- %%stack_require: macro to define dependency to other stacks + +* Thu Jun 09 2011 Jindrich Novy 0.1-5 +- split the package into two - runtime and build part +- decrease verbosity when enabling a stack + +* Wed Jun 08 2011 Jindrich Novy 0.1-4 +- prepend stack package with stack_* to prevent namespace + conflicts with core packages + +* Thu Jun 02 2011 Jindrich Novy 0.1-3 +- introduce metapackage concept + +* Wed Jun 01 2011 Jindrich Novy 0.1-2 +- modify macros so that they don't change preamble tags + +* Sun May 08 2011 Jindrich Novy 0.1-1 +- initial packaging -- cgit