Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[packaging] Remove old spectacle cruft. Fixes JB#27289
We don't use spectacle anymore.

Remove the yaml-file and associated cruft.
  • Loading branch information
spiiroin committed Mar 15, 2015
1 parent c1ea883 commit 747a6c7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 110 deletions.
39 changes: 0 additions & 39 deletions rpm/profiled.spec
@@ -1,13 +1,4 @@
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.27
#

Name: profiled

# >> macros
# << macros

Summary: Profile daemon, manages user settings
Version: 1.0.3
Release: 1
Expand All @@ -34,7 +25,6 @@ be changed using C language API implemented in libprofile.
Changes to values are broadcast as D-Bus signals so that
active clients can be avare of changes without polling.


%package doc
Summary: API documentation for libprofile
Group: Documentation
Expand All @@ -45,7 +35,6 @@ Doxygen generated files documenting the C language API used by
the client applications and the D-Bus API used by libprofile
for communication with profiled.


%package -n profileclient
Summary: Command line test tool for profiled
Group: Development/Tools
Expand All @@ -55,7 +44,6 @@ Requires: %{name} = %{version}-%{release}
The profileclient tool can be used to query/change
profiles and profile values.


%package settings-default
Summary: Default settings for profiled
Group: System/Libraries
Expand All @@ -65,7 +53,6 @@ Provides: profiled-settings
%description settings-default
Default settings for profiled.


%package devel
Summary: Development files for libprofile
Group: Development/Libraries
Expand All @@ -75,74 +62,48 @@ Requires: %{name} = %{version}-%{release}
C language headers for building client applications using
profiled library.


%prep
%setup -q -n %{name}-%{version}

# >> setup
# << setup

%build
# >> build pre
make %{_smp_mflags}
# << build pre



# >> build post

# << build post

%install
rm -rf %{buildroot}
# >> install pre
# << install pre

# >> install post
make ROOT=%{buildroot} install-profiled
make ROOT=%{buildroot} install-libprofile
make ROOT=%{buildroot} install-libprofile-dev
make ROOT=%{buildroot} install-libprofile-doc
make ROOT=%{buildroot} install-profileclient
rm %{buildroot}/%{_libdir}/libprofile.a
# << install post

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
# >> files
%dir %{_sysconfdir}/profiled
%{_bindir}/%{name}
%{_libdir}/libprofile.so.*
%{_datadir}/dbus-1/services/profiled.service
# << files

%files doc
%defattr(-,root,root,-)
# >> files doc
%{_docdir}/libprofile-doc/html/*
%{_mandir}/man3/*
# << files doc

%files -n profileclient
%defattr(-,root,root,-)
# >> files profileclient
%{_bindir}/profileclient
# << files profileclient

%files settings-default
%defattr(-,root,root,-)
# >> files settings-default
%{_sysconfdir}/profiled/10.meego_default.ini
# << files settings-default

%files devel
%defattr(-,root,root,-)
# >> files devel
%{_includedir}/%{name}/*
%{_libdir}/libprofile.so
%{_libdir}/pkgconfig/profile.pc
# << files devel
61 changes: 0 additions & 61 deletions rpm/profiled.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions verify_version
Expand Up @@ -16,16 +16,6 @@ if [ "$RPM_VERS" != "$DEB_VERS" ]; then
RES=1
fi

# If available, rpm/profiled.yaml should agree with debian/changelog
YAML_PATH=${RPM_SOURCE_DIR:-rpm}/${RPM_PACKAGE_NAME:-profiled}.yaml
if [ -f $YAML_PATH ]; then
YAML_VERS=$(grep '^Version:' $YAML_PATH |sed -e 's/^.*:[[:space:]]*//')
if [ "$YAML_VERS" != "$DEB_VERS" ]; then
echo >&2 "$DEB_PATH=$DEB_VERS vs $YAML_PATH=$YAML_VERS"
RES=1
fi
fi

if [ $RES != 0 ]; then
echo >&2 "Conflicting package versions"
fi
Expand Down

0 comments on commit 747a6c7

Please sign in to comment.