added a minimalistic package for the build service
authorMartin Vidner <mvidner@suse.cz>
Tue, 4 Jul 2006 07:47:56 +0000 (07:47 +0000)
committerMartin Vidner <mvidner@suse.cz>
Tue, 4 Jul 2006 07:47:56 +0000 (07:47 +0000)
devel/devel.mvidner/README [new file with mode: 0644]
devel/devel.mvidner/installation_sources.spec [new file with mode: 0644]

diff --git a/devel/devel.mvidner/README b/devel/devel.mvidner/README
new file mode 100644 (file)
index 0000000..f01389f
--- /dev/null
@@ -0,0 +1,19 @@
+installation_sources was a part of yast2-packagemanager.rpm but
+unfortunately was not ported to libzypp in time. This package
+provides the port. Libzypp may integrate it (and obsolete this
+package) in the future.
+
+Usage:
+  installation_sources [options] -a url   Add source at given URL.
+    -n name Name the source.
+    -e  Enable source. This is the default.
+    -d  Disable source.
+    -f  Autorefresh source.
+    -Y  Answer Yes to all checksum and signature questions.
+  installation_sources -s       Show all available sources.
+
+--
+Martin Vidner, YaST developer
+http://en.opensuse.org/User:Mvidner
+
+
diff --git a/devel/devel.mvidner/installation_sources.spec b/devel/devel.mvidner/installation_sources.spec
new file mode 100644 (file)
index 0000000..661788b
--- /dev/null
@@ -0,0 +1,58 @@
+#
+# spec file for package installation_sources
+#
+# 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:           installation_sources
+BuildRequires:  libzypp-devel
+License:        GPL
+Group:          System/Packages
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Autoreqprov:    on
+Version:        0.0.1
+Summary:        Command Line Tool for libzypp Installation Sources
+Release:        0
+Source:         installation_sources.cc
+Source1:       README
+Prefix:         /usr
+
+%description
+Command Line Tool for libzypp Installation Sources.
+Resurrection of a program that was in yast2-packagemanager.rpm.
+
+Authors:
+--------
+    Martin Vidner <mvidner@suse.cz>
+
+%prep
+%setup -c -T
+cp %SOURCE0 %SOURCE1 .
+
+%build
+g++ -o installation_sources installation_sources.cc -lzypp
+
+%install
+install -d ${RPM_BUILD_ROOT}%{prefix}/bin
+install installation_sources ${RPM_BUILD_ROOT}%{prefix}/bin
+
+%post
+
+%postun
+
+%clean
+
+%files
+%defattr(-,root,root)
+%{prefix}/bin/installation_sources
+%doc README
+
+%changelog
+* Tue Jul 04 2006 - mvidner@suse.cz
+- Released in build.opensuse.org