diff options
author | gregory guy <[email protected]> | 2019-12-30 14:08:45 +0100 |
---|---|---|
committer | gregory guy <[email protected]> | 2019-12-31 14:01:22 +0100 |
commit | 6ca05fe5e859a5f276453085fe4d89e662741a54 (patch) | |
tree | 2255926d9c5145455225aa1ec4ee606d4726a62c /specs/knutclient.spec.fedora.5 | |
parent | c70d0dd138d856266ad3990c4d7cf6c0dd0a43c4 (diff) | |
download | knutclient-6ca05fe5e859a5f276453085fe4d89e662741a54.tar.gz knutclient-6ca05fe5e859a5f276453085fe4d89e662741a54.zip |
Drop automake build support.
Add basic build instructions to the INSTALL file.
Remove empty files NEWS and TODO.
Remove "specs" folder as well as several shell scripts
(Deb, Fedora, Mandriva...)
Rework of the REAME file and the help page.
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'specs/knutclient.spec.fedora.5')
-rw-r--r-- | specs/knutclient.spec.fedora.5 | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/specs/knutclient.spec.fedora.5 b/specs/knutclient.spec.fedora.5 deleted file mode 100644 index 35a89e9..0000000 --- a/specs/knutclient.spec.fedora.5 +++ /dev/null @@ -1,56 +0,0 @@ -Summary: NUT GUI Interface -Name: knutclient -Version: 0.9.5 -Release: 1 -License: GPL -Vendor: Daniel Prynych <[email protected]> -Url: http://www.knut.noveradsl.cz/knutclient -Packager: Daniel Prynych <[email protected]> -Group: Applications/System -Prefix: /usr -Source: knutclient-0.9.5.tar.gz -BuildRoot: %{_tmppath}/build-root-%{name} - -%description -Knutclient is a GUI interface for UPS system NUT - -%prep -%setup -CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} $LOCALFLAGS - -%build -# Setup for parallel builds -numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :` -if [ "$numprocs" = "0" ]; then - numprocs=1 -fi - -make -j$numprocs - -%install -make install-strip DESTDIR=$RPM_BUILD_ROOT - -cd $RPM_BUILD_ROOT - -#mkdir -p usr/share/applications/ -#cp -a usr/share/applnk/Applications/knutclient.desktop usr/share/applications/ -#rm -rf usr/share/applnk - -# as defattr point to root,root this will not work -#chown desktop.desktop kde-knutclient.desktop - -cd $RPM_BUILD_ROOT - -find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} -find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} -find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} - -%clean -rm -rf $RPM_BUILD_ROOT/* -rm -rf $RPM_BUILD_DIR/%{name} -rm -rf ../file.list.%{name} - - -%files -f ../file.list.%{name} -%defattr(-,root,root,0755) - |