major source structure and module name changes

This commit is contained in:
soochoi
2006-06-07 16:34:19 +00:00
parent 5c75241b4b
commit 1fa6f07e83
651 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
-------------------------------------------------------------------
Fri Apr 21 17:11:20 MST 2006 - schoi@novell.com
CASAKWALLET (CASA Kwallet) is the KWallet plugin for enabling the
CASA GUI to perform Aggregation and Distribution tasks for managing
KWallet through CASA in KDE desktop.
-------------------------------------------------------------------

View File

@@ -0,0 +1,81 @@
#
# spec file for package CASAKWALLET (Version 1.6.0)
#
# 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
# For debug build, please replace Release to Debug and set debug_opt to --enable-debug
%define cfg Release
%define debug_opt ""
Name: @PACKAGE@
URL: http://www.novell.com/products
BuildRequires: mDNSResponder-devel kdelibs3-devel mono-devel
%define prefix /usr/share/doc/packages
%define bin_prefix /usr
License: LGPL
Group: Productivity/Other
Autoreqprov: on
%define bldno 1.1.1
Version: @VERSION@
Release: 0
Summary: CASA KWALLET Adapter (casakwallet)
Source: %{name}-%{version}.tar.bz2
#Patch: %{name}-%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: CASA-gui >= 1.6.0 mono >= 1.1.13 mono-core >= 1.1.13
PreReq: %fillup_prereq %insserv_prereq
#ExclusiveArch: %ix86 x86_64
#NoSource: 0
%description
CASAKWALLET (CASA Kwallet) is the KWallet plugin for enabling the
CASA GUI to perform Aggregation and Distribution tasks for managing
KWallet through CASA in KDE desktop.
%prep
%setup -q
#%patch
%if %{_lib} == "lib64"
%define binsource bin64
%else
%define binsource bin
%endif
%build
export PATH=.:$PATH:/usr/%_lib/qt3/bin
%if %suse_version > 1000
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector"
%endif
./autogen.sh
make
%install
mkdir -p %{buildroot}%{prefix}
mkdir -p %{buildroot}%{bin_prefix}/%{_lib}
install -m 755 %{_lib}/%{cfg}/libcasakwallet.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
ln -s libcasakwallet.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libcasakwallet.so
ln -s libcasakwallet.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libcasakwallet.so.1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{bin_prefix}/%{_lib}/libcasakwallet.so.%{bldno}
%{bin_prefix}/%{_lib}/libcasakwallet.so
%{bin_prefix}/%{_lib}/libcasakwallet.so.1
%changelog -n CASKWALLET

View File

@@ -0,0 +1,67 @@
#######################################################################
#
# Copyright (C) 2006 Novell, Inc.
#
# 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 2 of the License, or (at your option) any later version.
#
# This program 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, write to the Free
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
#######################################################################
#how do you get the version??
RPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).$(target_cpu).rpm
#SRPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
SRPM_FILE = $(PACKAGE)-$(VERSION)*.src.rpm
SPEC_FILE = CASAKWALLET.spec
.PHONY: package package-clean package-install package-uninstall casa
#all: $(RPM_FILE)
package: $(RPM_FILE)
all clean:
$(RPM_FILE):
cd $(top_srcdir); make dist-bzip2
rm -rf RPM
mkdir RPM
echo %_topdir `pwd`/RPM > $(HOME)/.rpmmacros
mkdir -p RPM/BUILD
mkdir -p RPM/RPMS
mkdir -p RPM/SOURCES
mkdir -p RPM/SPECS
mkdir -p RPM/SRPMS
cp $(SPEC_FILE) RPM/SPECS
cp $(top_srcdir)/$(PACKAGE)-*.tar.bz2 RPM/SOURCES
mv $(top_srcdir)/$(PACKAGE)-$(VERSION).tar.bz2 $(PACKAGE)-$(VERSION).tar.bz2
rpmbuild -ba -v -vv --target=$(target_triplet) RPM/SPECS/$(SPEC_FILE)
cp RPM/RPMS/*/*.rpm .
cp RPM/SRPMS/$(SRPM_FILE) .
package-install: package
su -c "rpm -Uvh $(RPM_FILE)"
package-uninstall:
su -c "rpm -e $(PACKAGE)"
package-clean clean-local:
rm -rf *.rpm RPM *.bz2
distclean-local: package-clean
rm -f Makefile $(SPEC_FILE)
maintainer-clean-local:
rm -f Makefile.in