Search
j0ke.net Open Build Service
>
Projects
>
devel
:
tools
:
building
>
y2pmsh
> y2pmsh.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File y2pmsh.spec of Package y2pmsh
# # spec file for package y2pmsh (Version 2.13.3) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: y2pmsh Version: 2.13.3 Release: 3 License: GPL Group: Development/Tools/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: curl-devel gcc-c++ openslp-devel rpm-devel yast2-packagemanager-devel Summary: Shell interface for the YaST2 packagemanager Source0: y2pmsh-2.13.3.tar.bz2 Source1: libtecla-1.5.0.tar.gz Requires: rsync %description y2pmsh is a shell interface for the YaST2 packagemanager. It's able to - install, update, remove or query packages and selections - display package dependencies - manage installation sources This is a debugging and development tool, not to be used by the average user. Authors: -------- Ludwig Nussel <ludwig.nussel@suse.de> %prep %setup -a 1 %build CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" %if %suse_version < 901 CXXFLAGS="$CXXFLAGS -DSUSE90COMPAT" %endif %if %suse_version < 931 CXXFLAGS="$CXXFLAGS -DSUSE93COMPAT" %endif %if %suse_version < 1001 CXXFLAGS="$CXXFLAGS -DSUSE100COMPAT" %endif cd libtecla %{suse_update_config -f} cd .. export CFLAGS CXXFLAGS ./configure \ --prefix=%{_prefix} \ --infodir=%{_infodir} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} make -C libtecla make %{?jobs:-j%jobs} %install make install DESTDIR="$RPM_BUILD_ROOT" [ -e "%{_prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT" for f in `find $RPM_BUILD_ROOT/%{_prefix}/share/applications/YaST2/ -name "*.desktop"` ; do d=${f##*/} %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop} done %if %suse_version < 901 mkdir -p %{buildroot}%{_docdir}/%{name}/patches-9.0 install -m 644 patches-9.0/*.diff %{buildroot}%{_docdir}/%{name}/patches-9.0 %endif %if %suse_version < 1001 # provided by yast2-packagemanager rm %{buildroot}%{_bindir}/genIS_PLAINcache %endif %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %doc %{_prefix}/share/doc/packages/y2pmsh %{_bindir}/* %dir %{_sysconfdir}/y2pmbuild %dir %{_sysconfdir}/y2pmbuild/dists %dir %{_sysconfdir}/y2pmbuild/files %dir %{_sysconfdir}/y2pmbuild/macros %config(noreplace) %{_sysconfdir}/y2pmbuild/dists/* %config(noreplace) %{_sysconfdir}/y2pmbuild/files/* %config(noreplace) %{_sysconfdir}/y2pmbuild/macros/* %config(noreplace) %{_sysconfdir}/y2pmbuild/dists_common %{_datadir}/y2pmsh %changelog -n y2pmsh * Fri Apr 21 2006 - lnussel@suse.de - y2pmbuild: fix wrong arch in macro files on biarch archs (#168236) - 2.13.3 * Wed Mar 22 2006 - lnussel@suse.de - include genIS_PLAINcache to be able to generate repositories for older distros (#159725) - don't pass --nodeps to rpmbuild if --strictrequires is requested (#159579) - recreate /dev in case devs got uninstalled - 2.13.2 * Thu Feb 09 2006 - lnussel@suse.de - y2pmbuild: use mls' spec file parser to be able to support conditional BuildRequires - y2pmbuild: create minimum set of devices in /dev - y2pmbuild: add 10.1 config (#146018) - add additional libs so y2pmsh can be statically linked - fix build on 10.0 - 2.13.1 * Fri Oct 14 2005 - ma@suse.de - Adapt to new packagemanager callbacks. - 2.13.0 * Mon Sep 05 2005 - lnussel@suse.de - y2pmbuild: add --baselibs and --extra-packs to stay in sync with 'build' (#115318) - 2.12.4 * Wed Aug 31 2005 - lnussel@suse.de - y2pmbuild: copy extra files before running SuSEconfig (#114362) * Fri Aug 12 2005 - lnussel@suse.de - y2pmbuild: also generate YUM source in repository - y2pmbuild: don't add default set of package if aaa_base is already in build requires. Prevents sendmail/postfix conflict when building new spec on old distro. - remove package with install command if package name is prefixed with a dash - 2.12.2 * Mon Aug 08 2005 - lnussel@suse.de - y2pmbuild: fix uninitialized variable (#102520) - y2pmbuild: add config files for 10.0 and 8.1 (need to stop nscd before building for 8.1) - add support for autorefresh sources - 2.12.1 * Wed Jul 20 2005 - lnussel@suse.de - add libxml2 to neededforbuild - fix compiler warnings - y2pmbuild: add support for signing packages - y2pmbuild: pass through --with, --without and --define options - y2pmbuild: fix building multiple spec files in a row - y2pmbuild: rename copy_files -> extra_copy, use rsync - 2.12.0 * Fri Jul 01 2005 - lnussel@suse.de - y2pmbuild: use common config file for all distros - y2pmbuild: copy additional files like rpm macros to buildroot - new variable build::strictrequires used by y2pmbuild --strictrequires - 2.11.8 * Wed Mar 30 2005 - lnussel@suse.de - don't use cacheToRamdisk(false) (#74618) - 2.11.7 * Mon Mar 07 2005 - lnussel@suse.de - add y2pmbuild config file for 9.3 (#71026) - don't mount proc ro as it either doesn't help or harms (#71081) - run distrocheck after startup to show broken packages - also show number of unchanged packages in summary - 2.11.6 * Tue Dec 14 2004 - lnussel@suse.de - use /proc/meminfo for calculating the memory limit - make tab completion for packages somewhat context sensitive - 2.11.5 * Mon Dec 13 2004 - lnussel@suse.de - install ccache wrapper only for installed compilers - set memory ulimit in y2pmbuild - 2.11.4 * Thu Nov 04 2004 - lnussel@suse.de - fix usage of icecream in combination with ccache in y2pmbuild - add --target and --stage options to y2pmbuild - 2.11.3 * Thu Oct 14 2004 - lnussel@suse.de - add icecream support to y2pmbuild - add --help parameter to y2pmbuild - 2.11.2 * Wed Oct 13 2004 - lnussel@suse.de - add sourceorder command for setting the installation order for instalation sources - 2.11.1 * Tue Oct 12 2004 - lnussel@suse.de - use absolute path to useradd (#46580) - do not overwrite $defaultpackages (#46580) * Wed Sep 29 2004 - lnussel@suse.de - add --no-copy-repo parameter to y2pmbuild - add some options to 'state' function for finer grained filtering - add new function 'why' which shows the solve results for specified packages - fix saving of source rank when updating installation sources - fix y2pmbuild using build-root. instead of build-root.root (#45977) - 2.10.1 * Fri Sep 10 2004 - lnussel@suse.de - move class for painting progress dots in separate file - fix prompt in non-interactive mode - add options to only show dependencies to 'show' function - add "top ten" feature to 'depstats' - add 9.2 as distribution for y2pmbuild - 2.10.0 * Fri May 28 2004 - lnussel@suse.de - implemented view/install/remove products - fix instlog - show appl and auto state differently - change some progress callbacks * Thu May 06 2004 - lnussel@suse.de - set instlog to /var/log/YaST2/y2logRPM by default - add tab expansion and wildcards for selection commands - allow to install specific candiates by specifying the full version - fix remove percentage counter - fix state -c - show total percentage of packages installed/removed * Thu Apr 15 2004 - lnussel@suse.de - run init immediately unless --no-init is specified on command line - add wildcard matching using fnmatch (e.g. "install k*devel") - install function only installs newer packages by default, -f parameter can be used to force downgrades - allow set and reset of taboo state - add quit and exit functions for mmj - build dependency graph in distrocheck for future use - properly switch root directory even if target was already initialized - 2.9.4 * Mon Apr 05 2004 - lnussel@suse.de - support nodigest and nosignature flags - add 'distrocheck' command to find unsatisfied dependencies among all candidates - 2.9.3 * Mon Mar 29 2004 - lnussel@suse.de - fix some typos, warnings, uninitialized variables - fix usedforbuild in y2pmbuild - add 9.1 link for y2pmbuild - print correct number of dots also when removing packages - 2.9.2 * Thu Mar 25 2004 - lnussel@suse.de - new commands whatconflictswith, allconflicts, depstats, isc - y2pmbuild: support Buildrequires, use rpmbuild --nodeps, install architecture independend config files per default - fit progress dots into terminal width - display download progress - 2.9.1 * Fri Mar 05 2004 - lnussel@suse.de - refuse build root not owned by root - use yast2 devtools for package generation - fix build with new packagemanger includes * Tue Mar 02 2004 - lnussel@suse.de - tab completion for package names - fall back to shellmode if a command specified on the command line failed - don't regenerate repository at start of build in y2pmbuild - add whatprovides function * Sat Feb 28 2004 - ro@suse.de - added openslp to neededforbuild * Sat Feb 14 2004 - lnussel@suse.de - rename showproducts -> products - fix whatdependson function to honor self-provides - add depends function * Fri Jan 30 2004 - lnussel@suse.de - set YAST_IS_RUNNING properly * Thu Jan 29 2004 - lnussel@suse.de - initial package